Public Member Functions | |
| void | startEditing (MenuBasedDialog *dlg, EditableMultiPartMenuItem *item) |
| void | scrollChanged () |
| void | dialogDismissed (ButtonType buttonType) override |
| bool | dialogButtonPressed (int buttonNum) override |
| void | copyCustomButtonText (int buttonNumber, char *buffer, size_t bufferSize) override |
| void | initialiseAndGetHeader (BaseDialog *dialog, char *buffer, size_t bufferSize) override |
Static Public Attributes | |
| static DialogMultiPartEditor * | theInstance |
|
overridevirtual |
Called when the dialog is dismissed, along with with the button type that was pressed
| buttonType | the button type that was pressed |
Implements BaseDialogController.
|
overridevirtual |
Called when a dialog button is pressed, the button number from 0..N not the button type.
| buttonNum | the button number |
Implements BaseDialogController.
|
overridevirtual |
Copy the button text for any custom buttons by their button number
| buttonNumber | the button number |
| buffer | the buffer to copy text into |
| bufferSize | the size of the buffer |
Implements BaseDialogController.
|
overridevirtual |
Initialise the dialog and get the text for the header. It is called once during the dialog being shown. If you need to add extra menu items or buttons, this is the place to add them.
| dialog | the dialog object |
| buffer | the buffer to copy the title to |
| bufferSize | the size of the buffer |
Implements BaseDialogController.