| 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_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" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax); | 61 FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax); |
| 62 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax); | 62 FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax); |
| 63 FX_FLOAT GetPageSize(); | 63 FX_FLOAT GetPageSize(); |
| 64 FWL_ERR SetPageSize(FX_FLOAT fPageSize); | 64 FWL_ERR SetPageSize(FX_FLOAT fPageSize); |
| 65 FX_FLOAT GetStepSize(); | 65 FX_FLOAT GetStepSize(); |
| 66 FWL_ERR SetStepSize(FX_FLOAT fStepSize); | 66 FWL_ERR SetStepSize(FX_FLOAT fStepSize); |
| 67 FX_FLOAT GetPos(); | 67 FX_FLOAT GetPos(); |
| 68 FWL_ERR SetPos(FX_FLOAT fPos); | 68 FWL_ERR SetPos(FX_FLOAT fPos); |
| 69 FX_FLOAT GetTrackPos(); | 69 FX_FLOAT GetTrackPos(); |
| 70 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); | 70 FWL_ERR SetTrackPos(FX_FLOAT fTrackPos); |
| 71 FX_BOOL DoScroll(FX_DWORD dwCode, FX_FLOAT fPos = 0.0f); | 71 FX_BOOL DoScroll(uint32_t dwCode, FX_FLOAT fPos = 0.0f); |
| 72 | 72 |
| 73 protected: | 73 protected: |
| 74 IFWL_ScrollBar(); | 74 IFWL_ScrollBar(); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 #endif // XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ | 77 #endif // XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ |
| OLD | NEW |