OpenASIP
2.0
|
#include <HelpBrowser.hh>
Public Member Functions | |
HelpBrowser (wxString title, wxString file, wxPoint position, wxSize size) | |
~HelpBrowser () | |
Private Types | |
enum | { ID_BACK = 10000, ID_FORWARD } |
IDs form menu items. More... | |
Private Member Functions | |
void | onClose (wxCloseEvent &event) |
void | onMenuClose (wxCommandEvent &event) |
void | onBack (wxCommandEvent &event) |
void | onForward (wxCommandEvent &event) |
Private Attributes | |
wxHtmlWindow * | html_ |
Simple window for displaying html-pages.
Definition at line 42 of file HelpBrowser.hh.
|
private |
HelpBrowser::HelpBrowser | ( | wxString | title, |
wxString | file, | ||
wxPoint | position, | ||
wxSize | size | ||
) |
The Constructor.
Creates a browser window and opens the given file in the html-widget.
parent | Parent window of the window. |
title | Title of the help browser frame. |
file | Html file to open in the frame. |
position | Help frame position on the screen. |
size | Help frame size. |
Definition at line 62 of file HelpBrowser.cc.
References Environment::bitmapsDirPath(), FileSystem::DIRECTORY_SEPARATOR, and WxConversion::toWxString().
HelpBrowser::~HelpBrowser | ( | ) |
|
private |
Loads the previous page in the html-widget.
Definition at line 145 of file HelpBrowser.cc.
References html_.
|
private |
Destroys the window when a close event is received.
Definition at line 128 of file HelpBrowser.cc.
|
private |
Loads the next page in html-widget history.
Definition at line 154 of file HelpBrowser.cc.
References html_.
|
private |
Destroys the window when a close event is received.
Definition at line 136 of file HelpBrowser.cc.
|
private |
Definition at line 55 of file HelpBrowser.hh.
Referenced by onBack(), and onForward().