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 _FWL_CHECKBOXTP_H | 7 #ifndef _FWL_CHECKBOXTP_H |
8 #define _FWL_CHECKBOXTP_H | 8 #define _FWL_CHECKBOXTP_H |
9 class CFWL_WidgetTP; | 9 class CFWL_WidgetTP; |
10 class CFWL_CheckBoxTP; | 10 class CFWL_CheckBoxTP; |
(...skipping 14 matching lines...) Expand all Loading... |
25 void DrawSignNeutral(CFX_Graphics *pGraphics, const CFX_RectF *pRtSig
n, CFX_Matrix *pMatrix = NULL); | 25 void DrawSignNeutral(CFX_Graphics *pGraphics, const CFX_RectF *pRtSig
n, CFX_Matrix *pMatrix = NULL); |
26 void DrawSignCheck(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 26 void DrawSignCheck(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
27 void DrawSignCircle(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign
, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 27 void DrawSignCircle(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign
, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
28 void DrawSignCross(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 28 void DrawSignCross(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
29 void DrawSignDiamond(CFX_Graphics *pGraphics, const CFX_RectF *pRtSig
n, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 29 void DrawSignDiamond(CFX_Graphics *pGraphics, const CFX_RectF *pRtSig
n, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
30 void DrawSignSquare(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign
, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 30 void DrawSignSquare(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign
, FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
31 void DrawSignStar(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); | 31 void DrawSignStar(CFX_Graphics *pGraphics, const CFX_RectF *pRtSign,
FX_ARGB argbFill, CFX_Matrix *pMatrix = NULL); |
32 void DrawSignBorder(IFWL_Widget *pWidget, CFX_Graphics *pGraphics, co
nst CFX_RectF *pRtBox, FX_BOOL bDisable = FALSE, CFX_Matrix *pMatrix = NULL); | 32 void DrawSignBorder(IFWL_Widget *pWidget, CFX_Graphics *pGraphics, co
nst CFX_RectF *pRtBox, FX_BOOL bDisable = FALSE, CFX_Matrix *pMatrix = NULL); |
33 void SetThemeData(FX_DWORD dwID); | 33 void SetThemeData(FX_DWORD dwID); |
34 void initCheckPath(FX_FLOAT fCheckLen); | 34 void initCheckPath(FX_FLOAT fCheckLen); |
35 struct CKBThemeData : public CFX_Object { | 35 struct CKBThemeData { |
36 public: | |
37 FX_ARGB clrBoxBk[13][2]; | 36 FX_ARGB clrBoxBk[13][2]; |
38 FX_ARGB clrSignBorderNormal; | 37 FX_ARGB clrSignBorderNormal; |
39 FX_ARGB clrSignBorderDisable; | 38 FX_ARGB clrSignBorderDisable; |
40 FX_ARGB clrSignCheck; | 39 FX_ARGB clrSignCheck; |
41 FX_ARGB clrSignNeutral; | 40 FX_ARGB clrSignNeutral; |
42 FX_ARGB clrSignNeutralNormal; | 41 FX_ARGB clrSignNeutralNormal; |
43 FX_ARGB clrSignNeutralHover; | 42 FX_ARGB clrSignNeutralHover; |
44 FX_ARGB clrSignNeutralPressed; | 43 FX_ARGB clrSignNeutralPressed; |
45 } *m_pThemeData; | 44 } *m_pThemeData; |
46 CFX_Path *m_pCheckPath; | 45 CFX_Path *m_pCheckPath; |
47 }; | 46 }; |
48 #endif | 47 #endif |
OLD | NEW |