Bool Init()
{
Text_ds.color = Color(255, 102, 00);
Font * orangeFont;
orangeFont = Fonts("Gui/Text/Trebuchet48.font");
Text_ds.font = orangeFont;
Text_ds.scale = 0.045;
Gui.color_cmenu = BLACK;
Gui.tds_cmenu = Text_ds;
Gui.tds_text = Text_ds;
Gui.tds_window = Text_ds;
Gui.image_menu = Images.get("Gui/skin/menu.gfx");
Gui.image_win_bar = Images.get("Gui/skin/menu.gfx");
Node<CMenuElm> n;
... (create menu here) ...
Gui += menu.create(n);
if (obj.load("gui/skin/test.gobj")) {
window2 = &obj.getWindow("window");
window2->show();
}
Gui += obj;
return true;
}