OpenASIP
2.0
|
#include <DialogPosition.hh>
Static Public Member Functions | |
static wxPoint | getPosition (Dialogs dialog) |
static void | setPosition (Dialogs dialog, wxPoint point) |
Private Types | |
typedef std::map< Dialogs, wxPoint > | PositionMap |
Container for dialog positions. More... | |
Private Member Functions | |
DialogPosition (const DialogPosition &) | |
Copying not allowed. More... | |
DialogPosition & | operator= (const DialogPosition &) |
Assignment not allowed. More... | |
DialogPosition () | |
~DialogPosition () | |
Static Private Attributes | |
static PositionMap | positions_ |
Contains all dialog positions. More... | |
Class that holds the positions of dialogs.
Definition at line 42 of file DialogPosition.hh.
|
private |
Container for dialog positions.
Definition at line 65 of file DialogPosition.hh.
Enumeration of all dialogs in application.
Enumerator | |
---|---|
DIALOG_PROPERTIES | Operation properties dialog. |
DIALOG_SIMULATE | Simulation dialog. |
DIALOG_INPUT_OPERAND | Input operand dialog. |
DIALOG_OUTPUT_OPERAND | Output operand dialog. |
DIALOG_RESULT | Result dialog. |
DIALOG_OPTIONS | Options dialog. |
DIALOG_ADD_MODULE | Add module dialog. |
DIALOG_SIMULATION_INFO | Simulation info dialog. |
DIALOG_MEMORY | Memory dialog. |
DIALOG_ABOUT | About dialog. |
Definition at line 47 of file DialogPosition.hh.
|
private |
Copying not allowed.
|
private |
|
private |
|
static |
Gets the position of the dialog.
If position is not stored, returns wxDefaultPosition.
dialog | Dialog which position is asked. |
Definition at line 49 of file DialogPosition.cc.
References positions_.
|
private |
Assignment not allowed.
|
static |
Sets the position of the dialog.
dialog | Dialog which position is set. |
Definition at line 63 of file DialogPosition.cc.
References positions_.
Referenced by AddModuleDialog::~AddModuleDialog(), InputOperandDialog::~InputOperandDialog(), MemoryDialog::~MemoryDialog(), OperationDAGDialog::~OperationDAGDialog(), OperationPropertyDialog::~OperationPropertyDialog(), OSEdAboutDialog::~OSEdAboutDialog(), OSEdOptionsDialog::~OSEdOptionsDialog(), OutputOperandDialog::~OutputOperandDialog(), ResultDialog::~ResultDialog(), SimulateDialog::~SimulateDialog(), and SimulationInfoDialog::~SimulationInfoDialog().
|
staticprivate |
Contains all dialog positions.
Definition at line 76 of file DialogPosition.hh.
Referenced by getPosition(), and setPosition().