51 FXIMPLEMENT_ABSTRACT(
GNEAdditionalDialog, FXDialogBox, GNEAdditionalDialogMap, ARRAYNUMBER(GNEAdditionalDialogMap))
58 FXDialogBox(parent->getViewNet(), ("Edit '" + parent->getID() + "' data").c_str(),
GUIDesignDialogBoxExplicit, 0, 0, width, height, 0, 0, 0, 0) {
60 assert(parent != NULL);
62 setIcon(parent->getIcon());
83 setTitle(newHeader.c_str());
virtual long onCmdReset(FXObject *, FXSelector, void *)=0
event after press cancel button
#define GUIDesignHorizontalFrame
~GNEAdditionalDialog()
destructor
#define GUIDesignContentsFrame
design for the main content frame of every frame/dialog
Dialog to edit sequences, parameters, etc.. of Additionals.
#define GUIDesignButtonCancel
Cancel Button.
#define GUIDesignAuxiliarFrame
design for auxiliar (Without borders) frames used to pack another frames extended in all directions ...
FXDEFMAP(GNEAdditionalDialog) GNEAdditionalDialogMap[]
#define GUIDesignDialogBoxExplicit
design for dialog box with specift width and height (for example, additional dialogs) ...
virtual long onCmdCancel(FXObject *sender, FXSelector sel, void *ptr)=0
event after press cancel button
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames ...
#define GUIDesignButtonReset
Reset Button.
virtual long onCmdAccept(FXObject *sender, FXSelector sel, void *ptr)=0
#define GUIDesignButtonAccept
Accept Button.
An Element which don't belongs to GNENet but has influency in the simulation.
void changeAdditionalDialogHeader(const std::string &newHeader)
change additional dialog header
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon