| 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_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ |
| 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" | 10 #include "xfa/src/fwl/core/fwl_widgetimp.h" |
| 11 | 11 |
| 12 #define FWL_CLASS_SpinButton L"FWL_SPINBUTTON" | 12 #define FWL_CLASS_SpinButton L"FWL_SPINBUTTON" |
| 13 #define FWL_CLASSHASH_SpinButton 3793043646 | 13 #define FWL_CLASSHASH_SpinButton 3793043646 |
| 14 #define FWL_STYLEEXE_SPB_Vert (1L << 0) | 14 #define FWL_STYLEEXE_SPB_Vert (1L << 0) |
| 15 #define FWL_PART_SPB_Border 1 | 15 #define FWL_PART_SPB_Border 1 |
| 16 #define FWL_PART_SPB_Edge 2 | 16 #define FWL_PART_SPB_Edge 2 |
| 17 #define FWL_PART_SPB_UpButton 3 | 17 #define FWL_PART_SPB_UpButton 3 |
| 18 #define FWL_PART_SPB_DownButton 4 | 18 #define FWL_PART_SPB_DownButton 4 |
| 19 #define FWL_PARTSTATE_SPB_Normal (0L << 0) | 19 #define FWL_PARTSTATE_SPB_Normal (0L << 0) |
| 20 #define FWL_PARTSTATE_SPB_Hovered (1L << 0) | 20 #define FWL_PARTSTATE_SPB_Hovered (1L << 0) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 IFWL_Widget* pOuter); | 34 IFWL_Widget* pOuter); |
| 35 | 35 |
| 36 FWL_ERR EnableButton(FX_BOOL bEnable, FX_BOOL bUp = TRUE); | 36 FWL_ERR EnableButton(FX_BOOL bEnable, FX_BOOL bUp = TRUE); |
| 37 FX_BOOL IsButtonEnable(FX_BOOL bUp = TRUE); | 37 FX_BOOL IsButtonEnable(FX_BOOL bUp = TRUE); |
| 38 | 38 |
| 39 protected: | 39 protected: |
| 40 IFWL_SpinButton(); | 40 IFWL_SpinButton(); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ | 43 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SPINBUTTON_H_ |
| OLD | NEW |