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 XFA_SRC_FXFA_APP_XFA_FFPUSHBUTTON_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFPUSHBUTTON_H_ |
8 #define XFA_SRC_FXFA_APP_XFA_FFPUSHBUTTON_H_ | 8 #define XFA_FXFA_APP_XFA_FFPUSHBUTTON_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/app/xfa_fffield.h" | 10 #include "xfa/fxfa/app/xfa_fffield.h" |
11 | 11 |
12 #define XFA_FWL_PSBSTYLEEXT_HiliteNone (0L << 0) | 12 #define XFA_FWL_PSBSTYLEEXT_HiliteNone (0L << 0) |
13 #define XFA_FWL_PSBSTYLEEXT_HiliteInverted (1L << 0) | 13 #define XFA_FWL_PSBSTYLEEXT_HiliteInverted (1L << 0) |
14 #define XFA_FWL_PSBSTYLEEXT_HilitePush (2L << 0) | 14 #define XFA_FWL_PSBSTYLEEXT_HilitePush (2L << 0) |
15 #define XFA_FWL_PSBSTYLEEXT_HiliteOutLine (4L << 0) | 15 #define XFA_FWL_PSBSTYLEEXT_HiliteOutLine (4L << 0) |
16 | 16 |
17 class CXFA_TextProvider; | 17 class CXFA_TextProvider; |
18 | 18 |
19 class CXFA_FFPushButton : public CXFA_FFField { | 19 class CXFA_FFPushButton : public CXFA_FFField { |
20 public: | 20 public: |
(...skipping 19 matching lines...) Expand all Loading... |
40 FX_FLOAT GetLineWidth(); | 40 FX_FLOAT GetLineWidth(); |
41 FX_ARGB GetLineColor(); | 41 FX_ARGB GetLineColor(); |
42 FX_ARGB GetFillColor(); | 42 FX_ARGB GetFillColor(); |
43 CXFA_TextLayout* m_pRolloverTextLayout; | 43 CXFA_TextLayout* m_pRolloverTextLayout; |
44 CXFA_TextLayout* m_pDownTextLayout; | 44 CXFA_TextLayout* m_pDownTextLayout; |
45 CXFA_TextProvider* m_pDownProvider; | 45 CXFA_TextProvider* m_pDownProvider; |
46 CXFA_TextProvider* m_pRollProvider; | 46 CXFA_TextProvider* m_pRollProvider; |
47 IFWL_WidgetDelegate* m_pOldDelegate; | 47 IFWL_WidgetDelegate* m_pOldDelegate; |
48 }; | 48 }; |
49 | 49 |
50 #endif // XFA_SRC_FXFA_APP_XFA_FFPUSHBUTTON_H_ | 50 #endif // XFA_FXFA_APP_XFA_FFPUSHBUTTON_H_ |
OLD | NEW |