X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Frtk_impl.h;h=566e254700475266048659a5da0b2d75a9558609;hb=3c3612761bcf77a5c4ec6810aa47e0e3f0131bf1;hp=5e65ac286ee6e9e493ddbd103a81761c259dd8f2;hpb=f0f09a5f3f76fd4207e4d2d71f29f876b2b379f7;p=retroray diff --git a/src/rtk_impl.h b/src/rtk_impl.h index 5e65ac2..566e254 100644 --- a/src/rtk_impl.h +++ b/src/rtk_impl.h @@ -2,7 +2,7 @@ #define RTK_IMPL_H_ #include -#include "inttypes.h" +#include "sizeint.h" #include "rtk.h" enum { @@ -11,7 +11,12 @@ enum { HOVER = 0x010, PRESS = 0x020, GEOMCHG = 0x100, - DIRTY = 0x200 + DIRTY = 0x200, + + /* window flags */ + FRAME = RTK_WIN_FRAME << 16, + MOVABLE = RTK_WIN_MOVABLE << 16, + RESIZABLE = RTK_WIN_RESIZABLE << 16 }; typedef struct rtk_any { @@ -33,6 +38,7 @@ typedef struct rtk_window { typedef struct rtk_button { rtk_any any; + int mode; rtk_icon *icon; } rtk_button;