turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
This commit is contained in:
parent
f2c4bbbdbf
commit
b27a871f87
46 changed files with 182 additions and 233 deletions
|
@ -48,7 +48,6 @@ static int lastvm=-1;
|
|||
|
||||
static void displaySaveResult(vmsaveResult res)
|
||||
{
|
||||
extern NewGui *g_gui;
|
||||
char buf[1024];
|
||||
|
||||
switch(res) {
|
||||
|
@ -69,7 +68,7 @@ static void displaySaveResult(vmsaveResult res)
|
|||
break;
|
||||
}
|
||||
|
||||
MessageDialog dialog(g_gui, buf);
|
||||
MessageDialog dialog(buf);
|
||||
dialog.runModal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue