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_SCROLLBAR_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ |
8 #define _FWL_SCROLLBAR_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ |
| 9 |
9 class CFWL_WidgetImpProperties; | 10 class CFWL_WidgetImpProperties; |
10 class IFWL_Widget; | 11 class IFWL_Widget; |
11 class IFWL_ScrollBarDP; | 12 class IFWL_ScrollBarDP; |
12 class IFWL_ScrollBar; | 13 class IFWL_ScrollBar; |
13 #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR" | 14 #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR" |
14 #define FWL_CLASSHASH_ScrollBar 2826584844 | 15 #define FWL_CLASSHASH_ScrollBar 2826584844 |
15 #define FWL_STYLEEXT_SCB_Horz (0L << 0) | 16 #define FWL_STYLEEXT_SCB_Horz (0L << 0) |
16 #define FWL_STYLEEXT_SCB_Vert (1L << 0) | 17 #define FWL_STYLEEXT_SCB_Vert (1L << 0) |
17 #define FWL_PART_SCB_Border 1 | 18 #define FWL_PART_SCB_Border 1 |
18 #define FWL_PART_SCB_Edge 2 | 19 #define FWL_PART_SCB_Edge 2 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 FWL_ERR SetStepSize(FX_FLOAT fStepSize); | 60 FWL_ERR SetStepSize(FX_FLOAT fStepSize); |
60 FX_FLOAT GetPos(); | 61 FX_FLOAT GetPos(); |
61 FWL_ERR SetPos(FX_FLOAT fPos); | 62 FWL_ERR SetPos(FX_FLOAT fPos); |
62 FX_FLOAT GetTrackPos(); | 63 FX_FLOAT GetTrackPos(); |
63 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); | 64 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); |
64 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); | 65 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); |
65 | 66 |
66 protected: | 67 protected: |
67 IFWL_ScrollBar(); | 68 IFWL_ScrollBar(); |
68 }; | 69 }; |
69 #endif | 70 |
| 71 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ |
OLD | NEW |