example_pane.h
Go to the documentation of this file.
00001 /******************************************************************************
00002  * \file
00003  *
00004  * $Id: example_pane.h 824 2012-05-23 13:14:09Z spanel $
00005  *
00006  * Copyright (C) Brno University of Technology
00007  *
00008  * This file is part of software developed by dcgm-robotics@FIT group.
00009  *
00010  * Author: Vit Stancl (stancl@fit.vutbr.cz)
00011  * Supervised by: Michal Spanel (spanel@fit.vutbr.cz)
00012  * Date: dd/mm/2011
00013  * 
00014  * This file is free software: you can redistribute it and/or modify
00015  * it under the terms of the GNU Lesser General Public License as published by
00016  * the Free Software Foundation, either version 3 of the License, or
00017  * (at your option) any later version.
00018  * 
00019  * This file is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022  * GNU Lesser General Public License for more details.
00023  * 
00024  * You should have received a copy of the GNU Lesser General Public License
00025  * along with this file.  If not, see <http://www.gnu.org/licenses/>.
00026  */
00027 #pragma once
00028 #ifndef BUT_EXAMPLEPANE_H
00029 #define BUT_EXAMPLEPANE_H
00030 
00031 #include <wx/wx.h>
00032 #include <wx/menu.h>
00033 #include <wx/panel.h>
00034 #include <wx/dialog.h>
00035 // #include "checkbox.h"
00036 
00037 namespace rviz
00038 {
00039     class WindowManagerInterface;
00040 }
00041 
00042 namespace srs_ui_but
00043 {
00044 
00045 
00049 class CExamplePanel : public wxPanel
00050 {
00051 public:
00053     CExamplePanel(wxWindow *parent, const wxString& title, rviz::WindowManagerInterface * wmi );
00054 
00056     virtual void OnQuit(wxCommandEvent& event);
00057 protected:
00059     rviz::WindowManagerInterface * m_wmi;
00060 
00061 }; // class CExamplePanel
00062 
00066 class CExampleDialog : public wxDialog
00067 {
00068 public:
00070     CExampleDialog( wxWindow * parent, const wxString & title );
00071 
00073     void OnQuit(wxCommandEvent& event);
00074 
00075 }; // class CExampleDialog
00076 
00080 class CExamplePanelControls : public wxPanel
00081 {
00082 public:
00084     CExamplePanelControls(wxWindow *parent, const wxString& title, rviz::WindowManagerInterface * wmi );
00085 
00087     void OnChckToggle(wxCommandEvent& event);
00088 
00090     virtual void OnReset(wxCommandEvent& event);
00091 
00092 protected:
00094     rviz::WindowManagerInterface * m_wmi;
00095 
00097     wxCheckBox * m_chkb;
00098 
00100     wxButton * m_button;
00101 
00102 private:
00103     DECLARE_EVENT_TABLE()
00104 
00105 };
00106 
00107 } // namespace srs_ui_but
00108 
00109 
00110 
00111 #endif // BUT_EXAMPLEPANE_H


srs_ui_but
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Michal Spanel (spanel@fit.vutbr.cz), Tomas Lokaj
autogenerated on Sun Jan 5 2014 12:12:49