1. added wxRenderer::StandardHitTestScrollbar

2. started implementing wxMSW scrollbar input handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-23 22:41:00 +00:00
parent 2c0eba5f88
commit 46f2baf74e
5 changed files with 252 additions and 65 deletions

View File

@@ -13,6 +13,12 @@
wxRenderer class is used to draw all wxWindows controls. This is an ABC and
the look of the application is determined by the concrete derivation of
wxRenderer used in the program.
It also contains a few static methods which may be used by the concrete
renderers and provide the functionality which is often similar or identical
in all renderers (using inheritance here would be more restrictive as the
given concrete renderer may need an arbitrary subset of the base class
methods)
*/
#ifdef __GNUG__
@@ -131,6 +137,14 @@ public:
// virtual dtor for any base class
virtual ~wxRenderer();
protected:
// standard scrollbar hit testing: this assumes that it only has 2 arrows
// and a thumb, so the themes which have more complicated scrollbars (e.g.
// BeOS) can't use this method
static wxHitTest StandardHitTestScrollbar(wxScrollBar *scrollbar,
const wxPoint& pt,
const wxSize& sizeArrow);
};
// ----------------------------------------------------------------------------