Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SimpleGLFrame.hh
1 #ifndef _SimpleGLFrame_hh_55183029_
2 #define _SimpleGLFrame_hh_55183029_
3 
4 
5 #include <Gui/OpenGLCanvas.hh>
6 #include <Utils/DrawTextGL.hh>
7 #include "SimpleGLCanvas.hh"
8 
9 enum Simple_IDs {
10  ID_ABOUT = wxID_ABOUT
11  ,ID_QUIT
12  ,ID_MODE_PLUS
13  ,ID_MODE_MINUS
14  ,ID_LABEL_PLUS
15  ,ID_LABEL_MINUS
16  ,ID_FLAG_PLUS
17  ,ID_FLAG_MINUS
18 };
19 
20 
21 namespace BIAS {
22 
23  /** @class SimpleGLFrame
24  @brief Helper frame for SimplaGLApp
25  @author Jan Woetzel */
26  class BIASSimpleGLApp_EXPORT SimpleGLFrame : public wxFrame {
27  public:
28  SimpleGLFrame(const wxString & title, const wxPoint & pos,
29  const wxSize & size);
30  void OnQuit (wxCommandEvent & event);
31  void OnAbout(wxCommandEvent & event);
32 
33  void OnInteraction(wxCommandEvent & event);
34 
35 
37 
38  /// (global) params for simple user interaction with client Display routine
39  static int mode;
40  static int label;
41  static int flag;
42 
43  DECLARE_EVENT_TABLE()
44  };
45 } // namespace
46 #endif
SimpleGLCanvas * pCanvas
Helper frame for SimplaGLApp.
Helper canvas for SimpleGLApp
static int mode
(global) params for simple user interaction with client Display routine