35enum { ID_MUI_MENU = 21500 };
38 CO_ANIMATION_LINEAR = 0,
39 CO_ANIMATION_QUADRATIC,
41 CO_ANIMATION_CUBIC_BOUNCE_IN,
42 CO_ANIMATION_CUBIC_BACK_IN,
43 CO_ANIMATION_CUBIC_REVERSE,
60 float size_factor = 1.0, wxWindowID
id = wxID_ANY,
61 const wxPoint &pos = wxDefaultPosition,
62 const wxSize &size = wxDefaultSize,
long style = 0,
63 const wxString &name = wxPanelNameStr);
67 void OnSize(wxSizeEvent &event);
68 void OnPaint(wxPaintEvent &event);
69 void OnToolLeftClick(wxCommandEvent &event);
70 void OnEraseBackground(wxEraseEvent &event);
71 void onCanvasOptionsAnimationTimerEvent(wxTimerEvent &event);
73 void SetBestPosition(
void);
74 void UpdateDynamicValues();
75 int GetOrientation() {
return m_orientation; }
76 void ResetCanvasOptions();
77 void SetFollowButtonState(
int state);
79 void SetColorScheme(ColorScheme cs);
80 void SetCanvasENCAvailable(
bool avail);
81 void OnScaleSelected(wxMouseEvent &event);
85 void CreateControls();
86 void PullCanvasOptions();
87 void PushCanvasOptions();
89 void CaptureCanvasOptionsBitmap();
90 void CaptureCanvasOptionsBitmapChain(wxTimerEvent &event);
100 wxStaticText *m_scaleTextBox;
103 wxPoint m_targetCOPos;
104 wxPoint m_currentCOPos;
105 wxPoint m_startCOPos;
108 wxSize m_canvasOptionsFullSize;
110 wxTimer m_canvasOptionsAnimationTimer;
114 int m_animationTotalTime;
117 wxString m_backcolorString;
118 wxBitmap m_animateBitmap;
119 wxBitmap m_backingBitmap;
120 wxTimer CanvasOptionTimer;
122 int m_capture_size_y;
123 wxPoint m_capturePoint;
124 wxPoint m_backingPoint;
125 bool m_coAnimateByBitmaps;
127 bool m_CanvasENCAvail;
130 DECLARE_EVENT_TABLE()