Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// Name:        anitest.cpp
 | 
						|
// Purpose:     anitest sample
 | 
						|
// Author:      Julian Smart
 | 
						|
// Modified by:
 | 
						|
// Created:     02/07/2001
 | 
						|
// RCS-ID:      $Id: anitest.h 43476 2006-11-17 18:15:44Z VZ $
 | 
						|
// Copyright:   (c) Julian Smart
 | 
						|
// Licence:     wxWindows licence
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
 | 
						|
#include "wx/animate.h"
 | 
						|
 | 
						|
// Define a new application
 | 
						|
class MyApp : public wxApp
 | 
						|
{
 | 
						|
public:
 | 
						|
    bool OnInit();
 | 
						|
};
 | 
						|
 | 
						|
// Define a new frame
 | 
						|
class MyFrame : public wxFrame
 | 
						|
{
 | 
						|
public:
 | 
						|
 | 
						|
    MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title,
 | 
						|
            const wxPoint& pos, const wxSize& size, const long style);
 | 
						|
    ~MyFrame();
 | 
						|
 | 
						|
    void OnAbout(wxCommandEvent& event);
 | 
						|
    void OnQuit(wxCommandEvent& event);
 | 
						|
 | 
						|
    void OnPlay(wxCommandEvent& event);
 | 
						|
    void OnSetNullAnimation(wxCommandEvent& event);
 | 
						|
    void OnSetInactiveBitmap(wxCommandEvent& event);
 | 
						|
    void OnSetNoAutoResize(wxCommandEvent& event);
 | 
						|
    void OnSetBgColor(wxCommandEvent& event);
 | 
						|
    void OnStop(wxCommandEvent& event);
 | 
						|
 | 
						|
    void OnUpdateUI(wxUpdateUIEvent& event);
 | 
						|
 | 
						|
#if wxUSE_FILEDLG
 | 
						|
    void OnOpen(wxCommandEvent& event);
 | 
						|
#endif // wxUSE_FILEDLG
 | 
						|
 | 
						|
    wxAnimationCtrl* GetAnimationCtrl() const { return m_animationCtrl; }
 | 
						|
 | 
						|
protected:
 | 
						|
    wxAnimationCtrl*    m_animationCtrl;
 | 
						|
 | 
						|
private:
 | 
						|
    DECLARE_EVENT_TABLE()
 | 
						|
};
 |