X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Frtk_impl.h;h=34afd0f297eadf302d068bf321b4a4069993bfd0;hb=86aa9bdd85243207bbd7e888d73c2b865d805265;hp=9afa9130f67359ed7884de2f8d76bfbac2f464ad;hpb=b0088adf036a53139f67ebf96f1bbb55abf199f4;p=retroray diff --git a/src/rtk_impl.h b/src/rtk_impl.h index 9afa913..34afd0f 100644 --- a/src/rtk_impl.h +++ b/src/rtk_impl.h @@ -2,12 +2,14 @@ #define RTK_IMPL_H_ #include -#include "inttypes.h" +#include "sizeint.h" #include "rtk.h" enum { VISIBLE = 0x001, ENABLED = 0x002, + HOVER = 0x010, + PRESS = 0x020, GEOMCHG = 0x100, DIRTY = 0x200 }; @@ -31,6 +33,7 @@ typedef struct rtk_window { typedef struct rtk_button { rtk_any any; + int mode; rtk_icon *icon; } rtk_button;