00001
00002
00003
00004 #include <wx/wx.h>
00005 #include <wx/vscroll.h>
00006 #include <vector>
00007 #include "CatalogManager.h"
00008
00009 #ifndef _MYTHEME_H_
00010 #define _MYTHEME_H_
00011
00012 using namespace Limiro;
00013
00014 class MyTheme : public wxDialog
00015 {
00016 public:
00017 MyTheme(wxWindow* parent, const wxString& title,
00018 const wxPoint& pos, const wxSize& size,
00019 CatalogList themes, CatalogList* choices);
00020 void OnNext(wxCommandEvent& event);
00021 void OnHelp(wxCommandEvent& event);
00022 void OnAll(wxCommandEvent& event);
00023 void OnNothing(wxCommandEvent& event);
00024 private:
00025 wxScrolledWindow *window;
00026 wxBoxSizer* sizer;
00027 wxBoxSizer* sizer2;
00028 wxBoxSizer* sizer3;
00029 wxButton* next;
00030 wxButton* help;
00031 wxButton* all;
00032 wxButton* nothing;
00033 wxCheckBox** check_boxes;
00034 CatalogList themes;
00035 CatalogList* choices;
00036 bool checked;
00037
00038 DECLARE_EVENT_TABLE();
00039 };
00040
00041 #endif // _MYTHEME_H_