OpenASIP
2.0
|
#include <AboutDialog.hh>
Public Member Functions | |
AboutDialog (wxWindow *parent) | |
virtual | ~AboutDialog () |
Private Member Functions | |
wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
void | setTexts () |
Dialog with editor logo, name, version and copyright information.
Definition at line 18 of file AboutDialog.hh.
AboutDialog::AboutDialog | ( | wxWindow * | parent | ) |
The Constructor.
parent | Parent window of the dialog. |
Definition at line 52 of file AboutDialog.cc.
References createContents(), and setTexts().
|
virtual |
|
private |
Creates contents of the dialog window. Initially generated with wxDesigner, the code will be cleaned up later.
parent | Parent dialog of the contents. |
call_fit | If true, fits sizer in dialog window. |
set_sizer | If true, sets sizer as dialog's sizer. |
Definition at line 98 of file AboutDialog.cc.
References ProDe::bitmapsDirPath(), ProDeConstants::EDITOR_COPYRIGHT_TEXT, ProDeConstants::EDITOR_LOGO_PATH, ProDeConstants::EDITOR_NAME, WxConversion::toWxString(), and TRUE.
Referenced by AboutDialog().
|
private |
Sets texts for widgets.
Definition at line 72 of file AboutDialog.cc.
References ProDeConstants::EDITOR_NAME, GUITextGenerator::instance(), ProDeTextGenerator::instance(), WidgetTools::setLabel(), Texts::TextGenerator::text(), WxConversion::toString(), WxConversion::toWxString(), ProDeTextGenerator::TXT_ABOUT_DIALOG_TITLE, and GUITextGenerator::TXT_BUTTON_OK.
Referenced by AboutDialog().