#ifdef INTERFACE CLASS(VoretBigButton) EXTENDS(VoretButton) METHOD(VoretBigButton, configureVoretBigButton, void(entity, string, vector)) ATTRIB(VoretBigButton, image, string, SKINGFX_BUTTON_BIG) ATTRIB(VoretBigButton, grayImage, string, SKINGFX_BUTTON_BIG_GRAY) ENDCLASS(VoretButton) entity makeVoretButton(string theText, vector theColor); #endif #ifdef IMPLEMENTATION entity makeVoretBigButton(string theText, vector theColor) { entity me; me = spawnVoretBigButton(); me.configureVoretBigButton(me, theText, theColor); return me; } void configureVoretBigButtonVoretBigButton(entity me, string theText, vector theColor) { me.configureVoretButton(me, theText, theColor); } #endif