![]() |
cpp-project-template 0.0.1.0
C++ Project Template
|
This class represents the main window. More...
#include <MainFrame.hpp>
Public Member Functions | |
MainFrame (const App &app, const wxString &title, const wxPoint &pos, const wxSize &size) | |
Construct a new Main Frame object. | |
~MainFrame () override=default | |
MainFrame (const MainFrame &)=delete | |
MainFrame & | operator= (const MainFrame &)=delete |
MainFrame (MainFrame &&)=delete | |
MainFrame & | operator= (MainFrame &&)=delete |
Private Member Functions | |
void | OnHello (wxCommandEvent &event) |
void | OnExit (wxCommandEvent &event) |
void | OnAbout (wxCommandEvent &event) |
wxDECLARE_EVENT_TABLE () |
Private Attributes | |
const App & | app_ |
wxMenu * | menuFile_ |
wxMenu * | menuHelp_ |
wxMenuBar * | menuBar_ |
wxIcon | logoIco_ |
Static Private Attributes | |
static constexpr int | LICENSE_COLUMN_WIDTH = 80 |
static constexpr int | LOGO_FINAL_WIDTH = 114 |
static constexpr int | LOGO_FINAL_HEIGHT = 128 |
This class represents the main window.
MainFrame::MainFrame | ( | const App & | app, |
const wxString & | title, | ||
const wxPoint & | pos, | ||
const wxSize & | size ) |
Construct a new Main Frame object.
[in] | app | |
[in] | title | |
[in] | pos | |
[in] | size |
|
overridedefault |
|
delete |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
|
private |
|
private |
|
private |