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

Side by Side Diff: xfa/fwl/basewidget/ifwl_scrollbar.h

Issue 1903993003: Remove unused FWL flags (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 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/fwl/basewidget/ifwl_monthcalendar.h ('k') | xfa/fwl/core/fwl_widgetdef.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 XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_
9 9
10 #include "xfa/fwl/core/fwl_widgetimp.h" 10 #include "xfa/fwl/core/fwl_widgetimp.h"
11 #include "xfa/fwl/core/ifwl_widget.h" 11 #include "xfa/fwl/core/ifwl_widget.h"
12 #include "xfa/fwl/core/ifwl_dataprovider.h" 12 #include "xfa/fwl/core/ifwl_dataprovider.h"
13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" 13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h"
14 #include "core/fxcrt/include/fx_system.h" 14 #include "core/fxcrt/include/fx_system.h"
15 #include "xfa/fwl/core/fwl_error.h" 15 #include "xfa/fwl/core/fwl_error.h"
16 16
17 #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR" 17 #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR"
18 #define FWL_CLASSHASH_ScrollBar 2826584844 18 #define FWL_CLASSHASH_ScrollBar 2826584844
19 #define FWL_STYLEEXT_SCB_Horz (0L << 0) 19 #define FWL_STYLEEXT_SCB_Horz (0L << 0)
20 #define FWL_STYLEEXT_SCB_Vert (1L << 0) 20 #define FWL_STYLEEXT_SCB_Vert (1L << 0)
21 #define FWL_WGTHITTEST_SCB_ForeArrow FWL_WGTHITTEST_MAX + 1
22 #define FWL_WGTHITTEST_SCB_BackArrow FWL_WGTHITTEST_MAX + 2
23 #define FWL_WGTHITTEST_SCB_LowerTrack FWL_WGTHITTEST_MAX + 3
24 #define FWL_WGTHITTEST_SCB_UpperTrack FWL_WGTHITTEST_MAX + 4
25 #define FWL_WGTHITTEST_SCB_Thumb FWL_WGTHITTEST_MAX + 5
26 21
27 enum FWL_SCBCODE { 22 enum FWL_SCBCODE {
28 FWL_SCBCODE_None = 1, 23 FWL_SCBCODE_None = 1,
29 FWL_SCBCODE_Min, 24 FWL_SCBCODE_Min,
30 FWL_SCBCODE_Max, 25 FWL_SCBCODE_Max,
31 FWL_SCBCODE_PageBackward, 26 FWL_SCBCODE_PageBackward,
32 FWL_SCBCODE_PageForward, 27 FWL_SCBCODE_PageForward,
33 FWL_SCBCODE_StepBackward, 28 FWL_SCBCODE_StepBackward,
34 FWL_SCBCODE_StepForward, 29 FWL_SCBCODE_StepForward,
35 FWL_SCBCODE_Pos, 30 FWL_SCBCODE_Pos,
(...skipping 19 matching lines...) Expand all
55 FWL_ERR SetPos(FX_FLOAT fPos); 50 FWL_ERR SetPos(FX_FLOAT fPos);
56 FX_FLOAT GetTrackPos(); 51 FX_FLOAT GetTrackPos();
57 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); 52 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos);
58 FX_BOOL DoScroll(uint32_t dwCode, FX_FLOAT fPos = 0.0f); 53 FX_BOOL DoScroll(uint32_t dwCode, FX_FLOAT fPos = 0.0f);
59 54
60 protected: 55 protected:
61 IFWL_ScrollBar(); 56 IFWL_ScrollBar();
62 }; 57 };
63 58
64 #endif // XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ 59 #endif // XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/ifwl_monthcalendar.h ('k') | xfa/fwl/core/fwl_widgetdef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698