The new dialog engine is now essentially complete and ready for testing. There could still be some error checking in the cPict class to make sure the required GWorld exists, though.
git-svn-id: http://openexile.googlecode.com/svn/trunk@76 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -71,7 +71,7 @@ void cPict::attachFocusHandler(focus_callback_t f __attribute__((unused))) throw
|
||||
throw xHandlerNotSupported(true);
|
||||
}
|
||||
|
||||
bool cPict::triggerClickHandler(cDialog& me, std::string id, eKeyMod mods){
|
||||
bool cPict::triggerClickHandler(cDialog& me, std::string id, eKeyMod mods, Point where){
|
||||
if(onClick != NULL) return onClick(me,id,mods);
|
||||
else return false;
|
||||
}
|
||||
@@ -228,7 +228,7 @@ void cPict::setPict(short num, ePicType type){
|
||||
if(isVisible()) draw();
|
||||
}
|
||||
|
||||
cPict::cPict(cDialog* parent) : cControl(parent) {}
|
||||
cPict::cPict(cDialog* parent) : cControl(parent,CTRL_PICT) {}
|
||||
|
||||
bool cPict::isClickable(){
|
||||
return clickable;
|
||||
|
||||
Reference in New Issue
Block a user