upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/uibase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uibase.h')
-rw-r--r--src/uibase.h720
1 files changed, 720 insertions, 0 deletions
diff --git a/src/uibase.h b/src/uibase.h
new file mode 100644
index 0000000..6d7799e
--- /dev/null
+++ b/src/uibase.h
@@ -0,0 +1,720 @@
1// Copyright (c) 2009 Satoshi Nakamoto
2// Distributed under the MIT/X11 software license, see the accompanying
3// file license.txt or http://www.opensource.org/licenses/mit-license.php.
4
5///////////////////////////////////////////////////////////////////////////
6// C++ code generated with wxFormBuilder (version Apr 16 2008)
7// http://www.wxformbuilder.org/
8//
9// PLEASE DO "NOT" EDIT THIS FILE!
10///////////////////////////////////////////////////////////////////////////
11
12#ifndef __uibase__
13#define __uibase__
14
15#include <wx/string.h>
16#include <wx/bitmap.h>
17#include <wx/image.h>
18#include <wx/icon.h>
19#include <wx/menu.h>
20#include <wx/gdicmn.h>
21#include <wx/font.h>
22#include <wx/colour.h>
23#include <wx/settings.h>
24#include <wx/toolbar.h>
25#include <wx/statusbr.h>
26#include <wx/stattext.h>
27#include <wx/textctrl.h>
28#include <wx/button.h>
29#include <wx/sizer.h>
30#include <wx/panel.h>
31#include <wx/choice.h>
32#include <wx/listctrl.h>
33#include <wx/notebook.h>
34#include <wx/frame.h>
35#include <wx/html/htmlwin.h>
36#include <wx/dialog.h>
37#include <wx/statbmp.h>
38#include <wx/combobox.h>
39#include <wx/scrolwin.h>
40#include <wx/richtext/richtextctrl.h>
41#include <wx/treectrl.h>
42#include <wx/checkbox.h>
43
44///////////////////////////////////////////////////////////////////////////
45
46#define wxID_MAINFRAME 1000
47#define wxID_OPTIONSGENERATEBITCOINS 1001
48#define wxID_BUTTONSEND 1002
49#define wxID_BUTTONRECEIVE 1003
50#define wxID_TEXTCTRLADDRESS 1004
51#define wxID_BUTTONCOPY 1005
52#define wxID_BUTTONCHANGE 1006
53#define wxID_TRANSACTIONFEE 1007
54#define wxID_TEXTCTRLPAYTO 1008
55#define wxID_BUTTONPASTE 1009
56#define wxID_BUTTONADDRESSBOOK 1010
57#define wxID_TEXTCTRLAMOUNT 1011
58#define wxID_CHOICETRANSFERTYPE 1012
59#define wxID_LISTCTRL 1013
60#define wxID_BUTTONRENAME 1014
61#define wxID_BUTTONNEW 1015
62#define wxID_BUTTONEDIT 1016
63#define wxID_BUTTONDELETE 1017
64#define wxID_DEL0 1018
65#define wxID_DEL1 1019
66#define wxID_DEL2 1020
67#define wxID_DEL3 1021
68#define wxID_DEL4 1022
69#define wxID_DEL5 1023
70#define wxID_DEL6 1024
71#define wxID_DEL7 1025
72#define wxID_DEL8 1026
73#define wxID_DEL9 1027
74#define wxID_DEL10 1028
75#define wxID_DEL11 1029
76#define wxID_DEL12 1030
77#define wxID_DEL13 1031
78#define wxID_DEL14 1032
79#define wxID_DEL15 1033
80#define wxID_DEL16 1034
81#define wxID_DEL17 1035
82#define wxID_DEL18 1036
83#define wxID_DEL19 1037
84#define wxID_BUTTONPREVIEW 1038
85#define wxID_BUTTONSAMPLE 1039
86#define wxID_CANCEL2 1040
87#define wxID_BUTTONBACK 1041
88#define wxID_BUTTONNEXT 1042
89#define wxID_SUBMIT 1043
90#define wxID_OPENNEWTABLE 1044
91#define wxID_DEALHAND 1045
92#define wxID_FOLD 1046
93#define wxID_CALL 1047
94#define wxID_RAISE 1048
95#define wxID_LEAVETABLE 1049
96#define wxID_DITCHPLAYER 1050
97#define wxID_TEXTCTRL 1051
98
99///////////////////////////////////////////////////////////////////////////////
100/// Class CMainFrameBase
101///////////////////////////////////////////////////////////////////////////////
102class CMainFrameBase : public wxFrame
103{
104private:
105
106protected:
107 wxMenuBar* m_menubar;
108 wxMenu* m_menuFile;
109 wxMenu* m_menuHelp;
110 wxToolBar* m_toolBar;
111 wxStatusBar* m_statusBar;
112
113 wxStaticText* m_staticText32;
114 wxTextCtrl* m_textCtrlAddress;
115 wxButton* m_buttonCopy;
116 wxButton* m_button91;
117
118 wxPanel* m_panel14;
119 wxStaticText* m_staticText41;
120 wxStaticText* m_staticTextBalance;
121
122 wxChoice* m_choiceFilter;
123 wxNotebook* m_notebook;
124 wxPanel* m_panel7;
125 wxPanel* m_panel9;
126 wxPanel* m_panel8;
127 wxPanel* m_panel10;
128 wxPanel* m_panel11;
129
130 // Virtual event handlers, overide them in your derived class
131 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
132 virtual void OnIdle(wxIdleEvent& event){ event.Skip(); }
133 virtual void OnMouseEvents(wxMouseEvent& event){ event.Skip(); }
134 virtual void OnPaint(wxPaintEvent& event){ event.Skip(); }
135 virtual void OnMenuFileExit(wxCommandEvent& event){ event.Skip(); }
136 virtual void OnMenuOptionsGenerate(wxCommandEvent& event){ event.Skip(); }
137 virtual void OnMenuOptionsOptions(wxCommandEvent& event){ event.Skip(); }
138 virtual void OnMenuHelpAbout(wxCommandEvent& event){ event.Skip(); }
139 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }
140 virtual void OnButtonAddressBook(wxCommandEvent& event){ event.Skip(); }
141 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
142 virtual void OnMouseEventsAddress(wxMouseEvent& event){ event.Skip(); }
143 virtual void OnSetFocusAddress(wxFocusEvent& event){ event.Skip(); }
144 virtual void OnButtonCopy(wxCommandEvent& event){ event.Skip(); }
145 virtual void OnButtonChange(wxCommandEvent& event){ event.Skip(); }
146 virtual void OnListColBeginDrag(wxListEvent& event){ event.Skip(); }
147 virtual void OnListItemActivatedAllTransactions(wxListEvent& event){ event.Skip(); }
148 virtual void OnPaintListCtrl(wxPaintEvent& event){ event.Skip(); }
149 virtual void OnListItemActivatedOrdersSent(wxListEvent& event){ event.Skip(); }
150 virtual void OnListItemActivatedProductsSent(wxListEvent& event){ event.Skip(); }
151 virtual void OnListItemActivatedOrdersReceived(wxListEvent& event){ event.Skip(); }
152
153
154public:
155 wxMenu* m_menuOptions;
156 wxListCtrl* m_listCtrl;
157 wxListCtrl* m_listCtrlEscrows;
158 wxListCtrl* m_listCtrlOrdersSent;
159 wxListCtrl* m_listCtrlProductsSent;
160 wxListCtrl* m_listCtrlOrdersReceived;
161 CMainFrameBase(wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = wxT("Bitflash"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(705,484), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);
162 ~CMainFrameBase();
163
164};
165
166///////////////////////////////////////////////////////////////////////////////
167/// Class CTxDetailsDialogBase
168///////////////////////////////////////////////////////////////////////////////
169class CTxDetailsDialogBase : public wxDialog
170{
171private:
172
173protected:
174 wxHtmlWindow* m_htmlWin;
175 wxButton* m_buttonOK;
176
177 // Virtual event handlers, overide them in your derived class
178 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
179
180
181public:
182 CTxDetailsDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Transaction Details"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(620,450), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
183 ~CTxDetailsDialogBase();
184
185};
186
187///////////////////////////////////////////////////////////////////////////////
188/// Class COptionsDialogBase
189///////////////////////////////////////////////////////////////////////////////
190class COptionsDialogBase : public wxDialog
191{
192private:
193
194protected:
195
196 wxStaticText* m_staticText32;
197 wxStaticText* m_staticText31;
198 wxTextCtrl* m_textCtrlTransactionFee;
199 wxButton* m_buttonOK;
200 wxButton* m_buttonCancel;
201
202 // Virtual event handlers, overide them in your derived class
203 virtual void OnKillFocusTransactionFee(wxFocusEvent& event){ event.Skip(); }
204 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
205 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
206
207
208public:
209 COptionsDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500,261), long style = wxDEFAULT_DIALOG_STYLE);
210 ~COptionsDialogBase();
211
212};
213
214///////////////////////////////////////////////////////////////////////////////
215/// Class CAboutDialogBase
216///////////////////////////////////////////////////////////////////////////////
217class CAboutDialogBase : public wxDialog
218{
219private:
220
221protected:
222
223
224 wxStaticText* m_staticText40;
225
226 wxStaticText* m_staticTextMain;
227
228
229 wxButton* m_buttonOK;
230
231 // Virtual event handlers, overide them in your derived class
232 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
233
234
235public:
236 wxStaticText* m_staticTextVersion;
237 CAboutDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Bitflash"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(507,298), long style = wxDEFAULT_DIALOG_STYLE);
238 ~CAboutDialogBase();
239
240};
241
242///////////////////////////////////////////////////////////////////////////////
243/// Class CSendDialogBase
244///////////////////////////////////////////////////////////////////////////////
245class CSendDialogBase : public wxDialog
246{
247private:
248
249protected:
250
251
252 wxStaticText* m_staticText14;
253
254 wxStaticBitmap* m_bitmapCheckMark;
255 wxStaticText* m_staticText36;
256 wxTextCtrl* m_textCtrlAddress;
257 wxButton* m_buttonPaste;
258 wxButton* m_buttonAddress;
259 wxStaticText* m_staticText19;
260 wxTextCtrl* m_textCtrlAmount;
261 wxStaticText* m_staticText20;
262 wxChoice* m_choiceTransferType;
263 wxStaticText* m_staticTextFrom;
264 wxTextCtrl* m_textCtrlFrom;
265 wxStaticText* m_staticTextMessage;
266 wxTextCtrl* m_textCtrlMessage;
267
268 wxButton* m_buttonSend;
269 wxButton* m_buttonCancel;
270
271 // Virtual event handlers, overide them in your derived class
272 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
273 virtual void OnTextAddress(wxCommandEvent& event){ event.Skip(); }
274 virtual void OnButtonPaste(wxCommandEvent& event){ event.Skip(); }
275 virtual void OnButtonAddressBook(wxCommandEvent& event){ event.Skip(); }
276 virtual void OnKillFocusAmount(wxFocusEvent& event){ event.Skip(); }
277 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }
278 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
279
280
281public:
282 CSendDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(675,338), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
283 ~CSendDialogBase();
284
285};
286
287///////////////////////////////////////////////////////////////////////////////
288/// Class CSendingDialogBase
289///////////////////////////////////////////////////////////////////////////////
290class CSendingDialogBase : public wxDialog
291{
292private:
293
294protected:
295 wxStaticText* m_staticTextSending;
296 wxTextCtrl* m_textCtrlStatus;
297
298 wxButton* m_buttonOK;
299 wxButton* m_buttonCancel;
300
301 // Virtual event handlers, overide them in your derived class
302 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
303 virtual void OnPaint(wxPaintEvent& event){ event.Skip(); }
304 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
305 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
306
307
308public:
309 CSendingDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Sending..."), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(442,151), long style = wxDEFAULT_DIALOG_STYLE);
310 ~CSendingDialogBase();
311
312};
313
314///////////////////////////////////////////////////////////////////////////////
315/// Class CYourAddressDialogBase
316///////////////////////////////////////////////////////////////////////////////
317class CYourAddressDialogBase : public wxDialog
318{
319private:
320
321protected:
322
323 wxStaticText* m_staticText45;
324 wxListCtrl* m_listCtrl;
325
326 wxButton* m_buttonRename;
327 wxButton* m_buttonNew;
328 wxButton* m_buttonCopy;
329 wxButton* m_buttonOK;
330 wxButton* m_buttonCancel;
331
332 // Virtual event handlers, overide them in your derived class
333 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
334 virtual void OnListEndLabelEdit(wxListEvent& event){ event.Skip(); }
335 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }
336 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }
337 virtual void OnButtonRename(wxCommandEvent& event){ event.Skip(); }
338 virtual void OnButtonNew(wxCommandEvent& event){ event.Skip(); }
339 virtual void OnButtonCopy(wxCommandEvent& event){ event.Skip(); }
340 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
341 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
342
343
344public:
345 CYourAddressDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Your Bitflash Address"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(610,390), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
346 ~CYourAddressDialogBase();
347
348};
349
350///////////////////////////////////////////////////////////////////////////////
351/// Class CAddressBookDialogBase
352///////////////////////////////////////////////////////////////////////////////
353class CAddressBookDialogBase : public wxDialog
354{
355private:
356
357protected:
358
359 wxStaticText* m_staticText55;
360 wxListCtrl* m_listCtrl;
361
362 wxButton* m_buttonEdit;
363 wxButton* m_buttonNew;
364 wxButton* m_buttonDelete;
365 wxButton* m_buttonOK;
366
367 // Virtual event handlers, overide them in your derived class
368 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
369 virtual void OnListEndLabelEdit(wxListEvent& event){ event.Skip(); }
370 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }
371 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }
372 virtual void OnButtonEdit(wxCommandEvent& event){ event.Skip(); }
373 virtual void OnButtonNew(wxCommandEvent& event){ event.Skip(); }
374 virtual void OnButtonDelete(wxCommandEvent& event){ event.Skip(); }
375 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
376 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
377
378
379public:
380 wxButton* m_buttonCancel;
381 CAddressBookDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(610,390), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
382 ~CAddressBookDialogBase();
383
384};
385
386///////////////////////////////////////////////////////////////////////////////
387/// Class CProductsDialogBase
388///////////////////////////////////////////////////////////////////////////////
389class CProductsDialogBase : public wxDialog
390{
391private:
392
393protected:
394 wxComboBox* m_comboBoxCategory;
395 wxTextCtrl* m_textCtrlSearch;
396 wxButton* m_buttonSearch;
397 wxListCtrl* m_listCtrl;
398
399 // Virtual event handlers, overide them in your derived class
400 virtual void OnCombobox(wxCommandEvent& event){ event.Skip(); }
401 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
402 virtual void OnButtonSearch(wxCommandEvent& event){ event.Skip(); }
403 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }
404
405
406public:
407 CProductsDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Marketplace"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(708,535), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
408 ~CProductsDialogBase();
409
410};
411
412///////////////////////////////////////////////////////////////////////////////
413/// Class CEditProductDialogBase
414///////////////////////////////////////////////////////////////////////////////
415class CEditProductDialogBase : public wxFrame
416{
417private:
418
419protected:
420 wxScrolledWindow* m_scrolledWindow;
421 wxStaticText* m_staticText106;
422 wxComboBox* m_comboBoxCategory;
423 wxStaticText* m_staticText108;
424 wxTextCtrl* m_textCtrlTitle;
425 wxStaticText* m_staticText107;
426 wxTextCtrl* m_textCtrlPrice;
427 wxStaticText* m_staticText22;
428 wxTextCtrl* m_textCtrlDescription;
429 wxStaticText* m_staticText23;
430 wxTextCtrl* m_textCtrlInstructions;
431 wxStaticText* m_staticText24;
432 wxStaticText* m_staticText25;
433
434 wxTextCtrl* m_textCtrlLabel0;
435 wxTextCtrl* m_textCtrlField0;
436 wxButton* m_buttonDel0;
437 wxTextCtrl* m_textCtrlLabel1;
438 wxTextCtrl* m_textCtrlField1;
439 wxButton* m_buttonDel1;
440 wxTextCtrl* m_textCtrlLabel2;
441 wxTextCtrl* m_textCtrlField2;
442 wxButton* m_buttonDel2;
443 wxTextCtrl* m_textCtrlLabel3;
444 wxTextCtrl* m_textCtrlField3;
445 wxButton* m_buttonDel3;
446 wxTextCtrl* m_textCtrlLabel4;
447 wxTextCtrl* m_textCtrlField4;
448 wxButton* m_buttonDel4;
449 wxTextCtrl* m_textCtrlLabel5;
450 wxTextCtrl* m_textCtrlField5;
451 wxButton* m_buttonDel5;
452 wxTextCtrl* m_textCtrlLabel6;
453 wxTextCtrl* m_textCtrlField6;
454 wxButton* m_buttonDel6;
455 wxTextCtrl* m_textCtrlLabel7;
456 wxTextCtrl* m_textCtrlField7;
457 wxButton* m_buttonDel7;
458 wxTextCtrl* m_textCtrlLabel8;
459 wxTextCtrl* m_textCtrlField8;
460 wxButton* m_buttonDel8;
461 wxTextCtrl* m_textCtrlLabel9;
462 wxTextCtrl* m_textCtrlField9;
463 wxButton* m_buttonDel9;
464 wxTextCtrl* m_textCtrlLabel10;
465 wxTextCtrl* m_textCtrlField10;
466 wxButton* m_buttonDel10;
467 wxTextCtrl* m_textCtrlLabel11;
468 wxTextCtrl* m_textCtrlField11;
469 wxButton* m_buttonDel11;
470 wxTextCtrl* m_textCtrlLabel12;
471 wxTextCtrl* m_textCtrlField12;
472 wxButton* m_buttonDel12;
473 wxTextCtrl* m_textCtrlLabel13;
474 wxTextCtrl* m_textCtrlField13;
475 wxButton* m_buttonDel13;
476 wxTextCtrl* m_textCtrlLabel14;
477 wxTextCtrl* m_textCtrlField14;
478 wxButton* m_buttonDel14;
479 wxTextCtrl* m_textCtrlLabel15;
480 wxTextCtrl* m_textCtrlField15;
481 wxButton* m_buttonDel15;
482 wxTextCtrl* m_textCtrlLabel16;
483 wxTextCtrl* m_textCtrlField16;
484 wxButton* m_buttonDel16;
485 wxTextCtrl* m_textCtrlLabel17;
486 wxTextCtrl* m_textCtrlField17;
487 wxButton* m_buttonDel17;
488 wxTextCtrl* m_textCtrlLabel18;
489 wxTextCtrl* m_textCtrlField18;
490 wxButton* m_buttonDel18;
491 wxTextCtrl* m_textCtrlLabel19;
492 wxTextCtrl* m_textCtrlField19;
493 wxButton* m_buttonDel19;
494 wxButton* m_buttonAddField;
495 wxButton* m_buttonOK;
496 wxButton* m_buttonPreview;
497 wxButton* m_buttonCancel;
498
499 // Virtual event handlers, overide them in your derived class
500 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
501 virtual void OnButtonDel0(wxCommandEvent& event){ event.Skip(); }
502 virtual void OnButtonDel1(wxCommandEvent& event){ event.Skip(); }
503 virtual void OnButtonDel2(wxCommandEvent& event){ event.Skip(); }
504 virtual void OnButtonDel3(wxCommandEvent& event){ event.Skip(); }
505 virtual void OnButtonDel4(wxCommandEvent& event){ event.Skip(); }
506 virtual void OnButtonDel5(wxCommandEvent& event){ event.Skip(); }
507 virtual void OnButtonDel6(wxCommandEvent& event){ event.Skip(); }
508 virtual void OnButtonDel7(wxCommandEvent& event){ event.Skip(); }
509 virtual void OnButtonDel8(wxCommandEvent& event){ event.Skip(); }
510 virtual void OnButtonDel9(wxCommandEvent& event){ event.Skip(); }
511 virtual void OnButtonDel10(wxCommandEvent& event){ event.Skip(); }
512 virtual void OnButtonDel11(wxCommandEvent& event){ event.Skip(); }
513 virtual void OnButtonDel12(wxCommandEvent& event){ event.Skip(); }
514 virtual void OnButtonDel13(wxCommandEvent& event){ event.Skip(); }
515 virtual void OnButtonDel14(wxCommandEvent& event){ event.Skip(); }
516 virtual void OnButtonDel15(wxCommandEvent& event){ event.Skip(); }
517 virtual void OnButtonDel16(wxCommandEvent& event){ event.Skip(); }
518 virtual void OnButtonDel17(wxCommandEvent& event){ event.Skip(); }
519 virtual void OnButtonDel18(wxCommandEvent& event){ event.Skip(); }
520 virtual void OnButtonDel19(wxCommandEvent& event){ event.Skip(); }
521 virtual void OnButtonAddField(wxCommandEvent& event){ event.Skip(); }
522 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }
523 virtual void OnButtonPreview(wxCommandEvent& event){ event.Skip(); }
524 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
525
526
527public:
528 wxFlexGridSizer* fgSizer5;
529 CEditProductDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Product"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(660,640), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);
530 ~CEditProductDialogBase();
531
532};
533
534///////////////////////////////////////////////////////////////////////////////
535/// Class CViewProductDialogBase
536///////////////////////////////////////////////////////////////////////////////
537class CViewProductDialogBase : public wxFrame
538{
539private:
540
541protected:
542 wxHtmlWindow* m_htmlWinReviews;
543 wxScrolledWindow* m_scrolledWindow;
544 wxRichTextCtrl* m_richTextHeading;
545 wxStaticText* m_staticTextInstructions;
546 wxButton* m_buttonSubmitForm;
547 wxButton* m_buttonCancelForm;
548 wxButton* m_buttonBack;
549 wxButton* m_buttonNext;
550 wxButton* m_buttonCancel;
551
552 // Virtual event handlers, overide them in your derived class
553 virtual void OnButtonSubmitForm(wxCommandEvent& event){ event.Skip(); }
554 virtual void OnButtonCancelForm(wxCommandEvent& event){ event.Skip(); }
555 virtual void OnButtonBack(wxCommandEvent& event){ event.Skip(); }
556 virtual void OnButtonNext(wxCommandEvent& event){ event.Skip(); }
557 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
558
559
560public:
561 CViewProductDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Order Form"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(630,520), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);
562 ~CViewProductDialogBase();
563
564};
565
566///////////////////////////////////////////////////////////////////////////////
567/// Class CViewOrderDialogBase
568///////////////////////////////////////////////////////////////////////////////
569class CViewOrderDialogBase : public wxFrame
570{
571private:
572
573protected:
574 wxHtmlWindow* m_htmlWin;
575 wxButton* m_buttonOK;
576
577 // Virtual event handlers, overide them in your derived class
578 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
579
580
581public:
582 CViewOrderDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("View Order"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(630,520), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);
583 ~CViewOrderDialogBase();
584
585};
586
587///////////////////////////////////////////////////////////////////////////////
588/// Class CEditReviewDialogBase
589///////////////////////////////////////////////////////////////////////////////
590class CEditReviewDialogBase : public wxFrame
591{
592private:
593
594protected:
595
596 wxStaticText* m_staticTextSeller;
597
598 wxStaticText* m_staticText110;
599 wxChoice* m_choiceStars;
600 wxStaticText* m_staticText43;
601 wxTextCtrl* m_textCtrlReview;
602 wxButton* m_buttonSubmit;
603 wxButton* m_buttonCancel;
604
605 // Virtual event handlers, overide them in your derived class
606 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
607 virtual void OnButtonSubmit(wxCommandEvent& event){ event.Skip(); }
608 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
609
610
611public:
612 CEditReviewDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Enter Review"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(630,440), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);
613 ~CEditReviewDialogBase();
614
615};
616
617///////////////////////////////////////////////////////////////////////////////
618/// Class CPokerLobbyDialogBase
619///////////////////////////////////////////////////////////////////////////////
620class CPokerLobbyDialogBase : public wxFrame
621{
622private:
623
624protected:
625 wxTreeCtrl* m_treeCtrl;
626 wxListCtrl* m_listCtrl;
627 wxButton* m_buttonNewTable;
628
629 // Virtual event handlers, overide them in your derived class
630 virtual void OnTreeSelChanged(wxTreeEvent& event){ event.Skip(); }
631 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }
632 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }
633 virtual void OnButtonNewTable(wxCommandEvent& event){ event.Skip(); }
634
635
636public:
637 CPokerLobbyDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Poker Lobby"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(586,457), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL);
638 ~CPokerLobbyDialogBase();
639
640};
641
642///////////////////////////////////////////////////////////////////////////////
643/// Class CPokerDialogBase
644///////////////////////////////////////////////////////////////////////////////
645class CPokerDialogBase : public wxFrame
646{
647private:
648
649protected:
650 wxButton* m_buttonDealHand;
651 wxButton* m_buttonFold;
652 wxButton* m_buttonCall;
653 wxButton* m_buttonRaise;
654 wxButton* m_buttonLeaveTable;
655 wxTextCtrl* m_textDitchPlayer;
656
657 // Virtual event handlers, overide them in your derived class
658 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
659 virtual void OnMouseEvents(wxMouseEvent& event){ event.Skip(); }
660 virtual void OnPaint(wxPaintEvent& event){ event.Skip(); }
661 virtual void OnSize(wxSizeEvent& event){ event.Skip(); }
662 virtual void OnCheckSitOut(wxCommandEvent& event){ event.Skip(); }
663 virtual void OnButtonDealHand(wxCommandEvent& event){ event.Skip(); }
664 virtual void OnButtonFold(wxCommandEvent& event){ event.Skip(); }
665 virtual void OnButtonCall(wxCommandEvent& event){ event.Skip(); }
666 virtual void OnButtonRaise(wxCommandEvent& event){ event.Skip(); }
667 virtual void OnButtonLeaveTable(wxCommandEvent& event){ event.Skip(); }
668 virtual void OnDitchPlayer(wxCommandEvent& event){ event.Skip(); }
669 virtual void OnCheckPreFold(wxCommandEvent& event){ event.Skip(); }
670 virtual void OnCheckPreCall(wxCommandEvent& event){ event.Skip(); }
671 virtual void OnCheckPreCallAny(wxCommandEvent& event){ event.Skip(); }
672 virtual void OnCheckPreRaise(wxCommandEvent& event){ event.Skip(); }
673 virtual void OnCheckPreRaiseAny(wxCommandEvent& event){ event.Skip(); }
674
675
676public:
677 wxCheckBox* m_checkSitOut;
678 wxCheckBox* m_checkPreFold;
679 wxCheckBox* m_checkPreCall;
680 wxCheckBox* m_checkPreCallAny;
681 wxCheckBox* m_checkPreRaise;
682 wxCheckBox* m_checkPreRaiseAny;
683 wxStatusBar* m_statusBar;
684 CPokerDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Poker"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(806,550), long style = wxDEFAULT_FRAME_STYLE|wxFRAME_NO_TASKBAR|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL);
685 ~CPokerDialogBase();
686
687};
688
689///////////////////////////////////////////////////////////////////////////////
690/// Class CGetTextFromUserDialogBase
691///////////////////////////////////////////////////////////////////////////////
692class CGetTextFromUserDialogBase : public wxDialog
693{
694private:
695
696protected:
697
698 wxStaticText* m_staticTextMessage1;
699 wxTextCtrl* m_textCtrl1;
700 wxStaticText* m_staticTextMessage2;
701 wxTextCtrl* m_textCtrl2;
702
703
704 wxButton* m_buttonOK;
705 wxButton* m_buttonCancel;
706
707 // Virtual event handlers, overide them in your derived class
708 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }
709 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }
710 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }
711 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }
712
713
714public:
715 CGetTextFromUserDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(403,138), long style = wxDEFAULT_DIALOG_STYLE);
716 ~CGetTextFromUserDialogBase();
717
718};
719
720#endif //__uibase__