[hackers] [swk] some more changes || pancake

From: <hg_AT_suckless.org>
Date: Mon, 19 Apr 2010 13:00:48 +0000 (UTC)

changeset: 3:d2e9c2327a71
tag: tip
user: pancake <pancake_AT_nopcode.org>
date: Mon Apr 19 14:54:14 2010 +0200
files: swk.h
description:
some more changes

diff -r 907b0d0d3e21 -r d2e9c2327a71 swk.h
--- a/swk.h Sun Apr 18 22:36:28 2010 +0100
+++ b/swk.h Mon Apr 19 14:54:14 2010 +0200
@@ -41,22 +41,22 @@
 struct SwkBox {
         Rect r;
         SwkEventCallback *e;
- union {
- char *text;
- void *aux;
- } data;
+ char *text;
+ void *data;
 };
 
 typedef struct {
         Rect r;
         SwkBox *boxes;
+ char *title;
 } SwkWindow;
 
 
 void swk_init();
+void swk_deinit();
+int swk_loop(SwkWindow *w);
+int swk_event(SwkWindow *w);
 
 void swk_button(SwkEvent *e);
 void swk_label(SwkEvent *e);
-void swk_text(SwkEvent *e);
-
-void swk_deinit();
+void swk_entry(SwkEvent *e);
Received on Mon Apr 19 2010 - 13:00:48 UTC

This archive was generated by hypermail 2.2.0 : Mon Apr 19 2010 - 13:12:03 UTC