|
OpenASIP 2.2
|
#include <AddBreakpointDialog.hh>


Public Member Functions | |
| AddBreakpointDialog (wxWindow *parent, wxWindowID id) | |
| virtual | ~AddBreakpointDialog () |
Private Types | |
| enum | { ID_LABEL_NEW_BP , ID_ADDRESS , ID_LINE } |
| Widget IDs. More... | |
Private Member Functions | |
| void | onOK (wxCommandEvent &event) |
| wxSizer * | createContents (wxWindow *parent, bool call_fit, bool set_sizer) |
Dialog for adding new breakpoints.
Definition at line 41 of file AddBreakpointDialog.hh.
|
private |
Widget IDs.
| Enumerator | |
|---|---|
| ID_LABEL_NEW_BP | |
| ID_ADDRESS | |
| ID_LINE | |
Definition at line 50 of file AddBreakpointDialog.hh.
| AddBreakpointDialog::AddBreakpointDialog | ( | wxWindow * | parent, |
| wxWindowID | id | ||
| ) |
The Constructor.
@paran parent Parent window of the dialog.
| id | Identifier of the window. |
Definition at line 55 of file AddBreakpointDialog.cc.
|
virtual |
|
private |
Creates the dialog widgets.
Definition at line 99 of file AddBreakpointDialog.cc.
References ID_ADDRESS, ID_LABEL_NEW_BP, and ID_LINE.
|
private |
Event handler for the OK-button.
Adds a breakpoint at the address defined in the address field.
Definition at line 74 of file AddBreakpointDialog.cc.
References ID_ADDRESS, ProximLineReader::input(), ProximToolbox::lineReader(), ProximConstants::SCL_SET_BREAKPOINT, Conversion::toString(), WxConversion::toString(), and Conversion::toUnsignedInt().
