projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed simple draw_cursor
[retroray]
/
src
/
rtk_impl.h
diff --git
a/src/rtk_impl.h
b/src/rtk_impl.h
index
9afa913
..
34afd0f
100644
(file)
--- a/
src/rtk_impl.h
+++ b/
src/rtk_impl.h
@@
-2,12
+2,14
@@
#define RTK_IMPL_H_
#include <assert.h>
#define RTK_IMPL_H_
#include <assert.h>
-#include "inttypes.h"
+#include "sizeint.h"
#include "rtk.h"
enum {
VISIBLE = 0x001,
ENABLED = 0x002,
#include "rtk.h"
enum {
VISIBLE = 0x001,
ENABLED = 0x002,
+ HOVER = 0x010,
+ PRESS = 0x020,
GEOMCHG = 0x100,
DIRTY = 0x200
};
GEOMCHG = 0x100,
DIRTY = 0x200
};
@@
-31,6
+33,7
@@
typedef struct rtk_window {
typedef struct rtk_button {
rtk_any any;
typedef struct rtk_button {
rtk_any any;
+ int mode;
rtk_icon *icon;
} rtk_button;
rtk_icon *icon;
} rtk_button;