#define RTK_IMPL_H_
#include <assert.h>
-#include "inttypes.h"
+#include "sizeint.h"
#include "rtk.h"
enum {
VISIBLE = 0x001,
ENABLED = 0x002,
+ 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 {
typedef struct rtk_button {
rtk_any any;
+ int mode;
rtk_icon *icon;
} rtk_button;