22 #ifndef FIFE_GUICHAN_ADDON_TWOBUTTON_H
23 #define FIFE_GUICHAN_ADDON_TWOBUTTON_H
29 #include <guichan.hpp>
40 class TwoButton :
public Button {
42 TwoButton(Image *up_image = 0, Image *down_image = 0, Image *hover_file = 0,
const std::string& caption =
"");
44 void draw(Graphics *graphics);
47 void setUpImage(Image* image);
48 void setDownImage(Image* image);
49 void setHoverImage(Image* image);
51 void setDownOffset(int32_t x, int32_t y);
52 int32_t getDownXOffset() {
return x_downoffset; }
53 int32_t getDownYOffset() {
return y_downoffset; }