Commit Graph

74 Commits

Author SHA1 Message Date
Sander van Dijk
4b8edd2e48 Replace Vector with a linked list in wmiimenu, getting rid of a bunch of unnecessary malloc()'s and free()'s. 2006-07-04 19:51:59 +00:00
Anselm R. Garbe
2af8fef0e0 renamed Blitz' dsiplay into dpy 2006-07-03 18:41:14 +02:00
Kris Maglione
906f5fb079 merge 2006-06-23 17:40:04 -04:00
Kris Maglione
f6dee3c0a0 Added size information to certain files so inferno can append them 2006-06-23 17:38:29 -04:00
Anselm R. Garbe
6ec8896f49 added BlitzBrush->border to allow defining borderless background drawing 2006-06-23 11:34:10 +02:00
Anselm R. Garbe
8ad66e8f67 renamed blitz_draw_input into blitz_draw_label, now implementing blitz_draw_input 2006-06-22 12:00:18 +02:00
Anselm R. Garbe
ff0f239614 simplified BlitzBrush once again 2006-06-22 11:46:39 +02:00
Anselm R. Garbe
92b0faadc2 removed ~200 LOC due to liblitz simplification 2006-06-22 11:03:42 +02:00
Anselm R. Garbe
ec1db9e2df I think of only a BlitzBrush structure in the future, instead of all this crappy Widget/Color/Font stuff... 2006-06-21 17:28:33 +02:00
Kris Maglione
eb1652d7a9 Initialize main()'s BlitzFont font to 0 to prevent segfault 2006-06-20 20:22:23 -04:00
Anselm R. Garbe
4f833eb4e4 removed obsolete stuff from liblitz 2006-06-20 15:47:08 +02:00
Anselm R. Garbe
a94fc7cf54 added string definitions to BlitzColor and BlitzFont, removed cmd/wm/wm.h:struct Color 2006-06-19 10:28:37 +02:00
Anselm R. Garbe
8df05a7709 merged, and proceeded with liblitz stuff 2006-06-13 11:21:06 +02:00
Anselm R. Garbe
ea37c5afe7 changing liblitz to use a global Blitz context 2006-06-12 15:20:03 +02:00
Anselm R. Garbe
acdb6c4044 changed blitz_loadcolor to use Blitz type 2006-06-12 14:48:19 +02:00
Kris Maglione
f1a8ea8429 Fixed input width issues on change between title/input 2006-06-06 23:01:00 -04:00
Kris Maglione
0161360877 Fixed handling of title width in wmiimenu 2006-06-04 21:50:48 -04:00
Kris Maglione
282a1b2e4e Replaced the title feature with something more palatable 2006-06-04 21:21:15 -04:00
Anselm R. Garbe
d310c746b7 draw title with west alignment 2006-05-25 12:49:24 +02:00
Sander van Dijk
a36288c7e5 simplification in wmiimenu 2006-05-25 00:02:17 +00:00
Sander van Dijk
cb7bfcf1f2 implements a [-t <title>] option for wmiimenu (useful to display what the options in the menu mean). 2006-05-24 20:10:54 +00:00
Anselm R. Garbe
1ee2585062 removed focuscolors again (unnecessary bloat) 2006-05-19 20:14:06 +02:00
Anselm R. Garbe
58fa7998b8 thx to keiss again, fixed the prevoff calculation as well 2006-05-19 19:43:31 +02:00
Anselm R. Garbe
3b01488153 fixed wmiimenu bug (also in wmii-3 repo) 2006-05-19 19:39:32 +02:00
Anselm R. Garbe
7324531047 added focuscolors (three color tuples now, which indicate focus and selection state) 2006-05-19 18:14:31 +02:00
Anselm R. Garbe
bc86e15489 fixed wmiimenu issue reported by nion 2006-05-13 21:21:32 +02:00
Anselm R. Garbe
4d1fcd32d3 fixed wmiimenu issue (grabbing keyboard without input list made restart of X necessary, to get back input focus), updated README, updated TODO.wmii-4 (cleaned up, made ordered list) 2006-05-10 23:26:53 +02:00
Anselm R. Garbe
d962bec269 added some wmiimenu maximization stuff (entries are truncated if > mrect.width / 3) 2006-05-10 16:42:12 +02:00
Anselm R. Garbe
b36bee30fb grab the keyboard as early as possible 2006-05-03 13:07:14 +02:00
Anselm R. Garbe
d18d7c66f8 checking locale now in blitz_loadfont (prevents ugly artefacts) 2006-05-01 23:32:04 +02:00
Anselm R. Garbe
c46e7e5b62 proceeded with better name property rendering 2006-04-25 13:33:30 +02:00
Anselm R. Garbe
da72855366 kept the structural introduction of BlitzFont for future UTF8 support after wmii-3 2006-04-23 23:32:36 +02:00
Anselm R. Garbe
445976869e polished liblitz, now going to support XFontSets 2006-04-23 20:00:47 +02:00
Sander van Dijk
dade08e735 small fix in wmiimenu 2006-04-19 23:19:23 +00:00
Sander van Dijk
74a288bccd restore the old behavior of wmiimenu; Shift-Enter can be used to print the entered text instead of the selected item now. 2006-04-19 23:02:31 +00:00
Anselm R. Garbe
477f54c795 fixed wmiimenu to only print the selected item if no text has been entered, otherwise the entered text is printed (this fixes several bugs due tag selection), also implemented mouse-driven column creation (though the discussed structural scaling change is not yet finished as discussed with Sander) 2006-04-19 16:53:40 +02:00
Anselm R. Garbe
ae2d270f22 cleaned up vector definition 2006-04-06 10:39:49 +02:00
Anselm R. Garbe
38fa6c1f49 proceeded with cleanup 2006-04-06 08:09:22 +02:00
Anselm R. Garbe
83834ba9b3 drastic reduction of ugly #define's 2006-04-06 07:55:33 +02:00
Anselm R. Garbe
41f9a57ba6 prepared cext_array_* removal in libixp 2006-04-03 15:52:05 +02:00
Anselm R. Garbe
2dee3984ea removed cext_array_* stuff from wmiimenu 2006-04-03 15:38:32 +02:00
Anthony Martin
5cee0164e6 removed trailing whitespace in *.c, code cleanup finished 2006-03-23 07:12:06 -08:00
Anthony Martin
67bfcd39cb cleaned up code formatting in wmiimenu.c 2006-03-22 13:54:23 -08:00
Anselm R. Garbe
4d2aca6f85 applied some portions of DenisG icon implementation for liblitz - in summary (no scaling, no loading, only creation) and the -lXpm dependency 2006-03-10 18:22:48 +01:00
Sander van Dijk
dee32f41f1 wmiimenu display anomaly fix 2006-03-08 22:12:18 +01:00
Anselm R. Garbe
c7c5283ebd removed check_event from wmiimenu (it does not need it anymore) 2006-03-05 13:29:21 +01:00
Anselm R. Garbe
e23c331ba0 replaced size_t occurences with unsigned int, fixed issue reported by bogon (welcome disappearance issue) 2006-03-01 11:55:46 +01:00
Sander van Dijk
62686ec717 check if there is a \n before trying to remove it. 2006-02-18 22:07:04 +01:00
Sander van Dijk
dde4c67164 add C-p and C-n as alternatives for Left and Right in wmiimenu (makes
the menu completely C-* controllable).
2006-02-18 19:11:49 +01:00
Sander van Dijk
f982cb8679 fix menu segfault on C-u, add some more control characters 2006-02-16 13:38:36 +01:00