MDIChild.h

00001 /*
00002 Copyright (C) 2002-2003 Jean-Francois Mercure Burroughs
00003 
00004 This program is free software; you can redistribute it and/or modify
00005 it under the terms of the GNU General Public License as published by
00006 the Free Software Foundation; either version 2 of the License, or
00007 (at your option) any later version.
00008 
00009 This program is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 GNU General Public License for more details.
00013 
00014 You should have received a copy of the GNU General Public License
00015 along with this program; if not, write to the Free Software
00016 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017 
00018 
00019 Report problems and direct all questions to:
00020 
00021 email: Jean-Francois Mercure Burroughs or richard.gourdeau@polymtl.ca
00022 */
00023 
00024 #ifndef _MDICHILD_H
00025 #define _MDICHILD_H
00026 
00027 #include "wx/wxprec.h"
00028 #ifndef WX_PRECOMP
00029 #include "wx/wx.h"
00030 #endif
00031 
00032 #include "Canvas3D.h"
00033 #include "CanvasOrtho.h"
00034 
00035 enum {
00036    MDI_CHANGE_TITLE=200,
00037    MDI_CHANGE_POSITION,
00038    MDI_CHANGE_SIZE,
00039    MDI_CHILD_QUIT
00040 };
00041 
00042 class wxMDIParent;
00043 
00044 
00045 
00052 class wxMDIChild :public wxPanel/*wxMDIChildFrame*/
00053 {
00054 public:
00055    wxMDIChild(wxWindow/*MDIParentFrame*/* parent/*, const wxString& title*/,const wxPoint &pos, const wxSize& size,const long style);
00056    virtual ~wxMDIChild();
00057 
00058    void OnActivate(wxActivateEvent & event);
00059    void OnQuit(wxCommandEvent& event);
00060    void OnSize(wxSizeEvent& event);
00061    void OnClose(wxCloseEvent& event);
00062 
00063    DECLARE_EVENT_TABLE()
00064 
00065 protected:
00067    Canvas3D *gl_window;
00068 };
00069 
00070 #endif // _MDICHILD_H

Generated on Fri Feb 9 08:52:20 2007 for GLroboop An OpenGL Robotics Object Oriented Package in C++ by  doxygen 1.5.1