UI: Update ZRCola.fbp
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
74e95b95b5
commit
9f128a96d1
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,11 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Aug 8 2018)
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef __ZRCOLAGUI_H__
|
#pragma once
|
||||||
#define __ZRCOLAGUI_H__
|
|
||||||
|
|
||||||
#include <wx/artprov.h>
|
#include <wx/artprov.h>
|
||||||
#include <wx/xrc/xmlres.h>
|
#include <wx/xrc/xmlres.h>
|
||||||
@ -55,10 +54,10 @@ class wxZRColaComposerPanel;
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaFrameBase
|
/// Class wxZRColaFrameBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaFrameBase : public wxFrame
|
class wxZRColaFrameBase : public wxFrame
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -79,7 +78,7 @@ class wxZRColaFrameBase : public wxFrame
|
|||||||
wxID_HELP_UPDATE,
|
wxID_HELP_UPDATE,
|
||||||
wxID_COMPOSITION_TOOLBAR
|
wxID_COMPOSITION_TOOLBAR
|
||||||
};
|
};
|
||||||
|
|
||||||
wxMenuBar* m_menubar;
|
wxMenuBar* m_menubar;
|
||||||
wxMenu* m_menuProgram;
|
wxMenu* m_menuProgram;
|
||||||
wxMenu* m_menuEdit;
|
wxMenu* m_menuEdit;
|
||||||
@ -88,48 +87,48 @@ class wxZRColaFrameBase : public wxFrame
|
|||||||
wxMenu* m_menuView;
|
wxMenu* m_menuView;
|
||||||
wxMenu* m_menuHelp;
|
wxMenu* m_menuHelp;
|
||||||
wxAuiToolBar* m_toolbarEdit;
|
wxAuiToolBar* m_toolbarEdit;
|
||||||
wxAuiToolBarItem* m_toolEditCut;
|
wxAuiToolBarItem* m_toolEditCut;
|
||||||
wxAuiToolBarItem* m_toolEditCopy;
|
wxAuiToolBarItem* m_toolEditCopy;
|
||||||
wxAuiToolBarItem* m_toolEditPaste;
|
wxAuiToolBarItem* m_toolEditPaste;
|
||||||
wxAuiToolBar* m_toolbarTranslate;
|
wxAuiToolBar* m_toolbarTranslate;
|
||||||
wxAuiToolBarItem* m_toolCharSelect;
|
wxAuiToolBarItem* m_toolCharSelect;
|
||||||
wxAuiToolBarItem* m_toolSendDestination;
|
wxAuiToolBarItem* m_toolSendDestination;
|
||||||
wxAuiToolBarItem* m_toolSendSource;
|
wxAuiToolBarItem* m_toolSendSource;
|
||||||
wxAuiToolBarItem* m_toolComposition;
|
wxAuiToolBarItem* m_toolComposition;
|
||||||
wxChoice* m_toolTranslationSeq;
|
wxChoice* m_toolTranslationSeq;
|
||||||
wxZRColaCharacterCatalogPanel* m_panelChrCat;
|
wxZRColaCharacterCatalogPanel* m_panelChrCat;
|
||||||
wxStatusBar* m_statusBar;
|
wxStatusBar* m_statusBar;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
||||||
virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
|
virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnTranslationSeqChoice( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnTranslationSeqChoice( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxZRColaComposerPanel* m_panel;
|
wxZRColaComposerPanel* m_panel;
|
||||||
|
|
||||||
wxZRColaFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 600,400 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL, const wxString& name = wxT("ZRCola") );
|
wxZRColaFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 600,400 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL, const wxString& name = wxT("ZRCola") );
|
||||||
wxAuiManager m_mgr;
|
wxAuiManager m_mgr;
|
||||||
|
|
||||||
~wxZRColaFrameBase();
|
~wxZRColaFrameBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaComposerPanelBase
|
/// Class wxZRColaComposerPanelBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaComposerPanelBase : public wxPanel
|
class wxZRColaComposerPanelBase : public wxPanel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
wxID_TIMER_SAVE = 1000
|
wxID_TIMER_SAVE = 1000
|
||||||
};
|
};
|
||||||
|
|
||||||
wxSplitterWindow* m_splitterSource;
|
wxSplitterWindow* m_splitterSource;
|
||||||
wxPanel* m_panelSourceEdit;
|
wxPanel* m_panelSourceEdit;
|
||||||
wxPanel* m_panelSourceHex;
|
wxPanel* m_panelSourceHex;
|
||||||
@ -139,7 +138,7 @@ class wxZRColaComposerPanelBase : public wxPanel
|
|||||||
wxPanel* m_panelDestinationHex;
|
wxPanel* m_panelDestinationHex;
|
||||||
wxTextCtrl* m_destinationHex;
|
wxTextCtrl* m_destinationHex;
|
||||||
wxTimer m_timerSave;
|
wxTimer m_timerSave;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnSourcePaint( wxPaintEvent& event ) { event.Skip(); }
|
virtual void OnSourcePaint( wxPaintEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSourceText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSourceText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
@ -148,62 +147,62 @@ class wxZRColaComposerPanelBase : public wxPanel
|
|||||||
virtual void OnDestinationText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnDestinationText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnDestinationHexPaint( wxPaintEvent& event ) { event.Skip(); }
|
virtual void OnDestinationHexPaint( wxPaintEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSaveTimer( wxTimerEvent& event ) { event.Skip(); }
|
virtual void OnSaveTimer( wxTimerEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxTextCtrl* m_source;
|
wxTextCtrl* m_source;
|
||||||
wxTextCtrl* m_destination;
|
wxTextCtrl* m_destination;
|
||||||
|
|
||||||
wxZRColaComposerPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaComposerPanel") );
|
wxZRColaComposerPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaComposerPanel") );
|
||||||
~wxZRColaComposerPanelBase();
|
~wxZRColaComposerPanelBase();
|
||||||
|
|
||||||
void m_splitterSourceOnIdle( wxIdleEvent& )
|
void m_splitterSourceOnIdle( wxIdleEvent& )
|
||||||
{
|
{
|
||||||
m_splitterSource->SetSashPosition( -5 );
|
m_splitterSource->SetSashPosition( -5 );
|
||||||
m_splitterSource->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterSourceOnIdle ), NULL, this );
|
m_splitterSource->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterSourceOnIdle ), NULL, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
void m_splitterDestinationOnIdle( wxIdleEvent& )
|
void m_splitterDestinationOnIdle( wxIdleEvent& )
|
||||||
{
|
{
|
||||||
m_splitterDestination->SetSashPosition( -5 );
|
m_splitterDestination->SetSashPosition( -5 );
|
||||||
m_splitterDestination->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterDestinationOnIdle ), NULL, this );
|
m_splitterDestination->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterDestinationOnIdle ), NULL, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharacterCatalogPanelBase
|
/// Class wxZRColaCharacterCatalogPanelBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharacterCatalogPanelBase : public wxPanel
|
class wxZRColaCharacterCatalogPanelBase : public wxPanel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxChoice* m_choice;
|
wxChoice* m_choice;
|
||||||
wxZRColaCharGrid* m_grid;
|
wxZRColaCharGrid* m_grid;
|
||||||
wxCheckBox* m_show_all;
|
wxCheckBox* m_show_all;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnChoice( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnChoice( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnGridClick( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnGridClick( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnGridKeyDown( wxKeyEvent& event ) { event.Skip(); }
|
virtual void OnGridKeyDown( wxKeyEvent& event ) { event.Skip(); }
|
||||||
virtual void OnShowAll( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnShowAll( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharacterCatalogPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaCharacterCatalog") );
|
wxZRColaCharacterCatalogPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaCharacterCatalog") );
|
||||||
~wxZRColaCharacterCatalogPanelBase();
|
~wxZRColaCharacterCatalogPanelBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharSelectBase
|
/// Class wxZRColaCharSelectBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharSelectBase : public wxDialog
|
class wxZRColaCharSelectBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxSearchCtrl* m_search;
|
wxSearchCtrl* m_search;
|
||||||
wxHyperlinkCtrl* m_search_more;
|
wxHyperlinkCtrl* m_search_more;
|
||||||
@ -225,7 +224,7 @@ class wxZRColaCharSelectBase : public wxDialog
|
|||||||
wxHyperlinkCtrl* m_navigateForward;
|
wxHyperlinkCtrl* m_navigateForward;
|
||||||
wxZRColaCharGrid* m_gridRelated;
|
wxZRColaCharGrid* m_gridRelated;
|
||||||
wxButton* m_buttonInsert;
|
wxButton* m_buttonInsert;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSearchText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSearchText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
@ -247,22 +246,22 @@ class wxZRColaCharSelectBase : public wxDialog
|
|||||||
virtual void OnRelatedSelectCell( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnRelatedSelectCell( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnInsert( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnInsert( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnInsertUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnInsertUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharSelectBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Character Search"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharSelect") );
|
wxZRColaCharSelectBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Character Search"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharSelect") );
|
||||||
~wxZRColaCharSelectBase();
|
~wxZRColaCharSelectBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaSettingsBase
|
/// Class wxZRColaSettingsBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaSettingsBase : public wxDialog
|
class wxZRColaSettingsBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxListbook* m_listbook;
|
wxListbook* m_listbook;
|
||||||
wxPanel* m_panelLanguage;
|
wxPanel* m_panelLanguage;
|
||||||
@ -277,28 +276,28 @@ class wxZRColaSettingsBase : public wxDialog
|
|||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsApply;
|
wxButton* m_sdbSizerButtonsApply;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
||||||
virtual void OnLanguageUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnLanguageUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
virtual void OnApplyButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnApplyButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaSettings") );
|
wxZRColaSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaSettings") );
|
||||||
~wxZRColaSettingsBase();
|
~wxZRColaSettingsBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaAboutBase
|
/// Class wxZRColaAboutBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaAboutBase : public wxDialog
|
class wxZRColaAboutBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticBitmap* m_bitmapIcon;
|
wxStaticBitmap* m_bitmapIcon;
|
||||||
wxStaticText* m_staticTextZRCola;
|
wxStaticText* m_staticTextZRCola;
|
||||||
@ -310,46 +309,46 @@ class wxZRColaAboutBase : public wxDialog
|
|||||||
wxTextCtrl* m_declaration;
|
wxTextCtrl* m_declaration;
|
||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaAboutBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaAbout") );
|
wxZRColaAboutBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaAbout") );
|
||||||
~wxZRColaAboutBase();
|
~wxZRColaAboutBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaUpdaterBase
|
/// Class wxZRColaUpdaterBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaUpdaterBase : public wxDialog
|
class wxZRColaUpdaterBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxTextCtrl* m_log;
|
wxTextCtrl* m_log;
|
||||||
wxButton* m_buttonUpdate;
|
wxButton* m_buttonUpdate;
|
||||||
wxButton* m_buttonClose;
|
wxButton* m_buttonClose;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnUpdate( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnUpdate( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnClose( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnClose( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaUpdaterBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Product Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaUpdater") );
|
wxZRColaUpdaterBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Product Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaUpdater") );
|
||||||
~wxZRColaUpdaterBase();
|
~wxZRColaUpdaterBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharRequestBase
|
/// Class wxZRColaCharRequestBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharRequestBase : public wxDialog
|
class wxZRColaCharRequestBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticText* m_characterLbl;
|
wxStaticText* m_characterLbl;
|
||||||
wxTextCtrl* m_character;
|
wxTextCtrl* m_character;
|
||||||
@ -360,25 +359,25 @@ class wxZRColaCharRequestBase : public wxDialog
|
|||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharRequestBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Request a New Character"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharRequest") );
|
wxZRColaCharRequestBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Request a New Character"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharRequest") );
|
||||||
~wxZRColaCharRequestBase();
|
~wxZRColaCharRequestBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaTranslationSeqBase
|
/// Class wxZRColaTranslationSeqBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaTranslationSeqBase : public wxDialog
|
class wxZRColaTranslationSeqBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticText* m_transLbl;
|
wxStaticText* m_transLbl;
|
||||||
wxStaticText* m_availableLbl;
|
wxStaticText* m_availableLbl;
|
||||||
@ -392,7 +391,7 @@ class wxZRColaTranslationSeqBase : public wxDialog
|
|||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
||||||
virtual void OnUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
@ -405,13 +404,12 @@ class wxZRColaTranslationSeqBase : public wxDialog
|
|||||||
virtual void OnSelectedUp( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSelectedUp( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSelectedDown( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSelectedDown( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaTranslationSeqBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Custom Translation Sequence"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaTranslationSeq") );
|
wxZRColaTranslationSeqBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Custom Translation Sequence"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaTranslationSeq") );
|
||||||
~wxZRColaTranslationSeqBase();
|
~wxZRColaTranslationSeqBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__ZRCOLAGUI_H__
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,11 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Aug 8 2018)
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO *NOT* EDIT THIS FILE!
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef __ZRCOLAGUI_H__
|
#pragma once
|
||||||
#define __ZRCOLAGUI_H__
|
|
||||||
|
|
||||||
#include <wx/artprov.h>
|
#include <wx/artprov.h>
|
||||||
#include <wx/xrc/xmlres.h>
|
#include <wx/xrc/xmlres.h>
|
||||||
@ -55,10 +54,10 @@ class wxZRColaComposerPanel;
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaFrameBase
|
/// Class wxZRColaFrameBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaFrameBase : public wxFrame
|
class wxZRColaFrameBase : public wxFrame
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -79,7 +78,7 @@ class wxZRColaFrameBase : public wxFrame
|
|||||||
wxID_HELP_UPDATE,
|
wxID_HELP_UPDATE,
|
||||||
wxID_COMPOSITION_TOOLBAR
|
wxID_COMPOSITION_TOOLBAR
|
||||||
};
|
};
|
||||||
|
|
||||||
wxMenuBar* m_menubar;
|
wxMenuBar* m_menubar;
|
||||||
wxMenu* m_menuProgram;
|
wxMenu* m_menuProgram;
|
||||||
wxMenu* m_menuEdit;
|
wxMenu* m_menuEdit;
|
||||||
@ -88,48 +87,48 @@ class wxZRColaFrameBase : public wxFrame
|
|||||||
wxMenu* m_menuView;
|
wxMenu* m_menuView;
|
||||||
wxMenu* m_menuHelp;
|
wxMenu* m_menuHelp;
|
||||||
wxAuiToolBar* m_toolbarEdit;
|
wxAuiToolBar* m_toolbarEdit;
|
||||||
wxAuiToolBarItem* m_toolEditCut;
|
wxAuiToolBarItem* m_toolEditCut;
|
||||||
wxAuiToolBarItem* m_toolEditCopy;
|
wxAuiToolBarItem* m_toolEditCopy;
|
||||||
wxAuiToolBarItem* m_toolEditPaste;
|
wxAuiToolBarItem* m_toolEditPaste;
|
||||||
wxAuiToolBar* m_toolbarTranslate;
|
wxAuiToolBar* m_toolbarTranslate;
|
||||||
wxAuiToolBarItem* m_toolCharSelect;
|
wxAuiToolBarItem* m_toolCharSelect;
|
||||||
wxAuiToolBarItem* m_toolSendDestination;
|
wxAuiToolBarItem* m_toolSendDestination;
|
||||||
wxAuiToolBarItem* m_toolSendSource;
|
wxAuiToolBarItem* m_toolSendSource;
|
||||||
wxAuiToolBarItem* m_toolComposition;
|
wxAuiToolBarItem* m_toolComposition;
|
||||||
wxChoice* m_toolTranslationSeq;
|
wxChoice* m_toolTranslationSeq;
|
||||||
wxZRColaCharacterCatalogPanel* m_panelChrCat;
|
wxZRColaCharacterCatalogPanel* m_panelChrCat;
|
||||||
wxStatusBar* m_statusBar;
|
wxStatusBar* m_statusBar;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
||||||
virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
|
virtual void OnIconize( wxIconizeEvent& event ) { event.Skip(); }
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnTranslationSeqChoice( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnTranslationSeqChoice( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxZRColaComposerPanel* m_panel;
|
wxZRColaComposerPanel* m_panel;
|
||||||
|
|
||||||
wxZRColaFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("ZRCola"), const wxPoint& pos = wxDefaultPosition, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL, const wxString& name = wxT("ZRCola") );
|
wxZRColaFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("ZRCola"), const wxPoint& pos = wxDefaultPosition, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL, const wxString& name = wxT("ZRCola") );
|
||||||
wxAuiManager m_mgr;
|
wxAuiManager m_mgr;
|
||||||
|
|
||||||
~wxZRColaFrameBase();
|
~wxZRColaFrameBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaComposerPanelBase
|
/// Class wxZRColaComposerPanelBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaComposerPanelBase : public wxPanel
|
class wxZRColaComposerPanelBase : public wxPanel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
wxID_TIMER_SAVE = 1000
|
wxID_TIMER_SAVE = 1000
|
||||||
};
|
};
|
||||||
|
|
||||||
wxSplitterWindow* m_splitterSource;
|
wxSplitterWindow* m_splitterSource;
|
||||||
wxPanel* m_panelSourceEdit;
|
wxPanel* m_panelSourceEdit;
|
||||||
wxPanel* m_panelSourceHex;
|
wxPanel* m_panelSourceHex;
|
||||||
@ -139,7 +138,7 @@ class wxZRColaComposerPanelBase : public wxPanel
|
|||||||
wxPanel* m_panelDestinationHex;
|
wxPanel* m_panelDestinationHex;
|
||||||
wxTextCtrl* m_destinationHex;
|
wxTextCtrl* m_destinationHex;
|
||||||
wxTimer m_timerSave;
|
wxTimer m_timerSave;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnSourcePaint( wxPaintEvent& event ) { event.Skip(); }
|
virtual void OnSourcePaint( wxPaintEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSourceText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSourceText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
@ -148,62 +147,62 @@ class wxZRColaComposerPanelBase : public wxPanel
|
|||||||
virtual void OnDestinationText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnDestinationText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnDestinationHexPaint( wxPaintEvent& event ) { event.Skip(); }
|
virtual void OnDestinationHexPaint( wxPaintEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSaveTimer( wxTimerEvent& event ) { event.Skip(); }
|
virtual void OnSaveTimer( wxTimerEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxTextCtrl* m_source;
|
wxTextCtrl* m_source;
|
||||||
wxTextCtrl* m_destination;
|
wxTextCtrl* m_destination;
|
||||||
|
|
||||||
wxZRColaComposerPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaComposerPanel") );
|
wxZRColaComposerPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaComposerPanel") );
|
||||||
~wxZRColaComposerPanelBase();
|
~wxZRColaComposerPanelBase();
|
||||||
|
|
||||||
void m_splitterSourceOnIdle( wxIdleEvent& )
|
void m_splitterSourceOnIdle( wxIdleEvent& )
|
||||||
{
|
{
|
||||||
m_splitterSource->SetSashPosition( FromDIP(-5) );
|
m_splitterSource->SetSashPosition( FromDIP(-5) );
|
||||||
m_splitterSource->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterSourceOnIdle ), NULL, this );
|
m_splitterSource->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterSourceOnIdle ), NULL, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
void m_splitterDestinationOnIdle( wxIdleEvent& )
|
void m_splitterDestinationOnIdle( wxIdleEvent& )
|
||||||
{
|
{
|
||||||
m_splitterDestination->SetSashPosition( FromDIP(-5) );
|
m_splitterDestination->SetSashPosition( FromDIP(-5) );
|
||||||
m_splitterDestination->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterDestinationOnIdle ), NULL, this );
|
m_splitterDestination->Disconnect( wxEVT_IDLE, wxIdleEventHandler( wxZRColaComposerPanelBase::m_splitterDestinationOnIdle ), NULL, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharacterCatalogPanelBase
|
/// Class wxZRColaCharacterCatalogPanelBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharacterCatalogPanelBase : public wxPanel
|
class wxZRColaCharacterCatalogPanelBase : public wxPanel
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxChoice* m_choice;
|
wxChoice* m_choice;
|
||||||
wxZRColaCharGrid* m_grid;
|
wxZRColaCharGrid* m_grid;
|
||||||
wxCheckBox* m_show_all;
|
wxCheckBox* m_show_all;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnChoice( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnChoice( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnGridClick( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnGridClick( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnGridKeyDown( wxKeyEvent& event ) { event.Skip(); }
|
virtual void OnGridKeyDown( wxKeyEvent& event ) { event.Skip(); }
|
||||||
virtual void OnShowAll( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnShowAll( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharacterCatalogPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaCharacterCatalog") );
|
wxZRColaCharacterCatalogPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxT("ZRColaCharacterCatalog") );
|
||||||
~wxZRColaCharacterCatalogPanelBase();
|
~wxZRColaCharacterCatalogPanelBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharSelectBase
|
/// Class wxZRColaCharSelectBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharSelectBase : public wxDialog
|
class wxZRColaCharSelectBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxSearchCtrl* m_search;
|
wxSearchCtrl* m_search;
|
||||||
wxHyperlinkCtrl* m_search_more;
|
wxHyperlinkCtrl* m_search_more;
|
||||||
@ -225,7 +224,7 @@ class wxZRColaCharSelectBase : public wxDialog
|
|||||||
wxHyperlinkCtrl* m_navigateForward;
|
wxHyperlinkCtrl* m_navigateForward;
|
||||||
wxZRColaCharGrid* m_gridRelated;
|
wxZRColaCharGrid* m_gridRelated;
|
||||||
wxButton* m_buttonInsert;
|
wxButton* m_buttonInsert;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSearchText( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSearchText( wxCommandEvent& event ) { event.Skip(); }
|
||||||
@ -247,22 +246,22 @@ class wxZRColaCharSelectBase : public wxDialog
|
|||||||
virtual void OnRelatedSelectCell( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnRelatedSelectCell( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnInsert( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnInsert( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnInsertUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnInsertUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharSelectBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Character Search"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharSelect") );
|
wxZRColaCharSelectBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Character Search"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharSelect") );
|
||||||
~wxZRColaCharSelectBase();
|
~wxZRColaCharSelectBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaSettingsBase
|
/// Class wxZRColaSettingsBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaSettingsBase : public wxDialog
|
class wxZRColaSettingsBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxListbook* m_listbook;
|
wxListbook* m_listbook;
|
||||||
wxPanel* m_panelLanguage;
|
wxPanel* m_panelLanguage;
|
||||||
@ -277,28 +276,28 @@ class wxZRColaSettingsBase : public wxDialog
|
|||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsApply;
|
wxButton* m_sdbSizerButtonsApply;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
||||||
virtual void OnLanguageUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnLanguageUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
virtual void OnApplyButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnApplyButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaSettings") );
|
wxZRColaSettingsBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaSettings") );
|
||||||
~wxZRColaSettingsBase();
|
~wxZRColaSettingsBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaAboutBase
|
/// Class wxZRColaAboutBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaAboutBase : public wxDialog
|
class wxZRColaAboutBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticBitmap* m_bitmapIcon;
|
wxStaticBitmap* m_bitmapIcon;
|
||||||
wxStaticText* m_staticTextZRCola;
|
wxStaticText* m_staticTextZRCola;
|
||||||
@ -310,46 +309,46 @@ class wxZRColaAboutBase : public wxDialog
|
|||||||
wxTextCtrl* m_declaration;
|
wxTextCtrl* m_declaration;
|
||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaAboutBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaAbout") );
|
wxZRColaAboutBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About ZRCola"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaAbout") );
|
||||||
~wxZRColaAboutBase();
|
~wxZRColaAboutBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaUpdaterBase
|
/// Class wxZRColaUpdaterBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaUpdaterBase : public wxDialog
|
class wxZRColaUpdaterBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxTextCtrl* m_log;
|
wxTextCtrl* m_log;
|
||||||
wxButton* m_buttonUpdate;
|
wxButton* m_buttonUpdate;
|
||||||
wxButton* m_buttonClose;
|
wxButton* m_buttonClose;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
|
||||||
virtual void OnUpdate( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnUpdate( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnClose( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnClose( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaUpdaterBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Product Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaUpdater") );
|
wxZRColaUpdaterBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Product Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaUpdater") );
|
||||||
~wxZRColaUpdaterBase();
|
~wxZRColaUpdaterBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaCharRequestBase
|
/// Class wxZRColaCharRequestBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaCharRequestBase : public wxDialog
|
class wxZRColaCharRequestBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticText* m_characterLbl;
|
wxStaticText* m_characterLbl;
|
||||||
wxTextCtrl* m_character;
|
wxTextCtrl* m_character;
|
||||||
@ -360,25 +359,25 @@ class wxZRColaCharRequestBase : public wxDialog
|
|||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaCharRequestBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Request a New Character"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharRequest") );
|
wxZRColaCharRequestBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Request a New Character"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaCharRequest") );
|
||||||
~wxZRColaCharRequestBase();
|
~wxZRColaCharRequestBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class wxZRColaTranslationSeqBase
|
/// Class wxZRColaTranslationSeqBase
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class wxZRColaTranslationSeqBase : public wxDialog
|
class wxZRColaTranslationSeqBase : public wxDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxStaticText* m_transLbl;
|
wxStaticText* m_transLbl;
|
||||||
wxStaticText* m_availableLbl;
|
wxStaticText* m_availableLbl;
|
||||||
@ -392,7 +391,7 @@ class wxZRColaTranslationSeqBase : public wxDialog
|
|||||||
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
||||||
wxButton* m_sdbSizerButtonsOK;
|
wxButton* m_sdbSizerButtonsOK;
|
||||||
wxButton* m_sdbSizerButtonsCancel;
|
wxButton* m_sdbSizerButtonsCancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
||||||
virtual void OnUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
virtual void OnUpdate( wxUpdateUIEvent& event ) { event.Skip(); }
|
||||||
@ -405,13 +404,12 @@ class wxZRColaTranslationSeqBase : public wxDialog
|
|||||||
virtual void OnSelectedUp( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSelectedUp( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnSelectedDown( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnSelectedDown( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnOKButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
wxZRColaTranslationSeqBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Custom Translation Sequence"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaTranslationSeq") );
|
wxZRColaTranslationSeqBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Custom Translation Sequence"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("ZRColaTranslationSeq") );
|
||||||
~wxZRColaTranslationSeqBase();
|
~wxZRColaTranslationSeqBase();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__ZRCOLAGUI_H__
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user