Research
Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateeCash.com
Bitcoin v0.1.0 · 2009-01-08

uibase.h

720 lines · plain text · MIT license (license.txt)
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 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(); }152153154public: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("Bitcoin"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(705,484), long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER|wxTAB_TRAVERSAL);162    ~CMainFrameBase();163164};165166///////////////////////////////////////////////////////////////////////////////167/// Class CTxDetailsDialogBase168///////////////////////////////////////////////////////////////////////////////169class CTxDetailsDialogBase : public wxDialog170{171private:172173protected:174    wxHtmlWindow* m_htmlWin;175    wxButton* m_buttonOK;176177    // Virtual event handlers, overide them in your derived class178    virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }179180181public: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();184185};186187///////////////////////////////////////////////////////////////////////////////188/// Class COptionsDialogBase189///////////////////////////////////////////////////////////////////////////////190class COptionsDialogBase : public wxDialog191{192private:193194protected:195196    wxStaticText* m_staticText32;197    wxStaticText* m_staticText31;198    wxTextCtrl* m_textCtrlTransactionFee;199    wxButton* m_buttonOK;200    wxButton* m_buttonCancel;201202    // Virtual event handlers, overide them in your derived class203    virtual void OnKillFocusTransactionFee(wxFocusEvent& event){ event.Skip(); }204    virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }205    virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }206207208public: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();211212};213214///////////////////////////////////////////////////////////////////////////////215/// Class CAboutDialogBase216///////////////////////////////////////////////////////////////////////////////217class CAboutDialogBase : public wxDialog218{219private:220221protected:222223224    wxStaticText* m_staticText40;225226    wxStaticText* m_staticTextMain;227228229    wxButton* m_buttonOK;230231    // Virtual event handlers, overide them in your derived class232    virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }233234235public:236    wxStaticText* m_staticTextVersion;237    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);238    ~CAboutDialogBase();239240};241242///////////////////////////////////////////////////////////////////////////////243/// Class CSendDialogBase244///////////////////////////////////////////////////////////////////////////////245class CSendDialogBase : public wxDialog246{247private:248249protected:250251252    wxStaticText* m_staticText14;253254    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;267268    wxButton* m_buttonSend;269    wxButton* m_buttonCancel;270271    // Virtual event handlers, overide them in your derived class272    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(); }279280281public: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();284285};286287///////////////////////////////////////////////////////////////////////////////288/// Class CSendingDialogBase289///////////////////////////////////////////////////////////////////////////////290class CSendingDialogBase : public wxDialog291{292private:293294protected:295    wxStaticText* m_staticTextSending;296    wxTextCtrl* m_textCtrlStatus;297298    wxButton* m_buttonOK;299    wxButton* m_buttonCancel;300301    // Virtual event handlers, overide them in your derived class302    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(); }306307308public: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();311312};313314///////////////////////////////////////////////////////////////////////////////315/// Class CYourAddressDialogBase316///////////////////////////////////////////////////////////////////////////////317class CYourAddressDialogBase : public wxDialog318{319private:320321protected:322323    wxStaticText* m_staticText45;324    wxListCtrl* m_listCtrl;325326    wxButton* m_buttonRename;327    wxButton* m_buttonNew;328    wxButton* m_buttonCopy;329    wxButton* m_buttonOK;330    wxButton* m_buttonCancel;331332    // Virtual event handlers, overide them in your derived class333    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(); }342343344public:345    CYourAddressDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Your Bitcoin Address"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(610,390), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);346    ~CYourAddressDialogBase();347348};349350///////////////////////////////////////////////////////////////////////////////351/// Class CAddressBookDialogBase352///////////////////////////////////////////////////////////////////////////////353class CAddressBookDialogBase : public wxDialog354{355private:356357protected:358359    wxStaticText* m_staticText55;360    wxListCtrl* m_listCtrl;361362    wxButton* m_buttonEdit;363    wxButton* m_buttonNew;364    wxButton* m_buttonDelete;365    wxButton* m_buttonOK;366367    // Virtual event handlers, overide them in your derived class368    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(); }377378379public: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();383384};385386///////////////////////////////////////////////////////////////////////////////387/// Class CProductsDialogBase388///////////////////////////////////////////////////////////////////////////////389class CProductsDialogBase : public wxDialog390{391private:392393protected:394    wxComboBox* m_comboBoxCategory;395    wxTextCtrl* m_textCtrlSearch;396    wxButton* m_buttonSearch;397    wxListCtrl* m_listCtrl;398399    // Virtual event handlers, overide them in your derived class400    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(); }404405406public: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();409410};411412///////////////////////////////////////////////////////////////////////////////413/// Class CEditProductDialogBase414///////////////////////////////////////////////////////////////////////////////415class CEditProductDialogBase : public wxFrame416{417private:418419protected: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;433434    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;498499    // Virtual event handlers, overide them in your derived class500    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(); }525526527public: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();531532};533534///////////////////////////////////////////////////////////////////////////////535/// Class CViewProductDialogBase536///////////////////////////////////////////////////////////////////////////////537class CViewProductDialogBase : public wxFrame538{539private:540541protected: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;551552    // Virtual event handlers, overide them in your derived class553    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(); }558559560public: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();563564};565566///////////////////////////////////////////////////////////////////////////////567/// Class CViewOrderDialogBase568///////////////////////////////////////////////////////////////////////////////569class CViewOrderDialogBase : public wxFrame570{571private:572573protected:574    wxHtmlWindow* m_htmlWin;575    wxButton* m_buttonOK;576577    // Virtual event handlers, overide them in your derived class578    virtual void OnButtonOK(wxCommandEvent& event){ event.Skip(); }579580581public: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();584585};586587///////////////////////////////////////////////////////////////////////////////588/// Class CEditReviewDialogBase589///////////////////////////////////////////////////////////////////////////////590class CEditReviewDialogBase : public wxFrame591{592private:593594protected:595596    wxStaticText* m_staticTextSeller;597598    wxStaticText* m_staticText110;599    wxChoice* m_choiceStars;600    wxStaticText* m_staticText43;601    wxTextCtrl* m_textCtrlReview;602    wxButton* m_buttonSubmit;603    wxButton* m_buttonCancel;604605    // Virtual event handlers, overide them in your derived class606    virtual void OnKeyDown(wxKeyEvent& event){ event.Skip(); }607    virtual void OnButtonSubmit(wxCommandEvent& event){ event.Skip(); }608    virtual void OnButtonCancel(wxCommandEvent& event){ event.Skip(); }609610611public: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();614615};616617///////////////////////////////////////////////////////////////////////////////618/// Class CPokerLobbyDialogBase619///////////////////////////////////////////////////////////////////////////////620class CPokerLobbyDialogBase : public wxFrame621{622private:623624protected:625    wxTreeCtrl* m_treeCtrl;626    wxListCtrl* m_listCtrl;627    wxButton* m_buttonNewTable;628629    // Virtual event handlers, overide them in your derived class630    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(); }634635636public: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();639640};641642///////////////////////////////////////////////////////////////////////////////643/// Class CPokerDialogBase644///////////////////////////////////////////////////////////////////////////////645class CPokerDialogBase : public wxFrame646{647private:648649protected:650    wxButton* m_buttonDealHand;651    wxButton* m_buttonFold;652    wxButton* m_buttonCall;653    wxButton* m_buttonRaise;654    wxButton* m_buttonLeaveTable;655    wxTextCtrl* m_textDitchPlayer;656657    // Virtual event handlers, overide them in your derived class658    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(); }674675676public: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();686687};688689///////////////////////////////////////////////////////////////////////////////690/// Class CGetTextFromUserDialogBase691///////////////////////////////////////////////////////////////////////////////692class CGetTextFromUserDialogBase : public wxDialog693{694private:695696protected:697698    wxStaticText* m_staticTextMessage1;699    wxTextCtrl* m_textCtrl1;700    wxStaticText* m_staticTextMessage2;701    wxTextCtrl* m_textCtrl2;702703704    wxButton* m_buttonOK;705    wxButton* m_buttonCancel;706707    // Virtual event handlers, overide them in your derived class708    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(); }712713714public: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();717718};719720#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.

0:000:00