X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..b742792c082c29ee6a1b172daf78c63cb3427dbd:/include/wx/motif/scrolbar.h?ds=sidebyside diff --git a/include/wx/motif/scrolbar.h b/include/wx/motif/scrolbar.h index 95343b50ca..2cda645071 100644 --- a/include/wx/motif/scrolbar.h +++ b/include/wx/motif/scrolbar.h @@ -45,23 +45,28 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxScrollBarNameStr); - int GetPosition() const ; + int GetThumbPosition() const ; inline int GetThumbSize() const { return m_pageSize; } inline int GetPageSize() const { return m_viewSize; } inline int GetRange() const { return m_objectSize; } - virtual void SetPosition(int viewStart); + virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh = TRUE); void Command(wxCommandEvent& event); +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); + protected: int m_pageSize; int m_viewSize; int m_objectSize; -DECLARE_EVENT_TABLE() +// DECLARE_EVENT_TABLE() }; #endif