ToolMap
Loading...
Searching...
No Matches
main_panel.h
1/***************************************************************************
2 main_panel.h
3 Display the main panel where drawing occurs
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17// comment doxygen
18
19#ifndef MAIN_PANEL_H
20#define MAIN_PANEL_H
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30#include "managed_aui_wnd.h"
31// #include <wx/scrolwin.h>
32#include "../gis/tmrenderer.h" // for GIS renderer
33
34#define SYMBOL_MAIN_PANEL_TITLE _("Main Panel")
35
36class Main_PANEL : public ManagedAuiWnd {
37 wxSizer* CreateControls(wxWindow* parent, bool call_fit = TRUE, bool set_sizer = TRUE);
38
39 tmRenderer* m_GISRenderer;
40 wxAuiPaneInfo mPaneInfo;
41
42 public:
43 Main_PANEL(wxWindow* parent, wxAuiManager* AuiManager);
44
46
47 tmRenderer* GetGISRenderer() {
48 return m_GISRenderer;
49 }
50};
51
52#endif
Definition main_panel.h:36
Definition managed_aui_wnd.h:32
Definition tmrenderer.h:99