[hackers] [swk] Apply Robert Ransom patchset fixing make clean and removing debug printf || pancake

From: <hg_AT_suckless.org>
Date: Sun, 9 May 2010 02:44:00 +0000 (UTC)

changeset: 43:50df6f6e2a6c
tag: tip
user: pancake <pancake_AT_nopcode.org>
date: Sun May 09 04:37:48 2010 +0200
files: README TODO
description:
Apply Robert Ransom patchset fixing make clean and removing debug printf
Cleanup README and split it into TODO

diff -r 300fb8e83c95 -r 50df6f6e2a6c README
--- a/README Sat May 08 15:07:02 2010 -0700
+++ b/README Sun May 09 04:37:48 2010 +0200
@@ -11,62 +11,3 @@
 Debian/Ubuntu: apt-get install libsdl-dev libsdl-ttf libsdl-image
 Maemo n900: apt-get install libsdl1.3-dev libsdl-image1.2-dev libsdl-ttf2.0-0
                -> cp config.n900.h config.h
-
-TODO
-====
-*
-* receive fine-grained x,y in Point? for sketch or imaging stuff is important
-* support for clipboard (implemented in gi_ backend)
-* simple way to define callback for buttons instead of reimplementing widget
-* full text editing widget
-* scroll on focus (discuss)
-* mouse bindings in config.h
-* allow widgets to define to force size (height, width)
-* add support to resize images (scaling)
-* only focus buttons and entries (input widgets)
-* add function to click button 1, 2, 3, ...
-* allow to load images from memory instead of files
-* default image path
-
-Text format UI design
-=====================
-
- \n -> newline
- \t -> swk_filler
- ".." -> swk_label
- ---- -> swk_separator
- ==== -> newline(-1)
- [..] -> button
- (..) -> option
- <.*> -> image
-
-Example description:
---------------------
-
- {HelloWorld
- "Press a button"
- ----------------
- (save password)
- (store options)
- [Ok] [Cancel]
- ================
- "This is new"
- <image.png>
- }
-
-Test program:
--------------
-
- void onclick() {
- if(e->type != EClick || e->box->text==NULL)
- return;
- if(!strcmp(e->box->text, "Ok")) {
- }
- }
- SwkWindow *w = swk_ui(
- "{HelloWorld\n
- "\"Press a button\"\n"
- "--\n"
- "[Ok] [Cancel]\n==\n");
- w->cb = onclick;
- swk_ui_free(w);
diff -r 300fb8e83c95 -r 50df6f6e2a6c TODO
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/TODO Sun May 09 04:37:48 2010 +0200
@@ -0,0 +1,15 @@
+TODO
+====
+
+* receive fine-grained x,y in Point? for sketch or imaging stuff is important
+* support for clipboard (implemented in gi_ backend)
+* simple way to define callback for buttons instead of reimplementing widget (?)
+* full text editing widget (multiline, cursor support, text format, ...)
+* scroll on focus (if focused widget is not in screen, just scroll there..)
+* mouse bindings in config.h (which mouse bindings we need? wheel to scroll?)
+* allow widgets to force its own size (height, width)
+* add support to resize images (scaling)
+* only focus buttons and entries (input widgets)
+* add function to click button 1, 2, 3, ... // clicking from code..
+* allow to load images from memory instead of files
+* default image path (?)
Received on Sun May 09 2010 - 02:44:00 UTC

This archive was generated by hypermail 2.2.0 : Sun May 09 2010 - 02:48:04 UTC