All Classes Functions Variables
Public Member Functions | Protected Member Functions | List of all members
EnjoLib::MyWxScrolledWindow Class Reference
Inheritance diagram for EnjoLib::MyWxScrolledWindow:
EnjoLib::CanvasMovableScallable EnjoLib::Canvas EnjoLib::NonCopyable

Public Member Functions

 MyWxScrolledWindow (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name)
Point GetWindowSize () const

Protected Member Functions

void RefreshClient ()
Point ConvertMouseEvent2Point (wxMouseEvent &event)
virtual void wxScaleMouseWheel (wxMouseEvent &event)
virtual void wxOnRightDown (wxMouseEvent &event)
virtual void wxOnRightUp (wxMouseEvent &event)
virtual void wxOnMove (wxMouseEvent &event)
virtual void MyDraw (wxDC &dc)=0
- Protected Member Functions inherited from EnjoLib::CanvasMovableScallable
virtual double GetScrollChange () const
virtual void ScaleMouseWheel (Point newPos, int wheelDelta)
virtual void OnRightDown (Point newPos)
virtual void OnRightUp ()
virtual void OnMove (Point newPos)
- Protected Member Functions inherited from EnjoLib::Canvas
void ScalePointVector (const std::vector< Point > &in, std::vector< Point > *out) const
Point ScalePoint (const Point &p) const
double CalculateAutoZoomValue () const
virtual bool IsSymmetricAround00 () const =0
virtual void ScaleData ()=0
 Insert a value of 1 to one of the axes, to disable scaling in the axis.

Additional Inherited Members

- Protected Attributes inherited from EnjoLib::Canvas
double m_zoom
Point m_refSystem
ScalePointFunctor m_scalePointFunctor

The documentation for this class was generated from the following files: