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_SCROLLBAR_H_ | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ |
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_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_ScrollBar L"FWL_SCROLLBAR" | 12 #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR" |
13 #define FWL_CLASSHASH_ScrollBar 2826584844 | 13 #define FWL_CLASSHASH_ScrollBar 2826584844 |
14 #define FWL_STYLEEXT_SCB_Horz (0L << 0) | 14 #define FWL_STYLEEXT_SCB_Horz (0L << 0) |
15 #define FWL_STYLEEXT_SCB_Vert (1L << 0) | 15 #define FWL_STYLEEXT_SCB_Vert (1L << 0) |
16 #define FWL_PART_SCB_Border 1 | 16 #define FWL_PART_SCB_Border 1 |
17 #define FWL_PART_SCB_Edge 2 | 17 #define FWL_PART_SCB_Edge 2 |
18 #define FWL_PART_SCB_Background 3 | 18 #define FWL_PART_SCB_Background 3 |
19 #define FWL_PART_SCB_ForeArrow 4 | 19 #define FWL_PART_SCB_ForeArrow 4 |
20 #define FWL_PART_SCB_BackArrow 5 | 20 #define FWL_PART_SCB_BackArrow 5 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 FWL_ERR SetPos(FX_FLOAT fPos); | 63 FWL_ERR SetPos(FX_FLOAT fPos); |
64 FX_FLOAT GetTrackPos(); | 64 FX_FLOAT GetTrackPos(); |
65 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); | 65 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); |
66 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); | 66 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); |
67 | 67 |
68 protected: | 68 protected: |
69 IFWL_ScrollBar(); | 69 IFWL_ScrollBar(); |
70 }; | 70 }; |
71 | 71 |
72 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ | 72 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_ |
OLD | NEW |