20 #ifndef PAWS_PROMPT_WINDOW_HEADER 21 #define PAWS_PROMPT_WINDOW_HEADER 23 #include <csutil/list.h> 24 #include <iutil/document.h> void SetAppropriatePos()
Sets good position on screen (=under mouse cursor)
virtual void LayoutWindow()
Sets positions of widgets and size of whole window.
pawsWidget * inputWidget
The primary widget for gathering input from the user.
int spacing
The spacing in between each of the widgets.
pawsTextBox * label
The label that is used as a title for the window.
CREATE_PAWS_FACTORY(pawsPromptWindow)
pawsPromptWindow()
Basic constructor.
pawsPromptWindow is the common base for windows that let the user enter one piece of information...
void SetLabel(const csString &label)
Sets the label/title for the widget.
pawsButton * okButton
The button that is used to accept the input for the window.
void SetSpacing(int spacing)
Sets the spacing in between the widgets.
virtual bool PostSetup()
Executed after the widget is setup.
pawsWidget * helperWidget
A generic widget that simply helps describe or facilitate the inputWidget, does not have to be define...
pawsButton * cancelButton
The button that is used to cancel the input for the window.