]> git.saurik.com Git - wxWidgets.git/blame - samples/animate/anitest.h
Added 'bool editable' argument to wxPropertyGrid::MakeColumnEditable()
[wxWidgets.git] / samples / animate / anitest.h
CommitLineData
72045d57
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: anitest.cpp
3// Purpose: anitest sample
4// Author: Julian Smart
5// Modified by:
6// Created: 02/07/2001
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#include "wx/animate.h"
13
14// Define a new application
15class MyApp : public wxApp
16{
17public:
18 bool OnInit();
19};
20
72045d57
VZ
21// Define a new frame
22class MyFrame : public wxFrame
23{
24public:
25
26 MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title,
27 const wxPoint& pos, const wxSize& size, const long style);
28 ~MyFrame();
29
30 void OnAbout(wxCommandEvent& event);
31 void OnQuit(wxCommandEvent& event);
32
33 void OnPlay(wxCommandEvent& event);
cf46511d
VZ
34 void OnSetNullAnimation(wxCommandEvent& event);
35 void OnSetInactiveBitmap(wxCommandEvent& event);
36 void OnSetNoAutoResize(wxCommandEvent& event);
37 void OnSetBgColor(wxCommandEvent& event);
72045d57
VZ
38 void OnStop(wxCommandEvent& event);
39
40 void OnUpdateUI(wxUpdateUIEvent& event);
41
42#if wxUSE_FILEDLG
43 void OnOpen(wxCommandEvent& event);
44#endif // wxUSE_FILEDLG
45
72045d57
VZ
46 wxAnimationCtrl* GetAnimationCtrl() const { return m_animationCtrl; }
47
48protected:
72045d57
VZ
49 wxAnimationCtrl* m_animationCtrl;
50
51private:
52 DECLARE_EVENT_TABLE()
53};