The credits file now also has underscores, which need to be escaped in LaTeX.
[Rockbox.git] / rbutil / rbutilFrm.h
blob4d5d4017a1f929eb3e4b99979e41833cf27e550c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * Module: rbutil
9 * File: rbutilFrm.h
11 * Copyright (C) 2005 Christi Alice Scarborough
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef __rbutilFrm_HPP_
22 #define __rbutilFrm_HPP_
24 #include <wx/wxprec.h>
25 #ifdef __BORLANDC__
26 #pragma hdrstop
27 #endif
28 #ifndef WX_PRECOMP
29 #include <wx/wx.h>
30 #endif
32 #include <wx/menu.h>
33 #include <wx/stattext.h>
34 #include <wx/bmpbuttn.h>
35 #include <wx/statbmp.h>
36 #include <wx/panel.h>
38 #include <wx/frame.h>
39 #include <wx/valgen.h>
40 //#include <wx/aboutdlg.h>
41 #include <wx/richtext/richtextctrl.h>
43 #include "rbutil.h"
44 #include "rbutilCtrls.h"
46 class rbutilFrm : public wxFrame
48 private:
49 DECLARE_EVENT_TABLE()
50 public:
51 rbutilFrm( wxWindow *parent, wxWindowID id = 1,
52 const wxString &title = wxT("Rockbox Utility"),
53 const wxPoint& pos = wxDefaultPosition,
54 const wxSize& size = wxDefaultSize,
55 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU |
56 wxMINIMIZE_BOX | wxCLOSE_BOX);
57 virtual ~rbutilFrm();
58 public:
59 DeviceSelectorCtrl* myDeviceSelector;
60 wxHyperlinkCtrl* manuallink;
61 wxHtmlWindow* manual;
62 wxString curManualDevice;
64 wxMenuBar *WxMenuBar1;
65 wxStaticText *WxStaticText3;
66 wxBitmapButton *WxBitmapButton2;
67 wxStaticText *WxStaticText2;
68 wxBitmapButton *WxBitmapButton1;
69 wxBitmapButton *WxBitmapButton3;
70 wxBitmapButton *WxBitmapButton4;
71 wxBitmapButton *WxBitmapButton5;
72 wxBitmapButton *WxBitmapButton6;
73 wxFlexGridSizer *WxFlexGridSizer1;
74 wxStaticBoxSizer *WxStaticBoxSizer3;
75 wxStaticBitmap *WxStaticBitmap1;
76 wxBoxSizer *WxBoxSizer2;
77 wxPanel *WxPanel1;
78 wxBoxSizer *WxBoxSizer1;
79 public:
80 enum {
81 ID_FILE_MENU = 1033,
82 ID_FILE_EXIT = 1034,
83 ID_FILE_ABOUT = 1035,
84 ID_FILE_WIPECACHE = 1036,
85 ID_PORTABLE_INSTALL = 1037,
87 ID_WXSTATICTEXT3 = 1032,
88 ID_WXSTATICTEXT4 = 1032,
89 ID_REMOVE_BTN = 1039,
90 ID_BOOTLOADERREMOVE_BTN = 1038,
91 ID_WXSTATICTEXT2 = 1029,
92 ID_INSTALL_BTN = 1028,
93 ID_WXSTATICBITMAP1 = 1053,
94 ID_FONT_BTN = 1128,
95 ID_THEMES_BTN = 1139,
96 ID_DOOM_BTN = 1140,
97 ID_BOOTLOADER_BTN = 1129,
98 ID_WXPANEL1 = 1064,
100 ID_MANUAL = 1065,
101 ID_FILE_PROXY = 1066,
103 ID_DUMMY_VALUE_
104 }; //End of Enum
105 public:
106 void rbutilFrmClose(wxCloseEvent& event);
107 void CreateGUIControls(void);
108 void OnFileExit(wxCommandEvent& event);
109 void OnFileAbout(wxCommandEvent &event);
110 void OnFileWipeCache(wxCommandEvent &event);
111 void OnLocationBtn(wxCommandEvent& event);
112 void OnInstallBtn(wxCommandEvent& event);
113 void OnRemoveBtn(wxCommandEvent& event);
114 void OnFontBtn(wxCommandEvent& event);
115 void OnThemesBtn(wxCommandEvent& event);
116 void OnBootloaderBtn(wxCommandEvent& event);
117 void OnPortableInstall(wxCommandEvent& event);
118 void OnBootloaderRemoveBtn(wxCommandEvent& event);
119 void OnManualUpdate(wxUpdateUIEvent& event);
120 void OnFileProxy(wxCommandEvent& event);
121 void OnDoomBtn(wxCommandEvent& event);
125 #endif