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

Side by Side Diff: xfa/include/fwl/lightwidget/scrollbar.h

Issue 1735833003: Remove include only fwl.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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/include/fwl/lightwidget/pushbutton.h ('k') | xfa/include/fwl/lightwidget/tooltipctrl.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_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_ 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_ 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_
9 9
10 class CFWL_Widget; 10 #include "xfa/include/fwl/lightwidget/widget.h"
11 class CFWL_WidgetProperties; 11
12 class CFWL_ScrollBar;
13 class CFWL_ScrollBar : public CFWL_Widget { 12 class CFWL_ScrollBar : public CFWL_Widget {
14 public: 13 public:
15 static CFWL_ScrollBar* Create(); 14 static CFWL_ScrollBar* Create();
16 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); 15 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL);
17 FX_BOOL IsVertical(); 16 FX_BOOL IsVertical();
18 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax); 17 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
19 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax); 18 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
20 FX_FLOAT GetPageSize(); 19 FX_FLOAT GetPageSize();
21 FWL_ERR SetPageSize(FX_FLOAT fPageSize); 20 FWL_ERR SetPageSize(FX_FLOAT fPageSize);
22 FX_FLOAT GetStepSize(); 21 FX_FLOAT GetStepSize();
23 FWL_ERR SetStepSize(FX_FLOAT fStepSize); 22 FWL_ERR SetStepSize(FX_FLOAT fStepSize);
24 FX_FLOAT GetPos(); 23 FX_FLOAT GetPos();
25 FWL_ERR SetPos(FX_FLOAT fPos); 24 FWL_ERR SetPos(FX_FLOAT fPos);
26 FX_FLOAT GetTrackPos(); 25 FX_FLOAT GetTrackPos();
27 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); 26 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos);
28 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); 27 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f);
29 CFWL_ScrollBar(); 28 CFWL_ScrollBar();
30 virtual ~CFWL_ScrollBar(); 29 virtual ~CFWL_ScrollBar();
31 }; 30 };
32 31
33 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_ 32 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_SCROLLBAR_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/pushbutton.h ('k') | xfa/include/fwl/lightwidget/tooltipctrl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698