Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: xfa/include/fwl/theme/checkboxtp.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/lightwidget/widget.h ('k') | xfa/include/fwl/theme/datetimepickertp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/widget.h ('k') | xfa/include/fwl/theme/datetimepickertp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698