#ifdef INTERFACE CLASS(VoretNewsDialog) EXTENDS(VoretDialog) METHOD(VoretNewsDialog, fill, void(entity)) ATTRIB(VoretNewsDialog, title, string, "News") ATTRIB(VoretNewsDialog, color, vector, SKINCOLOR_DIALOG_SETTINGS) ATTRIB(VoretNewsDialog, intendedWidth, float, 0.96) ATTRIB(VoretNewsDialog, rows, float, 24) ATTRIB(VoretNewsDialog, columns, float, 1) ENDCLASS(VoretNewsDialog) #endif #ifdef IMPLEMENTATION void fillVoretNewsDialog(entity me) { entity e; me.TR(me); me.TD(me, 24, 1, e = spawnGecko()); e.configureBrowser( e, "http://alientrap.org/voret/index.php?module=news" ); } #endif