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

Side by Side Diff: xfa/include/fwl/basewidget/fwl_scrollbar.h

Issue 1453373006: Kill dead IFWL_*::Initialize() variants dead. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 years, 1 month 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
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 _FWL_SCROLLBAR_H 7 #ifndef _FWL_SCROLLBAR_H
8 #define _FWL_SCROLLBAR_H 8 #define _FWL_SCROLLBAR_H
9 class CFWL_WidgetImpProperties; 9 class CFWL_WidgetImpProperties;
10 class IFWL_Widget; 10 class IFWL_Widget;
(...skipping 30 matching lines...) Expand all
41 FWL_SCBCODE_StepBackward, 41 FWL_SCBCODE_StepBackward,
42 FWL_SCBCODE_StepForward, 42 FWL_SCBCODE_StepForward,
43 FWL_SCBCODE_Pos, 43 FWL_SCBCODE_Pos,
44 FWL_SCBCODE_TrackPos, 44 FWL_SCBCODE_TrackPos,
45 FWL_SCBCODE_EndScroll, 45 FWL_SCBCODE_EndScroll,
46 }; 46 };
47 class IFWL_ScrollBarDP : public IFWL_DataProvider {}; 47 class IFWL_ScrollBarDP : public IFWL_DataProvider {};
48 class IFWL_ScrollBar : public IFWL_Widget { 48 class IFWL_ScrollBar : public IFWL_Widget {
49 public: 49 public:
50 static IFWL_ScrollBar* Create(); 50 static IFWL_ScrollBar* Create();
51
52 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
53 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, 51 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
54 IFWL_Widget* pOuter = NULL); 52 IFWL_Widget* pOuter);
55 FX_BOOL IsVertical(); 53 FX_BOOL IsVertical();
56 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax); 54 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
57 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax); 55 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
58 FX_FLOAT GetPageSize(); 56 FX_FLOAT GetPageSize();
59 FWL_ERR SetPageSize(FX_FLOAT fPageSize); 57 FWL_ERR SetPageSize(FX_FLOAT fPageSize);
60 FX_FLOAT GetStepSize(); 58 FX_FLOAT GetStepSize();
61 FWL_ERR SetStepSize(FX_FLOAT fStepSize); 59 FWL_ERR SetStepSize(FX_FLOAT fStepSize);
62 FX_FLOAT GetPos(); 60 FX_FLOAT GetPos();
63 FWL_ERR SetPos(FX_FLOAT fPos); 61 FWL_ERR SetPos(FX_FLOAT fPos);
64 FX_FLOAT GetTrackPos(); 62 FX_FLOAT GetTrackPos();
65 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); 63 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos);
66 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); 64 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f);
67 65
68 protected: 66 protected:
69 IFWL_ScrollBar(); 67 IFWL_ScrollBar();
70 }; 68 };
71 #endif 69 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_pushbutton.h ('k') | xfa/include/fwl/basewidget/fwl_spinbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698