changeset: 2:907b0d0d3e21
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sun Apr 18 22:36:28 2010 +0100
files: swk.h
description:
result of our discussion today
diff -r c70e8d4ec557 -r 907b0d0d3e21 swk.h
--- a/swk.h Sun Apr 18 21:48:22 2010 +0100
+++ b/swk.h Sun Apr 18 22:36:28 2010 +0100
@@ -41,7 +41,10 @@
struct SwkBox {
Rect r;
SwkEventCallback *e;
- void *data;
+ union {
+ char *text;
+ void *aux;
+ } data;
};
typedef struct {
@@ -52,5 +55,8 @@
void swk_init();
+void swk_button(SwkEvent *e);
+void swk_label(SwkEvent *e);
+void swk_text(SwkEvent *e);
void swk_deinit();
Received on Sun Apr 18 2010 - 21:36:31 UTC
This archive was generated by hypermail 2.2.0 : Sun Apr 18 2010 - 21:48:04 UTC