Laszlo's fix to make generate threads idle priority on Linux,
[novacoin.git] / uibase.h
1 ///////////////////////////////////////////////////////////////////////////\r
2 // C++ code generated with wxFormBuilder (version Apr 16 2008)\r
3 // http://www.wxformbuilder.org/\r
4 //\r
5 // PLEASE DO "NOT" EDIT THIS FILE!\r
6 ///////////////////////////////////////////////////////////////////////////\r
7 \r
8 #ifndef __uibase__\r
9 #define __uibase__\r
10 \r
11 #include <wx/intl.h>\r
12 \r
13 #include <wx/string.h>\r
14 #include <wx/bitmap.h>\r
15 #include <wx/image.h>\r
16 #include <wx/icon.h>\r
17 #include <wx/menu.h>\r
18 #include <wx/gdicmn.h>\r
19 #include <wx/font.h>\r
20 #include <wx/colour.h>\r
21 #include <wx/settings.h>\r
22 #include <wx/toolbar.h>\r
23 #include <wx/statusbr.h>\r
24 #include <wx/stattext.h>\r
25 #include <wx/textctrl.h>\r
26 #include <wx/button.h>\r
27 #include <wx/sizer.h>\r
28 #include <wx/choice.h>\r
29 #include <wx/listctrl.h>\r
30 #include <wx/panel.h>\r
31 #include <wx/notebook.h>\r
32 #include <wx/frame.h>\r
33 #include <wx/html/htmlwin.h>\r
34 #include <wx/dialog.h>\r
35 #include <wx/listbox.h>\r
36 #include <wx/checkbox.h>\r
37 #include <wx/spinctrl.h>\r
38 #include <wx/scrolwin.h>\r
39 #include <wx/statbmp.h>\r
40 \r
41 ///////////////////////////////////////////////////////////////////////////\r
42 \r
43 #define wxID_MAINFRAME 1000\r
44 #define wxID_OPTIONSGENERATEBITCOINS 1001\r
45 #define wxID_BUTTONSEND 1002\r
46 #define wxID_BUTTONRECEIVE 1003\r
47 #define wxID_TEXTCTRLADDRESS 1004\r
48 #define wxID_BUTTONNEW 1005\r
49 #define wxID_BUTTONCOPY 1006\r
50 #define wxID_TRANSACTIONFEE 1007\r
51 #define wxID_PROXYIP 1008\r
52 #define wxID_PROXYPORT 1009\r
53 #define wxID_TEXTCTRLPAYTO 1010\r
54 #define wxID_BUTTONPASTE 1011\r
55 #define wxID_BUTTONADDRESSBOOK 1012\r
56 #define wxID_TEXTCTRLAMOUNT 1013\r
57 #define wxID_CHOICETRANSFERTYPE 1014\r
58 #define wxID_LISTCTRL 1015\r
59 #define wxID_BUTTONRENAME 1016\r
60 #define wxID_PANELSENDING 1017\r
61 #define wxID_LISTCTRLSENDING 1018\r
62 #define wxID_PANELRECEIVING 1019\r
63 #define wxID_LISTCTRLRECEIVING 1020\r
64 #define wxID_BUTTONDELETE 1021\r
65 #define wxID_BUTTONEDIT 1022\r
66 #define wxID_TEXTCTRL 1023\r
67 \r
68 ///////////////////////////////////////////////////////////////////////////////\r
69 /// Class CMainFrameBase\r
70 ///////////////////////////////////////////////////////////////////////////////\r
71 class CMainFrameBase : public wxFrame \r
72 {\r
73         private:\r
74         \r
75         protected:\r
76                 wxMenuBar* m_menubar;\r
77                 wxMenu* m_menuFile;\r
78                 wxMenu* m_menuHelp;\r
79                 wxToolBar* m_toolBar;\r
80                 \r
81                 wxStaticText* m_staticText32;\r
82                 wxButton* m_buttonNew;\r
83                 wxButton* m_buttonCopy;\r
84                 \r
85                 wxStaticText* m_staticText41;\r
86                 wxStaticText* m_staticTextBalance;\r
87                 \r
88                 wxChoice* m_choiceFilter;\r
89                 wxNotebook* m_notebook;\r
90                 wxPanel* m_panel9;\r
91                 wxPanel* m_panel91;\r
92                 wxPanel* m_panel92;\r
93                 wxPanel* m_panel93;\r
94                 \r
95                 // Virtual event handlers, overide them in your derived class\r
96                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
97                 virtual void OnIconize( wxIconizeEvent& event ){ event.Skip(); }\r
98                 virtual void OnIdle( wxIdleEvent& event ){ event.Skip(); }\r
99                 virtual void OnMouseEvents( wxMouseEvent& event ){ event.Skip(); }\r
100                 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }\r
101                 virtual void OnMenuFileExit( wxCommandEvent& event ){ event.Skip(); }\r
102                 virtual void OnMenuOptionsGenerate( wxCommandEvent& event ){ event.Skip(); }\r
103                 virtual void OnUpdateUIOptionsGenerate( wxUpdateUIEvent& event ){ event.Skip(); }\r
104                 virtual void OnMenuOptionsChangeYourAddress( wxCommandEvent& event ){ event.Skip(); }\r
105                 virtual void OnMenuOptionsOptions( wxCommandEvent& event ){ event.Skip(); }\r
106                 virtual void OnMenuHelpAbout( wxCommandEvent& event ){ event.Skip(); }\r
107                 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }\r
108                 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }\r
109                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
110                 virtual void OnMouseEventsAddress( wxMouseEvent& event ){ event.Skip(); }\r
111                 virtual void OnSetFocusAddress( wxFocusEvent& event ){ event.Skip(); }\r
112                 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }\r
113                 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }\r
114                 virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }\r
115                 virtual void OnListColBeginDrag( wxListEvent& event ){ event.Skip(); }\r
116                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
117                 virtual void OnPaintListCtrl( wxPaintEvent& event ){ event.Skip(); }\r
118                 \r
119         \r
120         public:\r
121                 wxMenu* m_menuOptions;\r
122                 wxStatusBar* m_statusBar;\r
123                 wxTextCtrl* m_textCtrlAddress;\r
124                 wxListCtrl* m_listCtrlAll;\r
125                 wxListCtrl* m_listCtrlSentReceived;\r
126                 wxListCtrl* m_listCtrlSent;\r
127                 wxListCtrl* m_listCtrlReceived;\r
128                 CMainFrameBase( wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = _("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 723,484 ), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL );\r
129                 ~CMainFrameBase();\r
130         \r
131 };\r
132 \r
133 ///////////////////////////////////////////////////////////////////////////////\r
134 /// Class CTxDetailsDialogBase\r
135 ///////////////////////////////////////////////////////////////////////////////\r
136 class CTxDetailsDialogBase : public wxDialog \r
137 {\r
138         private:\r
139         \r
140         protected:\r
141                 wxHtmlWindow* m_htmlWin;\r
142                 wxButton* m_buttonOK;\r
143                 \r
144                 // Virtual event handlers, overide them in your derived class\r
145                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
146                 \r
147         \r
148         public:\r
149                 CTxDetailsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transaction Details"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 620,450 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
150                 ~CTxDetailsDialogBase();\r
151         \r
152 };\r
153 \r
154 ///////////////////////////////////////////////////////////////////////////////\r
155 /// Class COptionsDialogBase\r
156 ///////////////////////////////////////////////////////////////////////////////\r
157 class COptionsDialogBase : public wxDialog \r
158 {\r
159         private:\r
160         \r
161         protected:\r
162                 wxListBox* m_listBox;\r
163                 wxScrolledWindow* m_scrolledWindow;\r
164                 wxPanel* m_panelMain;\r
165                 \r
166                 wxStaticText* m_staticText32;\r
167                 wxStaticText* m_staticText31;\r
168                 wxTextCtrl* m_textCtrlTransactionFee;\r
169                 wxCheckBox* m_checkBoxLimitProcessors;\r
170                 wxSpinCtrl* m_spinCtrlLimitProcessors;\r
171                 wxStaticText* m_staticText35;\r
172                 wxCheckBox* m_checkBoxStartOnSystemStartup;\r
173                 wxCheckBox* m_checkBoxMinimizeToTray;\r
174                 wxCheckBox* m_checkBoxMinimizeOnClose;\r
175                 wxCheckBox* m_checkBoxUseProxy;\r
176                 \r
177                 wxStaticText* m_staticTextProxyIP;\r
178                 wxTextCtrl* m_textCtrlProxyIP;\r
179                 wxStaticText* m_staticTextProxyPort;\r
180                 wxTextCtrl* m_textCtrlProxyPort;\r
181                 wxPanel* m_panelTest2;\r
182                 \r
183                 wxStaticText* m_staticText321;\r
184                 wxStaticText* m_staticText69;\r
185                 wxButton* m_buttonOK;\r
186                 wxButton* m_buttonCancel;\r
187                 wxButton* m_buttonApply;\r
188                 \r
189                 // Virtual event handlers, overide them in your derived class\r
190                 virtual void OnListBox( wxCommandEvent& event ){ event.Skip(); }\r
191                 virtual void OnKillFocusTransactionFee( wxFocusEvent& event ){ event.Skip(); }\r
192                 virtual void OnCheckBoxLimitProcessors( wxCommandEvent& event ){ event.Skip(); }\r
193                 virtual void OnCheckBoxMinimizeToTray( wxCommandEvent& event ){ event.Skip(); }\r
194                 virtual void OnCheckBoxUseProxy( wxCommandEvent& event ){ event.Skip(); }\r
195                 virtual void OnKillFocusProxy( wxFocusEvent& event ){ event.Skip(); }\r
196                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
197                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
198                 virtual void OnButtonApply( wxCommandEvent& event ){ event.Skip(); }\r
199                 \r
200         \r
201         public:\r
202                 COptionsDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 540,360 ), long style = wxDEFAULT_DIALOG_STYLE );\r
203                 ~COptionsDialogBase();\r
204         \r
205 };\r
206 \r
207 ///////////////////////////////////////////////////////////////////////////////\r
208 /// Class CAboutDialogBase\r
209 ///////////////////////////////////////////////////////////////////////////////\r
210 class CAboutDialogBase : public wxDialog \r
211 {\r
212         private:\r
213         \r
214         protected:\r
215                 wxStaticBitmap* m_bitmap;\r
216                 \r
217                 wxStaticText* m_staticText40;\r
218                 \r
219                 wxStaticText* m_staticTextMain;\r
220                 \r
221                 \r
222                 wxButton* m_buttonOK;\r
223                 \r
224                 // Virtual event handlers, overide them in your derived class\r
225                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
226                 \r
227         \r
228         public:\r
229                 wxStaticText* m_staticTextVersion;\r
230                 CAboutDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 532,329 ), long style = wxDEFAULT_DIALOG_STYLE );\r
231                 ~CAboutDialogBase();\r
232         \r
233 };\r
234 \r
235 ///////////////////////////////////////////////////////////////////////////////\r
236 /// Class CSendDialogBase\r
237 ///////////////////////////////////////////////////////////////////////////////\r
238 class CSendDialogBase : public wxDialog \r
239 {\r
240         private:\r
241         \r
242         protected:\r
243                 \r
244                 \r
245                 wxStaticText* m_staticTextInstructions;\r
246                 \r
247                 wxStaticBitmap* m_bitmapCheckMark;\r
248                 wxStaticText* m_staticText36;\r
249                 wxTextCtrl* m_textCtrlAddress;\r
250                 wxButton* m_buttonPaste;\r
251                 wxButton* m_buttonAddress;\r
252                 wxStaticText* m_staticText19;\r
253                 wxTextCtrl* m_textCtrlAmount;\r
254                 wxStaticText* m_staticText20;\r
255                 wxChoice* m_choiceTransferType;\r
256                 \r
257                 \r
258                 wxStaticText* m_staticTextFrom;\r
259                 wxTextCtrl* m_textCtrlFrom;\r
260                 wxStaticText* m_staticTextMessage;\r
261                 wxTextCtrl* m_textCtrlMessage;\r
262                 \r
263                 wxButton* m_buttonSend;\r
264                 wxButton* m_buttonCancel;\r
265                 \r
266                 // Virtual event handlers, overide them in your derived class\r
267                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
268                 virtual void OnTextAddress( wxCommandEvent& event ){ event.Skip(); }\r
269                 virtual void OnButtonPaste( wxCommandEvent& event ){ event.Skip(); }\r
270                 virtual void OnButtonAddressBook( wxCommandEvent& event ){ event.Skip(); }\r
271                 virtual void OnKillFocusAmount( wxFocusEvent& event ){ event.Skip(); }\r
272                 virtual void OnButtonSend( wxCommandEvent& event ){ event.Skip(); }\r
273                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
274                 \r
275         \r
276         public:\r
277                 CSendDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 675,298 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
278                 ~CSendDialogBase();\r
279         \r
280 };\r
281 \r
282 ///////////////////////////////////////////////////////////////////////////////\r
283 /// Class CSendingDialogBase\r
284 ///////////////////////////////////////////////////////////////////////////////\r
285 class CSendingDialogBase : public wxDialog \r
286 {\r
287         private:\r
288         \r
289         protected:\r
290                 wxStaticText* m_staticTextSending;\r
291                 wxTextCtrl* m_textCtrlStatus;\r
292                 \r
293                 wxButton* m_buttonOK;\r
294                 wxButton* m_buttonCancel;\r
295                 \r
296                 // Virtual event handlers, overide them in your derived class\r
297                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
298                 virtual void OnPaint( wxPaintEvent& event ){ event.Skip(); }\r
299                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
300                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
301                 \r
302         \r
303         public:\r
304                 CSendingDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sending..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 442,151 ), long style = wxDEFAULT_DIALOG_STYLE );\r
305                 ~CSendingDialogBase();\r
306         \r
307 };\r
308 \r
309 ///////////////////////////////////////////////////////////////////////////////\r
310 /// Class CYourAddressDialogBase\r
311 ///////////////////////////////////////////////////////////////////////////////\r
312 class CYourAddressDialogBase : public wxDialog \r
313 {\r
314         private:\r
315         \r
316         protected:\r
317                 \r
318                 wxStaticText* m_staticText45;\r
319                 wxListCtrl* m_listCtrl;\r
320                 \r
321                 wxButton* m_buttonRename;\r
322                 wxButton* m_buttonNew;\r
323                 wxButton* m_buttonCopy;\r
324                 wxButton* m_buttonOK;\r
325                 wxButton* m_buttonCancel;\r
326                 \r
327                 // Virtual event handlers, overide them in your derived class\r
328                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
329                 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }\r
330                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
331                 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }\r
332                 virtual void OnButtonRename( wxCommandEvent& event ){ event.Skip(); }\r
333                 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }\r
334                 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }\r
335                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
336                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
337                 \r
338         \r
339         public:\r
340                 CYourAddressDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Your Bitcoin Addresses"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
341                 ~CYourAddressDialogBase();\r
342         \r
343 };\r
344 \r
345 ///////////////////////////////////////////////////////////////////////////////\r
346 /// Class CAddressBookDialogBase\r
347 ///////////////////////////////////////////////////////////////////////////////\r
348 class CAddressBookDialogBase : public wxDialog \r
349 {\r
350         private:\r
351         \r
352         protected:\r
353                 wxNotebook* m_notebook;\r
354                 wxPanel* m_panelSending;\r
355                 \r
356                 wxStaticText* m_staticText55;\r
357                 wxListCtrl* m_listCtrlSending;\r
358                 wxPanel* m_panelReceiving;\r
359                 \r
360                 wxStaticText* m_staticText45;\r
361                 \r
362                 wxListCtrl* m_listCtrlReceiving;\r
363                 \r
364                 wxButton* m_buttonDelete;\r
365                 wxButton* m_buttonCopy;\r
366                 wxButton* m_buttonEdit;\r
367                 wxButton* m_buttonNew;\r
368                 wxButton* m_buttonOK;\r
369                 \r
370                 // Virtual event handlers, overide them in your derived class\r
371                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
372                 virtual void OnNotebookPageChanged( wxNotebookEvent& event ){ event.Skip(); }\r
373                 virtual void OnListEndLabelEdit( wxListEvent& event ){ event.Skip(); }\r
374                 virtual void OnListItemActivated( wxListEvent& event ){ event.Skip(); }\r
375                 virtual void OnListItemSelected( wxListEvent& event ){ event.Skip(); }\r
376                 virtual void OnButtonDelete( wxCommandEvent& event ){ event.Skip(); }\r
377                 virtual void OnButtonCopy( wxCommandEvent& event ){ event.Skip(); }\r
378                 virtual void OnButtonEdit( wxCommandEvent& event ){ event.Skip(); }\r
379                 virtual void OnButtonNew( wxCommandEvent& event ){ event.Skip(); }\r
380                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
381                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
382                 \r
383         \r
384         public:\r
385                 wxButton* m_buttonCancel;\r
386                 CAddressBookDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 610,390 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );\r
387                 ~CAddressBookDialogBase();\r
388         \r
389 };\r
390 \r
391 ///////////////////////////////////////////////////////////////////////////////\r
392 /// Class CGetTextFromUserDialogBase\r
393 ///////////////////////////////////////////////////////////////////////////////\r
394 class CGetTextFromUserDialogBase : public wxDialog \r
395 {\r
396         private:\r
397         \r
398         protected:\r
399                 \r
400                 wxStaticText* m_staticTextMessage1;\r
401                 wxTextCtrl* m_textCtrl1;\r
402                 wxStaticText* m_staticTextMessage2;\r
403                 wxTextCtrl* m_textCtrl2;\r
404                 \r
405                 \r
406                 wxButton* m_buttonOK;\r
407                 wxButton* m_buttonCancel;\r
408                 \r
409                 // Virtual event handlers, overide them in your derived class\r
410                 virtual void OnClose( wxCloseEvent& event ){ event.Skip(); }\r
411                 virtual void OnKeyDown( wxKeyEvent& event ){ event.Skip(); }\r
412                 virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }\r
413                 virtual void OnButtonCancel( wxCommandEvent& event ){ event.Skip(); }\r
414                 \r
415         \r
416         public:\r
417                 CGetTextFromUserDialogBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 440,138 ), long style = wxDEFAULT_DIALOG_STYLE );\r
418                 ~CGetTextFromUserDialogBase();\r
419         \r
420 };\r
421 \r
422 #endif //__uibase__\r