bbtk::wxGUIEditorGraphicBBS Class Reference

#include <bbtkwxGUIEditorGraphicBBS.h>

Collaboration diagram for bbtk::wxGUIEditorGraphicBBS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxGUIEditorGraphicBBS (wxFrame *parent)
 ~wxGUIEditorGraphicBBS ()

Private Attributes

wxAuiManager m_mgr
wxGUIEditorGraphicContainereditorgraphiccontainer


Detailed Description

Definition at line 55 of file bbtkwxGUIEditorGraphicBBS.h.


Constructor & Destructor Documentation

bbtk::wxGUIEditorGraphicBBS::wxGUIEditorGraphicBBS ( wxFrame *  parent  ) 

Definition at line 46 of file bbtkwxGUIEditorGraphicBBS.cxx.

References editorgraphiccontainer, and m_mgr.

00047     : wxFrame(parent, -1, _T("bbEditor"),wxDefaultPosition, wxSize(1200,800))
00048   {
00049           m_mgr.SetManagedWindow(this);
00050           editorgraphiccontainer = new wxGUIEditorGraphicContainer(this);
00051           
00052           wxPanel *mWxGUIGrapphicEditorPanel = new wxPanel(this,-1);
00053           wxPanel *mWxGUIBoxBrowserPanel = new wxPanel(this,-1);
00054           wxPanel *mWxGUIConfigurationGraphicEditorPanel = new wxPanel(this,-1);
00055           
00056           mWxGUIGrapphicEditorPanel->SetBackgroundColour( wxColor(255,0,0) );
00057           mWxGUIBoxBrowserPanel->SetBackgroundColour( wxColor(0,255,0) );
00058           mWxGUIConfigurationGraphicEditorPanel->SetBackgroundColour( wxColor(255,0,255) );
00059           
00060           //
00061           m_mgr.AddPane(mWxGUIGrapphicEditorPanel,
00062                                         wxAuiPaneInfo().Name(wxT("graphic_editor_content"))
00063                                         .Caption(wxT("Graphic editor"))
00064                                         .MinimizeButton(true)
00065                                         .MaximizeButton(true)
00066                                         .Center()
00067                                         .MinSize(wxSize(100,100))
00068                                         );   
00069           
00070           m_mgr.AddPane(mWxGUIBoxBrowserPanel,
00071                                         wxAuiPaneInfo().Name(wxT("box_browser_content"))
00072                                         .Caption(wxT("Box browser"))
00073                                         .MinimizeButton(true)
00074                                         .MaximizeButton(true)
00075                                         .Right()
00076                                         .Layer(2)
00077                                         .MinSize(wxSize(400,100))
00078                                         );
00079           
00080           m_mgr.AddPane(mWxGUIConfigurationGraphicEditorPanel,
00081                                         wxAuiPaneInfo().Name(wxT("configuration_graphic_editor_content"))
00082                                         .Caption(wxT("Messages"))
00083                                         .MinimizeButton(true)
00084                                         .MaximizeButton(true)
00085                                         .Bottom()
00086                                         .MinSize(wxSize(100,100))
00087                                         );
00088           
00089           SetAutoLayout(true);
00090           Layout();
00091           m_mgr.Update();
00092           
00093   }

bbtk::wxGUIEditorGraphicBBS::~wxGUIEditorGraphicBBS (  ) 

Definition at line 96 of file bbtkwxGUIEditorGraphicBBS.cxx.

References editorgraphiccontainer, and m_mgr.

00097   {
00098           delete editorgraphiccontainer;
00099           m_mgr.UnInit();
00100   }


Member Data Documentation

Definition at line 62 of file bbtkwxGUIEditorGraphicBBS.h.

Referenced by wxGUIEditorGraphicBBS(), and ~wxGUIEditorGraphicBBS().

wxAuiManager bbtk::wxGUIEditorGraphicBBS::m_mgr [private]

Definition at line 61 of file bbtkwxGUIEditorGraphicBBS.h.

Referenced by wxGUIEditorGraphicBBS(), and ~wxGUIEditorGraphicBBS().


The documentation for this class was generated from the following files:

Generated on Thu May 31 14:15:44 2012 for BBTK by  doxygen 1.5.7.1