| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| 9 | 9 |
| 10 #include "PWL_Wnd.h" | 10 #include "PWL_Wnd.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #define PWL_ICONTYPE_UNKNOWN -1 | 58 #define PWL_ICONTYPE_UNKNOWN -1 |
| 59 | 59 |
| 60 // checkbox & radiobutton style | 60 // checkbox & radiobutton style |
| 61 #define PCS_CHECK 0 | 61 #define PCS_CHECK 0 |
| 62 #define PCS_CIRCLE 1 | 62 #define PCS_CIRCLE 1 |
| 63 #define PCS_CROSS 2 | 63 #define PCS_CROSS 2 |
| 64 #define PCS_DIAMOND 3 | 64 #define PCS_DIAMOND 3 |
| 65 #define PCS_SQUARE 4 | 65 #define PCS_SQUARE 4 |
| 66 #define PCS_STAR 5 | 66 #define PCS_STAR 5 |
| 67 | 67 |
| 68 #define PWL_PI 3.14159265358979f | |
| 69 #define PWL_BEZIER 0.5522847498308f | |
| 70 | |
| 71 // pushbutton layout style | 68 // pushbutton layout style |
| 72 #define PPBL_LABEL 0 | 69 #define PPBL_LABEL 0 |
| 73 #define PPBL_ICON 1 | 70 #define PPBL_ICON 1 |
| 74 #define PPBL_ICONTOPLABELBOTTOM 2 | 71 #define PPBL_ICONTOPLABELBOTTOM 2 |
| 75 #define PPBL_LABELTOPICONBOTTOM 3 | 72 #define PPBL_LABELTOPICONBOTTOM 3 |
| 76 #define PPBL_ICONLEFTLABELRIGHT 4 | 73 #define PPBL_ICONLEFTLABELRIGHT 4 |
| 77 #define PPBL_LABELLEFTICONRIGHT 5 | 74 #define PPBL_LABELLEFTICONRIGHT 5 |
| 78 #define PPBL_LABELOVERICON 6 | 75 #define PPBL_LABELOVERICON 6 |
| 79 | 76 |
| 80 class CPWL_Point : public CPDF_Point { | 77 class CPWL_Point : public CPDF_Point { |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 CFX_PathData& path, | 400 CFX_PathData& path, |
| 404 const CPDF_Rect& crBBox, | 401 const CPDF_Rect& crBBox, |
| 405 const PWL_PATH_TYPE type); | 402 const PWL_PATH_TYPE type); |
| 406 static void GetGraphics_Foxit(CFX_ByteString& sPathData, | 403 static void GetGraphics_Foxit(CFX_ByteString& sPathData, |
| 407 CFX_PathData& path, | 404 CFX_PathData& path, |
| 408 const CPDF_Rect& crBBox, | 405 const CPDF_Rect& crBBox, |
| 409 const PWL_PATH_TYPE type); | 406 const PWL_PATH_TYPE type); |
| 410 }; | 407 }; |
| 411 | 408 |
| 412 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ | 409 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_ |
| OLD | NEW |