1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/univ/scrtimer.h
3 // Purpose: wxScrollTimer: small helper class for wxScrollArrow/Thumb
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 // NB: this class is implemented in scrolbar.cpp
16 // ----------------------------------------------------------------------------
17 // wxScrollTimer: the timer used when the arrow or scrollbar shaft is kept
19 // ----------------------------------------------------------------------------
21 class WXDLLEXPORT wxScrollTimer
: public wxTimer
27 // start generating the events
28 void StartAutoScroll();
30 // the base class method
31 virtual void Notify();
34 // to implement in derived classes: perform the scroll action and return
35 // TRUE to continue scrolling or FALSE to stop
36 virtual bool DoNotify() = 0;
38 // should we skip the next timer event?