20 #ifndef PAWS_YESNO_BOX_HEADER    21 #define PAWS_YESNO_BOX_HEADER    33 #define CONFIRM_YES -10    34 #define CONFIRM_NO  -20 void SetText(const char *text)
 
void SetNotify(pawsWidget *widget)
 
bool PostSetup()
This is called after the widget and all of it's children have been created. 
 
void SetCallBack(YesNoResponseFunc handler, void *owner, const char *text)
 
void Hide()
Makes widget invisible and removes focus if widget has current focus. 
 
bool OnButtonReleased(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is released. 
 
CREATE_PAWS_FACTORY(pawsYesNoBox)
 
static pawsYesNoBox * Create(pawsWidget *notify, const csString &text, int yesID=CONFIRM_YES, int noID=CONFIRM_NO)
Static function that creates and sets up pawsYesNoBox: 
 
This is a yes/no box used to do confirms. 
 
void SetID(int yes=CONFIRM_YES, int no=CONFIRM_NO)
 
void(* YesNoResponseFunc)(bool, void *)