#include <CtrlLib/CtrlLib.h> using namespace Upp; #define IMAGECLASS BigIconsImg #define IMAGEFILE <BigIcons/BigIcons.iml> #include <Draw/iml.h> INITBLOCK { Image img = BigIconsImg::Flag(); }; class BigIcons : public TopWindow { public: typedef BigIcons CLASSNAME; ToolBar toolBar; void nullFunc(void) {} BigIcons() { toolBar.Add("one", BigIconsImg::Flag(), THISBACK(nullFunc)); AddFrame(toolBar); } }; GUI_APP_MAIN { BigIcons().Run(); }
Report message to a moderator