20 #ifndef PAWS_STRING_PROMPT_WINDOW_HEADER    21 #define PAWS_STRING_PROMPT_WINDOW_HEADER    23 #include <csutil/list.h>    24 #include <iutil/document.h>    46     virtual void OnStringEntered(
const char* name, 
int param,
const char* value) = 0;
    69     bool OnButtonReleased(
int mouseButton, 
int keyModifier, 
pawsWidget* widget);
    79     virtual bool OnKeyDown(utf32_char keyCode, utf32_char keyChar, 
int modifiers);
   105         const csString &label,
   106         const csString &
string, 
bool multiline, 
int width, 
int height,
   108         bool modal = 
false, 
int maxlen = 0);
   123     void Initialize(
const csString &label, 
const csString &
string, 
bool multiline, 
int width,
   131     void CloseWindow(
const csString &text);
 bool multiLine
Whether the prompt is multi-line or single. 
 
iOnStringEnteredAction * action
The action to call when this window is successfully destroyed. 
 
CREATE_PAWS_FACTORY(pawsStringPromptWindow)
 
int param
The optional parameter for the window; is sent to the action when OK is pressed. 
 
virtual ~iOnStringEnteredAction()
Basic deconstructor. 
 
virtual void OnStringEntered(const char *name, int param, const char *value)=0
When the pawsStringPromptWindow is created, a ptr to a class which implements this function is provid...
 
void void Initialize(iObjectRegistry *object_reg)
 
pawsPromptWindow is the common base for windows that let the user enter one piece of information...
 
pawsStringPromptWindow is a window that lets the user enter a string 
 
This interface defines the callback used by pawsStringPromptWindow to notify another window of a supp...
 
csString name
The name of the window; is sent to the action when OK is pressed.