This window let the user select the music meter for a score.
More...
#include <pawsmeterpromptwindow.h>
List of all members.
Public Member Functions |
void | Initialize (const char *actionName, const char *title, const char *initialBeats, const char *initialBeatType, size_t beatsMaxLength, iOnMeterEnteredListener *listener) |
| Initializes the window with its starting values.
|
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
| Called whenever a button is pressed.
|
| pawsMeterPromptWindow (const pawsMeterPromptWindow &origin) |
| Copy constructor.
|
| pawsMeterPromptWindow () |
| Constructor.
|
virtual bool | PostSetup () |
| Executed after the widget is setup.
|
Static Public Member Functions |
static pawsMeterPromptWindow * | Create (const char *actionName, const char *initialBeats, const char *initialBeatType, size_t beatsMaxLength, iOnMeterEnteredListener *listener) |
| Creates a new pawsMeterPromptWindow.
|
Detailed Description
This window let the user select the music meter for a score.
Definition at line 108 of file pawsmeterpromptwindow.h.
Constructor & Destructor Documentation
pawsMeterPromptWindow::pawsMeterPromptWindow |
( |
| ) |
|
Copy constructor.
- Parameters:
-
Member Function Documentation
Creates a new pawsMeterPromptWindow.
- Parameters:
-
actionName | the name that will be used when OnMeterEntered is called on the listener. |
initialBeats | the text that is visualized as beats when the window is opened. |
initialBeatType | the text that is visualized as beat type when the window is opened. |
beatsMaxLength | the maximum number of digits that the user can input for beats. |
listener | the iOnMeterEnteredListener that waits for the user's input. |
- Returns:
- the new pawsMeterPromptWindow.
void pawsMeterPromptWindow::Initialize |
( |
const char * |
actionName, |
|
|
const char * |
title, |
|
|
const char * |
initialBeats, |
|
|
const char * |
initialBeatType, |
|
|
size_t |
beatsMaxLength, |
|
|
iOnMeterEnteredListener * |
listener |
|
) |
| |
Initializes the window with its starting values.
- Parameters:
-
actionName | the name that will be used when OnMeterEntered is called on the listener. |
title | the displayed title of the window. |
initialBeats | the text that is visualized as beats when the window is opened. |
initialBeatType | the text that is visualized as beat type when the window is opened. |
beatsMaxLength | the maximum number of digits that the user can input for beats. |
listener | the iOnMeterEnteredListener that waits for the user's input. |
virtual bool pawsMeterPromptWindow::OnButtonPressed |
( |
int |
button, |
|
|
int |
keyModifier, |
|
|
pawsWidget * |
widget |
|
) |
| [virtual] |
Called whenever a button is pressed.
- Parameters:
-
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
- Returns:
- bool Parent's result or FALSE if no parent.
Reimplemented from pawsWidget.
virtual bool pawsMeterPromptWindow::PostSetup |
( |
| ) |
[virtual] |
Executed after the widget is setup.
- Returns:
- true
Reimplemented from pawsPromptWindow.
The documentation for this class was generated from the following file: