Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
frame.h
1 //
2 // Name: frame.h
3 //
4 // Copyright (c) 2001-2011 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef FRAMEH
9 #define FRAMEH
10 
11 class vtFrame: public wxFrame
12 {
13 public:
14  vtFrame(wxFrame *frame, const wxString& title, const wxPoint& pos,
15  const wxSize& size, long style = wxDEFAULT_FRAME_STYLE);
16  ~vtFrame();
17 
18  // command handlers
19  void OnClose(wxCloseEvent &event);
20  void OnIdle(wxIdleEvent& event);
21 
22 public:
23  class vtGLCanvas *m_canvas;
24 
25 protected:
26  bool m_bCloseOnIdle;
27 
28 DECLARE_EVENT_TABLE()
29 };
30 
31 #endif
32