Bitcoin v0.1.5 · 2009-02-04
uibase.h
1// Copyright (c) 2009 Satoshi Nakamoto2// Distributed under the MIT/X11 software license, see the accompanying3// file license.txt or http://www.opensource.org/licenses/mit-license.php.45///////////////////////////////////////////////////////////////////////////6// C++ code generated with wxFormBuilder (version Apr 16 2008)7// http://www.wxformbuilder.org/8//9// PLEASE DO "NOT" EDIT THIS FILE!10///////////////////////////////////////////////////////////////////////////1112#ifndef __uibase__13#define __uibase__1415#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>4344///////////////////////////////////////////////////////////////////////////4546#define wxID_MAINFRAME 100047#define wxID_OPTIONSGENERATEBITCOINS 100148#define wxID_BUTTONSEND 100249#define wxID_BUTTONRECEIVE 100350#define wxID_TEXTCTRLADDRESS 100451#define wxID_BUTTONCOPY 100552#define wxID_BUTTONCHANGE 100653#define wxID_TRANSACTIONFEE 100754#define wxID_TEXTCTRLPAYTO 100855#define wxID_BUTTONPASTE 100956#define wxID_BUTTONADDRESSBOOK 101057#define wxID_TEXTCTRLAMOUNT 101158#define wxID_CHOICETRANSFERTYPE 101259#define wxID_LISTCTRL 101360#define wxID_BUTTONRENAME 101461#define wxID_BUTTONNEW 101562#define wxID_BUTTONEDIT 101663#define wxID_BUTTONDELETE 101764#define wxID_DEL0 101865#define wxID_DEL1 101966#define wxID_DEL2 102067#define wxID_DEL3 102168#define wxID_DEL4 102269#define wxID_DEL5 102370#define wxID_DEL6 102471#define wxID_DEL7 102572#define wxID_DEL8 102673#define wxID_DEL9 102774#define wxID_DEL10 102875#define wxID_DEL11 102976#define wxID_DEL12 103077#define wxID_DEL13 103178#define wxID_DEL14 103279#define wxID_DEL15 103380#define wxID_DEL16 103481#define wxID_DEL17 103582#define wxID_DEL18 103683#define wxID_DEL19 103784#define wxID_BUTTONPREVIEW 103885#define wxID_BUTTONSAMPLE 103986#define wxID_CANCEL2 104087#define wxID_BUTTONBACK 104188#define wxID_BUTTONNEXT 104289#define wxID_SUBMIT 104390#define wxID_OPENNEWTABLE 104491#define wxID_DEALHAND 104592#define wxID_FOLD 104693#define wxID_CALL 104794#define wxID_RAISE 104895#define wxID_LEAVETABLE 104996#define wxID_DITCHPLAYER 105097#define wxID_TEXTCTRL 10519899///////////////////////////////////////////////////////////////////////////////100/// Class CMainFrameBase101///////////////////////////////////////////////////////////////////////////////102class CMainFrameBase : public wxFrame103{104private:105106protected:107 wxMenuBar* m_menubar;108 wxMenu* m_menuFile;109 wxMenu* m_menuHelp;110 wxToolBar* m_toolBar;111 wxStatusBar* m_statusBar;112113 wxStaticText* m_staticText32;114 wxTextCtrl* m_textCtrlAddress;115 wxButton* m_buttonCopy;116 wxButton* m_button91;117118 wxPanel* m_panel14;119 wxStaticText* m_staticText41;120 wxStaticText* m_staticTextBalance;121122 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;129130 // Virtual event handlers, overide them in your derived class131 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 OnMenuOptionsChangeYourAddress(wxCommandEvent& event){ event.Skip(); }138 virtual void OnMenuOptionsOptions(wxCommandEvent& event){ event.Skip(); }139 virtual void OnMenuHelpAbout(wxCommandEvent& event){ event.Skip(); }140 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }141 virtual void OnButtonAddressBook(wxCommandEvent& event){ event.Skip(); }142 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }143 virtual void OnMouseEventsAddress(wxMouseEvent& event){ event.Skip(); }144 virtual void OnSetFocusAddress(wxFocusEvent& event){ event.Skip(); }145 virtual void OnButtonCopy(wxCommandEvent& event){ event.Skip(); }146 virtual void OnButtonChange(wxCommandEvent& event){ event.Skip(); }147 virtual void OnListColBeginDrag(wxListEvent& event){ event.Skip(); }148 virtual void OnListItemActivatedAllTransactions(wxListEvent& event){ event.Skip(); }149 virtual void OnPaintListCtrl(wxPaintEvent& event){ event.Skip(); }150 virtual void OnListItemActivatedOrdersSent(wxListEvent& event){ event.Skip(); }151 virtual void OnListItemActivatedProductsSent(wxListEvent& event){ event.Skip(); }152 virtual void OnListItemActivatedOrdersReceived(wxListEvent& event){ event.Skip(); }153154155public:156 wxMenu* m_menuOptions;157 wxListCtrl* m_listCtrl;158 wxListCtrl* m_listCtrlEscrows;159 wxListCtrl* m_listCtrlOrdersSent;160 wxListCtrl* m_listCtrlProductsSent;161 wxListCtrl* m_listCtrlOrdersReceived;162 CMainFrameBase(wxWindow* parent, wxWindowID id = wxID_MAINFRAME, const wxString& title = wxT("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(705,484), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);163 ~CMainFrameBase();164165};166167///////////////////////////////////////////////////////////////////////////////168/// Class CTxDetailsDialogBase169///////////////////////////////////////////////////////////////////////////////170class CTxDetailsDialogBase : public wxDialog171{172private:173174protected:175 wxHtmlWindow* m_htmlWin;176 wxButton* m_buttonOK;177178 // Virtual event handlers, overide them in your derived class179 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }180181182public:183 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);184 ~CTxDetailsDialogBase();185186};187188///////////////////////////////////////////////////////////////////////////////189/// Class COptionsDialogBase190///////////////////////////////////////////////////////////////////////////////191class COptionsDialogBase : public wxDialog192{193private:194195protected:196197 wxStaticText* m_staticText32;198 wxStaticText* m_staticText31;199 wxTextCtrl* m_textCtrlTransactionFee;200 wxButton* m_buttonOK;201 wxButton* m_buttonCancel;202203 // Virtual event handlers, overide them in your derived class204 virtual void OnKillFocusTransactionFee(wxFocusEvent& event){ event.Skip(); }205 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }206 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }207208209public:210 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);211 ~COptionsDialogBase();212213};214215///////////////////////////////////////////////////////////////////////////////216/// Class CAboutDialogBase217///////////////////////////////////////////////////////////////////////////////218class CAboutDialogBase : public wxDialog219{220private:221222protected:223224225 wxStaticText* m_staticText40;226227 wxStaticText* m_staticTextMain;228229230 wxButton* m_buttonOK;231232 // Virtual event handlers, overide them in your derived class233 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }234235236public:237 wxStaticText* m_staticTextVersion;238 CAboutDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(507,298), long style = wxDEFAULT_DIALOG_STYLE);239 ~CAboutDialogBase();240241};242243///////////////////////////////////////////////////////////////////////////////244/// Class CSendDialogBase245///////////////////////////////////////////////////////////////////////////////246class CSendDialogBase : public wxDialog247{248private:249250protected:251252253 wxStaticText* m_staticText14;254255 wxStaticBitmap* m_bitmapCheckMark;256 wxStaticText* m_staticText36;257 wxTextCtrl* m_textCtrlAddress;258 wxButton* m_buttonPaste;259 wxButton* m_buttonAddress;260 wxStaticText* m_staticText19;261 wxTextCtrl* m_textCtrlAmount;262 wxStaticText* m_staticText20;263 wxChoice* m_choiceTransferType;264265266 wxStaticText* m_staticTextFrom;267 wxTextCtrl* m_textCtrlFrom;268 wxStaticText* m_staticTextMessage;269 wxTextCtrl* m_textCtrlMessage;270271 wxButton* m_buttonSend;272 wxButton* m_buttonCancel;273274 // Virtual event handlers, overide them in your derived class275 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }276 virtual void OnTextAddress(wxCommandEvent& event){ event.Skip(); }277 virtual void OnButtonPaste(wxCommandEvent& event){ event.Skip(); }278 virtual void OnButtonAddressBook(wxCommandEvent& event){ event.Skip(); }279 virtual void OnKillFocusAmount(wxFocusEvent& event){ event.Skip(); }280 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }281 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }282283284public:285 CSendDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Send Coins"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(675,312), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);286 ~CSendDialogBase();287288};289290///////////////////////////////////////////////////////////////////////////////291/// Class CSendingDialogBase292///////////////////////////////////////////////////////////////////////////////293class CSendingDialogBase : public wxDialog294{295private:296297protected:298 wxStaticText* m_staticTextSending;299 wxTextCtrl* m_textCtrlStatus;300301 wxButton* m_buttonOK;302 wxButton* m_buttonCancel;303304 // Virtual event handlers, overide them in your derived class305 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }306 virtual void OnPaint(wxPaintEvent& event){ event.Skip(); }307 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }308 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }309310311public:312 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);313 ~CSendingDialogBase();314315};316317///////////////////////////////////////////////////////////////////////////////318/// Class CYourAddressDialogBase319///////////////////////////////////////////////////////////////////////////////320class CYourAddressDialogBase : public wxDialog321{322private:323324protected:325326 wxStaticText* m_staticText45;327 wxListCtrl* m_listCtrl;328329 wxButton* m_buttonRename;330 wxButton* m_buttonNew;331 wxButton* m_buttonCopy;332 wxButton* m_buttonOK;333 wxButton* m_buttonCancel;334335 // Virtual event handlers, overide them in your derived class336 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }337 virtual void OnListEndLabelEdit(wxListEvent& event){ event.Skip(); }338 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }339 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }340 virtual void OnButtonRename(wxCommandEvent& event){ event.Skip(); }341 virtual void OnButtonNew(wxCommandEvent& event){ event.Skip(); }342 virtual void OnButtonCopy(wxCommandEvent& event){ event.Skip(); }343 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }344 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }345346347public:348 CYourAddressDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Your Bitcoin Addresses"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(610,390), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);349 ~CYourAddressDialogBase();350351};352353///////////////////////////////////////////////////////////////////////////////354/// Class CAddressBookDialogBase355///////////////////////////////////////////////////////////////////////////////356class CAddressBookDialogBase : public wxDialog357{358private:359360protected:361362 wxStaticText* m_staticText55;363 wxListCtrl* m_listCtrl;364365 wxButton* m_buttonEdit;366 wxButton* m_buttonNew;367 wxButton* m_buttonDelete;368 wxButton* m_buttonOK;369370 // Virtual event handlers, overide them in your derived class371 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }372 virtual void OnListEndLabelEdit(wxListEvent& event){ event.Skip(); }373 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }374 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }375 virtual void OnButtonEdit(wxCommandEvent& event){ event.Skip(); }376 virtual void OnButtonNew(wxCommandEvent& event){ event.Skip(); }377 virtual void OnButtonDelete(wxCommandEvent& event){ event.Skip(); }378 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }379 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }380381382public:383 wxButton* m_buttonCancel;384 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);385 ~CAddressBookDialogBase();386387};388389///////////////////////////////////////////////////////////////////////////////390/// Class CProductsDialogBase391///////////////////////////////////////////////////////////////////////////////392class CProductsDialogBase : public wxDialog393{394private:395396protected:397 wxComboBox* m_comboBoxCategory;398 wxTextCtrl* m_textCtrlSearch;399 wxButton* m_buttonSearch;400 wxListCtrl* m_listCtrl;401402 // Virtual event handlers, overide them in your derived class403 virtual void OnCombobox(wxCommandEvent& event){ event.Skip(); }404 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }405 virtual void OnButtonSearch(wxCommandEvent& event){ event.Skip(); }406 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }407408409public:410 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);411 ~CProductsDialogBase();412413};414415///////////////////////////////////////////////////////////////////////////////416/// Class CEditProductDialogBase417///////////////////////////////////////////////////////////////////////////////418class CEditProductDialogBase : public wxFrame419{420private:421422protected:423 wxScrolledWindow* m_scrolledWindow;424 wxStaticText* m_staticText106;425 wxComboBox* m_comboBoxCategory;426 wxStaticText* m_staticText108;427 wxTextCtrl* m_textCtrlTitle;428 wxStaticText* m_staticText107;429 wxTextCtrl* m_textCtrlPrice;430 wxStaticText* m_staticText22;431 wxTextCtrl* m_textCtrlDescription;432 wxStaticText* m_staticText23;433 wxTextCtrl* m_textCtrlInstructions;434 wxStaticText* m_staticText24;435 wxStaticText* m_staticText25;436437 wxTextCtrl* m_textCtrlLabel0;438 wxTextCtrl* m_textCtrlField0;439 wxButton* m_buttonDel0;440 wxTextCtrl* m_textCtrlLabel1;441 wxTextCtrl* m_textCtrlField1;442 wxButton* m_buttonDel1;443 wxTextCtrl* m_textCtrlLabel2;444 wxTextCtrl* m_textCtrlField2;445 wxButton* m_buttonDel2;446 wxTextCtrl* m_textCtrlLabel3;447 wxTextCtrl* m_textCtrlField3;448 wxButton* m_buttonDel3;449 wxTextCtrl* m_textCtrlLabel4;450 wxTextCtrl* m_textCtrlField4;451 wxButton* m_buttonDel4;452 wxTextCtrl* m_textCtrlLabel5;453 wxTextCtrl* m_textCtrlField5;454 wxButton* m_buttonDel5;455 wxTextCtrl* m_textCtrlLabel6;456 wxTextCtrl* m_textCtrlField6;457 wxButton* m_buttonDel6;458 wxTextCtrl* m_textCtrlLabel7;459 wxTextCtrl* m_textCtrlField7;460 wxButton* m_buttonDel7;461 wxTextCtrl* m_textCtrlLabel8;462 wxTextCtrl* m_textCtrlField8;463 wxButton* m_buttonDel8;464 wxTextCtrl* m_textCtrlLabel9;465 wxTextCtrl* m_textCtrlField9;466 wxButton* m_buttonDel9;467 wxTextCtrl* m_textCtrlLabel10;468 wxTextCtrl* m_textCtrlField10;469 wxButton* m_buttonDel10;470 wxTextCtrl* m_textCtrlLabel11;471 wxTextCtrl* m_textCtrlField11;472 wxButton* m_buttonDel11;473 wxTextCtrl* m_textCtrlLabel12;474 wxTextCtrl* m_textCtrlField12;475 wxButton* m_buttonDel12;476 wxTextCtrl* m_textCtrlLabel13;477 wxTextCtrl* m_textCtrlField13;478 wxButton* m_buttonDel13;479 wxTextCtrl* m_textCtrlLabel14;480 wxTextCtrl* m_textCtrlField14;481 wxButton* m_buttonDel14;482 wxTextCtrl* m_textCtrlLabel15;483 wxTextCtrl* m_textCtrlField15;484 wxButton* m_buttonDel15;485 wxTextCtrl* m_textCtrlLabel16;486 wxTextCtrl* m_textCtrlField16;487 wxButton* m_buttonDel16;488 wxTextCtrl* m_textCtrlLabel17;489 wxTextCtrl* m_textCtrlField17;490 wxButton* m_buttonDel17;491 wxTextCtrl* m_textCtrlLabel18;492 wxTextCtrl* m_textCtrlField18;493 wxButton* m_buttonDel18;494 wxTextCtrl* m_textCtrlLabel19;495 wxTextCtrl* m_textCtrlField19;496 wxButton* m_buttonDel19;497 wxButton* m_buttonAddField;498 wxButton* m_buttonOK;499 wxButton* m_buttonPreview;500 wxButton* m_buttonCancel;501502 // Virtual event handlers, overide them in your derived class503 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }504 virtual void OnButtonDel0(wxCommandEvent& event){ event.Skip(); }505 virtual void OnButtonDel1(wxCommandEvent& event){ event.Skip(); }506 virtual void OnButtonDel2(wxCommandEvent& event){ event.Skip(); }507 virtual void OnButtonDel3(wxCommandEvent& event){ event.Skip(); }508 virtual void OnButtonDel4(wxCommandEvent& event){ event.Skip(); }509 virtual void OnButtonDel5(wxCommandEvent& event){ event.Skip(); }510 virtual void OnButtonDel6(wxCommandEvent& event){ event.Skip(); }511 virtual void OnButtonDel7(wxCommandEvent& event){ event.Skip(); }512 virtual void OnButtonDel8(wxCommandEvent& event){ event.Skip(); }513 virtual void OnButtonDel9(wxCommandEvent& event){ event.Skip(); }514 virtual void OnButtonDel10(wxCommandEvent& event){ event.Skip(); }515 virtual void OnButtonDel11(wxCommandEvent& event){ event.Skip(); }516 virtual void OnButtonDel12(wxCommandEvent& event){ event.Skip(); }517 virtual void OnButtonDel13(wxCommandEvent& event){ event.Skip(); }518 virtual void OnButtonDel14(wxCommandEvent& event){ event.Skip(); }519 virtual void OnButtonDel15(wxCommandEvent& event){ event.Skip(); }520 virtual void OnButtonDel16(wxCommandEvent& event){ event.Skip(); }521 virtual void OnButtonDel17(wxCommandEvent& event){ event.Skip(); }522 virtual void OnButtonDel18(wxCommandEvent& event){ event.Skip(); }523 virtual void OnButtonDel19(wxCommandEvent& event){ event.Skip(); }524 virtual void OnButtonAddField(wxCommandEvent& event){ event.Skip(); }525 virtual void OnButtonSend(wxCommandEvent& event){ event.Skip(); }526 virtual void OnButtonPreview(wxCommandEvent& event){ event.Skip(); }527 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }528529530public:531 wxFlexGridSizer* fgSizer5;532 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);533 ~CEditProductDialogBase();534535};536537///////////////////////////////////////////////////////////////////////////////538/// Class CViewProductDialogBase539///////////////////////////////////////////////////////////////////////////////540class CViewProductDialogBase : public wxFrame541{542private:543544protected:545 wxHtmlWindow* m_htmlWinReviews;546 wxScrolledWindow* m_scrolledWindow;547 wxRichTextCtrl* m_richTextHeading;548 wxStaticText* m_staticTextInstructions;549 wxButton* m_buttonSubmitForm;550 wxButton* m_buttonCancelForm;551 wxButton* m_buttonBack;552 wxButton* m_buttonNext;553 wxButton* m_buttonCancel;554555 // Virtual event handlers, overide them in your derived class556 virtual void OnButtonSubmitForm(wxCommandEvent& event){ event.Skip(); }557 virtual void OnButtonCancelForm(wxCommandEvent& event){ event.Skip(); }558 virtual void OnButtonBack(wxCommandEvent& event){ event.Skip(); }559 virtual void OnButtonNext(wxCommandEvent& event){ event.Skip(); }560 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }561562563public:564 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);565 ~CViewProductDialogBase();566567};568569///////////////////////////////////////////////////////////////////////////////570/// Class CViewOrderDialogBase571///////////////////////////////////////////////////////////////////////////////572class CViewOrderDialogBase : public wxFrame573{574private:575576protected:577 wxHtmlWindow* m_htmlWin;578 wxButton* m_buttonOK;579580 // Virtual event handlers, overide them in your derived class581 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }582583584public:585 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);586 ~CViewOrderDialogBase();587588};589590///////////////////////////////////////////////////////////////////////////////591/// Class CEditReviewDialogBase592///////////////////////////////////////////////////////////////////////////////593class CEditReviewDialogBase : public wxFrame594{595private:596597protected:598599 wxStaticText* m_staticTextSeller;600601 wxStaticText* m_staticText110;602 wxChoice* m_choiceStars;603 wxStaticText* m_staticText43;604 wxTextCtrl* m_textCtrlReview;605 wxButton* m_buttonSubmit;606 wxButton* m_buttonCancel;607608 // Virtual event handlers, overide them in your derived class609 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }610 virtual void OnButtonSubmit(wxCommandEvent& event){ event.Skip(); }611 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }612613614public:615 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);616 ~CEditReviewDialogBase();617618};619620///////////////////////////////////////////////////////////////////////////////621/// Class CPokerLobbyDialogBase622///////////////////////////////////////////////////////////////////////////////623class CPokerLobbyDialogBase : public wxFrame624{625private:626627protected:628 wxTreeCtrl* m_treeCtrl;629 wxListCtrl* m_listCtrl;630 wxButton* m_buttonNewTable;631632 // Virtual event handlers, overide them in your derived class633 virtual void OnTreeSelChanged(wxTreeEvent& event){ event.Skip(); }634 virtual void OnListItemActivated(wxListEvent& event){ event.Skip(); }635 virtual void OnListItemSelected(wxListEvent& event){ event.Skip(); }636 virtual void OnButtonNewTable(wxCommandEvent& event){ event.Skip(); }637638639public:640 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);641 ~CPokerLobbyDialogBase();642643};644645///////////////////////////////////////////////////////////////////////////////646/// Class CPokerDialogBase647///////////////////////////////////////////////////////////////////////////////648class CPokerDialogBase : public wxFrame649{650private:651652protected:653 wxButton* m_buttonDealHand;654 wxButton* m_buttonFold;655 wxButton* m_buttonCall;656 wxButton* m_buttonRaise;657 wxButton* m_buttonLeaveTable;658 wxTextCtrl* m_textDitchPlayer;659660 // Virtual event handlers, overide them in your derived class661 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }662 virtual void OnMouseEvents(wxMouseEvent& event){ event.Skip(); }663 virtual void OnPaint(wxPaintEvent& event){ event.Skip(); }664 virtual void OnSize(wxSizeEvent& event){ event.Skip(); }665 virtual void OnCheckSitOut(wxCommandEvent& event){ event.Skip(); }666 virtual void OnButtonDealHand(wxCommandEvent& event){ event.Skip(); }667 virtual void OnButtonFold(wxCommandEvent& event){ event.Skip(); }668 virtual void OnButtonCall(wxCommandEvent& event){ event.Skip(); }669 virtual void OnButtonRaise(wxCommandEvent& event){ event.Skip(); }670 virtual void OnButtonLeaveTable(wxCommandEvent& event){ event.Skip(); }671 virtual void OnDitchPlayer(wxCommandEvent& event){ event.Skip(); }672 virtual void OnCheckPreFold(wxCommandEvent& event){ event.Skip(); }673 virtual void OnCheckPreCall(wxCommandEvent& event){ event.Skip(); }674 virtual void OnCheckPreCallAny(wxCommandEvent& event){ event.Skip(); }675 virtual void OnCheckPreRaise(wxCommandEvent& event){ event.Skip(); }676 virtual void OnCheckPreRaiseAny(wxCommandEvent& event){ event.Skip(); }677678679public:680 wxCheckBox* m_checkSitOut;681 wxCheckBox* m_checkPreFold;682 wxCheckBox* m_checkPreCall;683 wxCheckBox* m_checkPreCallAny;684 wxCheckBox* m_checkPreRaise;685 wxCheckBox* m_checkPreRaiseAny;686 wxStatusBar* m_statusBar;687 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);688 ~CPokerDialogBase();689690};691692///////////////////////////////////////////////////////////////////////////////693/// Class CGetTextFromUserDialogBase694///////////////////////////////////////////////////////////////////////////////695class CGetTextFromUserDialogBase : public wxDialog696{697private:698699protected:700701 wxStaticText* m_staticTextMessage1;702 wxTextCtrl* m_textCtrl1;703 wxStaticText* m_staticTextMessage2;704 wxTextCtrl* m_textCtrl2;705706707 wxButton* m_buttonOK;708 wxButton* m_buttonCancel;709710 // Virtual event handlers, overide them in your derived class711 virtual void OnClose(wxCloseEvent& event){ event.Skip(); }712 virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }713 virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }714 virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }715716717public:718 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);719 ~CGetTextFromUserDialogBase();720721};722723#endif //__uibase__
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
