#ifndef UI2D_GUI_IMAGEBUTTON #define UI2D_GUI_IMAGEBUTTON #include #include #include #include "../../uni.h" namespace gcn { class ImageButton: public gcn::Button { Image *mImage1,*mImage2; bool click; public: ImageButton(Image *image1,Image *image2); ~ImageButton(); void draw(Graphics* graphics); void drawBorder(Graphics* graphics); bool isClick(); }; } #endif