Commit Graph

131 Commits

Author SHA1 Message Date
Anselm R. Garbe
a206679e89 added prelim version of keyboard handling, however don't try it now 2006-07-03 12:14:26 +02:00
Kris Maglione
4a85fd4aa0 Made xcharof non-recursive (same algorithm) 2006-07-01 06:52:44 -04:00
Anselm R. Garbe
32da5363cd fixed reverse selection from the end (curstart==nil) 2006-06-30 14:29:49 +02:00
Anselm R. Garbe
281e1fb5ab added focus{in,out} notification (this is necessary to get a clue while we can grab the keyboard for the tagbar) 2006-06-30 14:10:03 +02:00
Anselm R. Garbe
1821c3c3e5 fixed single char selection 2006-06-30 12:25:03 +02:00
Anselm R. Garbe
6de57e1202 implemented cursor setting (selection for 1 character I'm working on), eliminated several compiler warnings which drive me nuts 2006-06-30 12:21:26 +02:00
Anselm R. Garbe
fbcaaa7a87 simplified charof 2006-06-29 17:09:17 +02:00
Anselm R. Garbe
a6971a23c0 simplified the bevent handlers, allowing reverse selection 2006-06-29 17:00:29 +02:00
Anselm R. Garbe
1ea88adf6f if cursor has no start, don't calc any end 2006-06-29 16:49:58 +02:00
Anselm R. Garbe
72d56f20f5 now using a very performant log(n) charof pointer position algorithm 2006-06-29 16:47:26 +02:00
Anselm R. Garbe
12073e5936 removed fontmetric stuff, selection works now on monospace and non-monospace fonts like a charm 2006-06-29 15:38:09 +02:00
Anselm R. Garbe
17bc1342d2 selection of tags works again (cursor settings need to be fixed however) 2006-06-29 11:53:45 +02:00
Anselm R. Garbe
eb050a2f34 removed charof from blitz interface, added notification functions for bpress, brelease and bmotion instead which return True on expose 2006-06-28 08:30:49 +02:00
Kris Maglione
ab2ff71e8f Minor fixes to label sizing/alignment in liblitz (this really needs a brush->padding) 2006-06-27 20:59:09 -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
993611c95d using a global pixmap now 2006-06-23 10:47:07 +02:00
Kris Maglione
2f7674d31a Fixed my last commit 2006-06-23 02:52:03 -04:00
Kris Maglione
94226889e9 Minor fix in bar alignment. Replaced test tags with def.testtags in /ctl (please don't commit broken code). Centered text horizonatlly in tag box. 2006-06-23 02:12:01 -04:00
Anselm R. Garbe
810777be46 small change 2006-06-22 17:01:03 +02:00
Anselm R. Garbe
e57867eddd hacked basic selection/cursor setting algorithm for tagbars (this is still proof of concept) 2006-06-22 14:56:21 +02:00
Anselm R. Garbe
05c58a0de4 implemented cursor setting algorithm for tagbars 2006-06-22 14:26:55 +02:00
Anselm R. Garbe
82e1faf9d9 removed bg from BlitzInput 2006-06-22 13:53:05 +02:00
Anselm R. Garbe
19148d825e implemented cursor rendering as well (now it has to be filled with life) 2006-06-22 13:22:02 +02:00
Anselm R. Garbe
7b54e864b6 implemented drawing selected text in an input widget 2006-06-22 13:00:37 +02:00
Anselm R. Garbe
948f228c61 drawing label now with new drawing algorithm for input widgets (box based) 2006-06-22 12:42:27 +02:00
Anselm R. Garbe
36b738b2ca added brush.c (sorry I missed it) 2006-06-22 12:20:22 +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
dbe41d2ff3 added basic BlitzInput struct 2006-06-22 11:53:34 +02:00
Anselm R. Garbe
50eaf26b36 added basic BlitzInput struct 2006-06-22 11:53:05 +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
Anselm R. Garbe
4f833eb4e4 removed obsolete stuff from liblitz 2006-06-20 15:47:08 +02:00
Anselm R. Garbe
529a035b51 remove BlitzDraw from draw_client, using 4 BlitzWidget's instead (in frame), renamed draw_client into draw_frame 2006-06-19 18:26:06 +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
72c7d317e2 some more changes in liblitz (I need now a working wmii that I can change the Client/Bar rendering) 2006-06-17 12:47:01 +02:00
Anselm R. Garbe
942665ff64 proceeded with liblitz (several cleanups) 2006-06-17 12:36:09 +02:00
Anselm R. Garbe
514018b292 added prelim version of tile.c 2006-06-14 19:09:45 +02:00
Anselm R. Garbe
a894cc3bf5 implemented BlitzTile 2006-06-14 18:59:26 +02:00
Anselm R. Garbe
31b93e49b8 widget list is necessary after all to provide sane hooks to event-check various stuff in liblitz on text input/mouse input 2006-06-14 18:42:47 +02:00
Anselm R. Garbe
287611b1db removed various crap from liblitz, this toolkit-idea is the wrong starting point, let's first have BlitzInput and BlitzTile widgets and do the event handling in the client app first 2006-06-14 18:23:49 +02:00
Anselm R. Garbe
b18cdb0fd2 added comment to blitz.h 2006-06-13 18:28:11 +02:00
Anselm R. Garbe
f043abedc3 added widget.c 2006-06-13 18:24:08 +02:00
Anselm R. Garbe
f774e68470 removed add/rm_widget, should be done in the specific widget 2006-06-13 18:05:15 +02:00
Anselm R. Garbe
07494795c6 removing type 2006-06-13 18:00:04 +02:00
Anselm R. Garbe
1b6bf46fe6 added basic layout.c to liblitz 2006-06-13 17:27:01 +02:00
Anselm R. Garbe
d7fea5865f s/draw.c/label.c/ 2006-06-13 15:57:00 +02:00
Anselm R. Garbe
ac473e4ebd removed more crap from liblitz 2006-06-13 15:49:28 +02:00
Anselm R. Garbe
a1081f75bf added window list to Blitz 2006-06-13 15:03:46 +02:00
Anselm R. Garbe
8df05a7709 merged, and proceeded with liblitz stuff 2006-06-13 11:21:06 +02:00