? LiTE-0.6.4.tar.gz
? LiTE-0.8.2
? LiTE-0.8.2.tar.gz
? boot
? boot.log
? config.guess
? config.sub
? diff
? lite-optimizations.diff
? lite.doxy
? lite.vpj
? ltmain.sh
? premultiplied.diff
? vector.diff
? examples/literun.bug
? fonts/boot
? fonts/boot.log
? lite/diff
? tests/.deps
? tests/.libs
? tests/Makefile
? tests/Makefile.in
? tests/log
? tests/nothemewindow
? tests/utcursor
? tests/utlabel
? tests/utslider
? tests/window

RCS file: /cvs/directfb/lite/.cvsignore,v
Working file: .cvsignore
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2003-01-19 11:53:24 +0000;  author: neo;  state: Exp;  lines: +4 -3;
shut up CVS
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/AUTHORS,v
Working file: AUTHORS
head: 1.7
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.7
	VERSION_0_8_2: 1.7
	VERSION_0_8_1: 1.7
	VERSION_0_8_0: 1.7
	VERSION_0_7_2: 1.7
	VERSION_0_7_1: 1.6
	VERSION_0_7_0: 1.6
	VERSION_0_6_5: 1.6
	VERSION_0_6_3: 1.6
	VERSION_0_6_2: 1.5
	VERSION_0_6_1: 1.5
	VERSION_0_4_3: 1.4
	VERSION_0_4_2: 1.4
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.3
	VERSION_0_2_2: 1.3
	VERSION_0_1: 1.3
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 7;	selected revisions: 7
description:
----------------------------
revision 1.7
date: 2006-05-03 01:23:37 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.6
date: 2005-11-08 05:28:46 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Added Ben Combee to the list of authors.
----------------------------
revision 1.5
date: 2005-10-10 19:59:22 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Added Ed Wei to the constributor list.
----------------------------
revision 1.4
date: 2005-05-13 00:35:50 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New contributors: Andy Stewart, Damian Kowalewski.
----------------------------
revision 1.3
date: 2005-02-15 07:20:30 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Updated list of authors.
----------------------------
revision 1.2
date: 2004-05-09 19:20:33 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added LGPL license.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/COPYING,v
Working file: COPYING
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2004-05-09 19:20:33 +0000;  author: dok;  state: Exp;
Added LGPL license.
=============================================================================

RCS file: /cvs/directfb/lite/ChangeLog,v
Working file: ChangeLog
head: 1.26
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.26
	VERSION_0_8_2: 1.26
	VERSION_0_8_1: 1.26
	VERSION_0_8_0: 1.26
	VERSION_0_7_2: 1.26
	VERSION_0_7_1: 1.26
	VERSION_0_7_0: 1.25
	VERSION_0_6_5: 1.24
	VERSION_0_6_3: 1.22
	VERSION_0_6_2: 1.21
	VERSION_0_6_1: 1.20
	VERSION_0_4_3: 1.14
	VERSION_0_4_2: 1.13
	VERSION_0_3_1: 1.9
	VERSION_0_3_0: 1.7
	VERSION_0_2_2: 1.6
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 26;	selected revisions: 26
description:
----------------------------
revision 1.26
date: 2006-02-03 03:38:52 +0000;  author: kent;  state: Exp;  lines: +44 -0;

New LiTE version, 0.7.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.25
date: 2006-01-23 06:43:10 +0000;  author: kent;  state: Exp;  lines: +42 -0;

New LiTE version, 0.7.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.24
date: 2005-12-21 01:14:18 +0000;  author: kent;  state: Exp;  lines: +97 -0;

New LiTE version, 0.6.5, see NEWS and ChangeLog for details.
----------------------------
revision 1.23
date: 2005-11-19 07:20:15 +0000;  author: kent;  state: Exp;  lines: +54 -0;

New LiTE version, 0.6.4, see NEWS and ChangeLog for details.
----------------------------
revision 1.22
date: 2005-11-08 05:49:53 +0000;  author: kent;  state: Exp;  lines: +63 -0;

New LiTE version, 0.6.3, see ChangeLog and NEWS for details.
----------------------------
revision 1.21
date: 2005-10-29 04:41:22 +0000;  author: kent;  state: Exp;  lines: +442 -0;

New LiTE version, 0.6.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.20
date: 2005-10-11 20:39:59 +0000;  author: kent;  state: Exp;  lines: +399 -0;

New LiTE version, 0.6.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.19
date: 2005-09-27 05:00:05 +0000;  author: kent;  state: Exp;  lines: +64 -0;

New LiTE version, 0.6.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.18
date: 2005-09-08 00:37:30 +0000;  author: kent;  state: Exp;  lines: +50 -0;

New version of LiTE, 0.5.3, see NEWS and ChangeLog for details.
----------------------------
revision 1.17
date: 2005-08-27 02:08:47 +0000;  author: kent;  state: Exp;  lines: +58 -0;

New LiTE version, 0.5.2, see NEWS and ChangeLog for all the details.
----------------------------
revision 1.16
date: 2005-08-19 02:11:08 +0000;  author: kent;  state: Exp;  lines: +88 -0;

New LiTE version, 0.5.1, see NEWS and ChangeLog for more details.
----------------------------
revision 1.15
date: 2005-07-11 01:15:47 +0000;  author: kent;  state: Exp;  lines: +618 -0;

New LiTE release, 0.5.0. See NEWS for information and ChangeLog for
more details.
----------------------------
revision 1.14
date: 2005-06-25 00:07:20 +0000;  author: kent;  state: Exp;  lines: +291 -0;

New version, 0.4.3.  See NEWS for the changes and ChangeLog for
the change details.
----------------------------
revision 1.13
date: 2005-06-17 22:53:37 +0000;  author: kent;  state: Exp;  lines: +226 -0;

New version, 0.4.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.12
date: 2005-06-11 01:38:40 +0000;  author: kent;  state: Exp;  lines: +42 -0;

New LiTE release, 0.4.1.
----------------------------
revision 1.11
date: 2005-06-03 01:41:12 +0000;  author: kent;  state: Exp;  lines: +48 -0;

New LiTE version, 0.4.0 (stability release, new features forward)
----------------------------
revision 1.10
date: 2005-05-19 01:35:12 +0000;  author: kent;  state: Exp;  lines: +211 -0;

New version, LiTE 0.3.2.
----------------------------
revision 1.9
date: 2005-05-13 00:47:42 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New LiTE Version, 0.3.1.
----------------------------
revision 1.8
date: 2005-05-13 00:46:47 +0000;  author: kent;  state: Exp;  lines: +98 -0;
*** empty log message ***
----------------------------
revision 1.7
date: 2005-03-31 23:41:23 +0000;  author: kent;  state: Exp;  lines: +233 -0;

Updated ChangeLog and NEWS with 0.3 release information.
----------------------------
revision 1.6
date: 2005-03-28 07:31:58 +0000;  author: kent;  state: Exp;  lines: +209 -0;

LiTE 0.2.2 NEWS and ChangeLog updates.
----------------------------
revision 1.5
date: 2005-03-17 01:46:59 +0000;  author: kent;  state: Exp;  lines: +253 -0;

Updated ChangeLog with 0.2.1 checkin information.
----------------------------
revision 1.4
date: 2005-02-15 20:39:47 +0000;  author: kent;  state: Exp;  lines: +98 -0;

Updated ChangeLog and NEWS with latest LiTE 0.2 checkin information.
----------------------------
revision 1.3
date: 2005-02-15 07:36:49 +0000;  author: kent;  state: Exp;  lines: +513 -27;

New ChangeLog based on the changes up to version 0.1
----------------------------
revision 1.2
date: 2003-01-15 14:57:51 +0000;  author: dok;  state: Exp;  lines: +262 -0;
Load cursor even if themes are disabled.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/LiTE_ARCHITECTURE.txt,v
Working file: LiTE_ARCHITECTURE.txt
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2005-05-17 00:01:59 +0000;  author: kent;  state: Exp;

Document that  talks about the LiTE architecture.
=============================================================================

RCS file: /cvs/directfb/lite/Makefile.am,v
Working file: Makefile.am
head: 1.3
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.3
	VERSION_0_8_2: 1.3
	VERSION_0_8_1: 1.3
	VERSION_0_8_0: 1.3
	VERSION_0_7_2: 1.3
	VERSION_0_7_1: 1.3
	VERSION_0_7_0: 1.3
	VERSION_0_6_5: 1.3
	VERSION_0_6_3: 1.3
	VERSION_0_6_2: 1.3
	VERSION_0_6_1: 1.3
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2005-06-16 01:35:12 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New unit test directory called tests, will have LiTE unit tests that
need to pass in order for the code to be checked in. First simple
case, plain window creation test.
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/NEWS,v
Working file: NEWS
head: 1.30
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.30
	VERSION_0_8_2: 1.29
	VERSION_0_8_1: 1.28
	VERSION_0_8_0: 1.27
	VERSION_0_7_2: 1.26
	VERSION_0_7_1: 1.25
	VERSION_0_7_0: 1.24
	VERSION_0_6_5: 1.23
	VERSION_0_6_3: 1.21
	VERSION_0_6_2: 1.20
	VERSION_0_6_1: 1.19
	VERSION_0_4_3: 1.13
	VERSION_0_4_2: 1.12
	VERSION_0_3_1: 1.8
	VERSION_0_3_0: 1.6
	VERSION_0_2_2: 1.5
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 30;	selected revisions: 30
description:
----------------------------
revision 1.30
date: 2006-12-13 19:37:54 +0000;  author: bcombee;  state: Exp;  lines: +23 -0;  commitid: GirQ5lw0bF6QJoYr;
Update NEWS and configure.in for 0.8.3 release
----------------------------
revision 1.29
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +18 -0;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.28
date: 2006-09-20 21:15:36 +0000;  author: bcombee;  state: Exp;  lines: +19 -0;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.27
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +19 -0;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.26
date: 2006-05-03 01:23:37 +0000;  author: bcombee;  state: Exp;  lines: +15 -0;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.25
date: 2006-02-03 03:38:52 +0000;  author: kent;  state: Exp;  lines: +12 -1;

New LiTE version, 0.7.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.24
date: 2006-01-23 06:43:10 +0000;  author: kent;  state: Exp;  lines: +10 -0;

New LiTE version, 0.7.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.23
date: 2005-12-21 01:14:18 +0000;  author: kent;  state: Exp;  lines: +17 -0;

New LiTE version, 0.6.5, see NEWS and ChangeLog for details.
----------------------------
revision 1.22
date: 2005-11-19 07:20:15 +0000;  author: kent;  state: Exp;  lines: +11 -0;

New LiTE version, 0.6.4, see NEWS and ChangeLog for details.
----------------------------
revision 1.21
date: 2005-11-08 05:49:53 +0000;  author: kent;  state: Exp;  lines: +7 -0;

New LiTE version, 0.6.3, see ChangeLog and NEWS for details.
----------------------------
revision 1.20
date: 2005-10-29 04:41:22 +0000;  author: kent;  state: Exp;  lines: +24 -0;

New LiTE version, 0.6.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.19
date: 2005-10-11 20:39:59 +0000;  author: kent;  state: Exp;  lines: +21 -0;

New LiTE version, 0.6.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.18
date: 2005-09-27 05:00:05 +0000;  author: kent;  state: Exp;  lines: +7 -0;

New LiTE version, 0.6.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.17
date: 2005-09-08 00:37:31 +0000;  author: kent;  state: Exp;  lines: +14 -1;

New version of LiTE, 0.5.3, see NEWS and ChangeLog for details.
----------------------------
revision 1.16
date: 2005-08-27 02:08:47 +0000;  author: kent;  state: Exp;  lines: +8 -0;

New LiTE version, 0.5.2, see NEWS and ChangeLog for all the details.
----------------------------
revision 1.15
date: 2005-08-19 02:11:08 +0000;  author: kent;  state: Exp;  lines: +13 -0;

New LiTE version, 0.5.1, see NEWS and ChangeLog for more details.
----------------------------
revision 1.14
date: 2005-07-11 01:15:47 +0000;  author: kent;  state: Exp;  lines: +19 -0;

New LiTE release, 0.5.0. See NEWS for information and ChangeLog for
more details.
----------------------------
revision 1.13
date: 2005-06-25 00:07:20 +0000;  author: kent;  state: Exp;  lines: +14 -0;

New version, 0.4.3.  See NEWS for the changes and ChangeLog for
the change details.
----------------------------
revision 1.12
date: 2005-06-17 22:53:37 +0000;  author: kent;  state: Exp;  lines: +31 -3;

New version, 0.4.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.11
date: 2005-06-11 01:38:40 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New LiTE release, 0.4.1.
----------------------------
revision 1.10
date: 2005-06-03 01:41:12 +0000;  author: kent;  state: Exp;  lines: +5 -0;

New LiTE version, 0.4.0 (stability release, new features forward)
----------------------------
revision 1.9
date: 2005-05-19 01:35:12 +0000;  author: kent;  state: Exp;  lines: +13 -0;

New version, LiTE 0.3.2.
----------------------------
revision 1.8
date: 2005-05-13 00:47:42 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New LiTE Version, 0.3.1.
----------------------------
revision 1.7
date: 2005-05-13 00:46:47 +0000;  author: kent;  state: Exp;  lines: +17 -0;
*** empty log message ***
----------------------------
revision 1.6
date: 2005-03-31 23:41:23 +0000;  author: kent;  state: Exp;  lines: +12 -0;

Updated ChangeLog and NEWS with 0.3 release information.
----------------------------
revision 1.5
date: 2005-03-28 07:31:58 +0000;  author: kent;  state: Exp;  lines: +25 -13;

LiTE 0.2.2 NEWS and ChangeLog updates.
----------------------------
revision 1.4
date: 2005-03-17 02:11:15 +0000;  author: kent;  state: Exp;  lines: +13 -3;

Updated NEWS with the 0.2.1 checking information.
----------------------------
revision 1.3
date: 2005-02-15 20:39:47 +0000;  author: kent;  state: Exp;  lines: +12 -1;

Updated ChangeLog and NEWS with latest LiTE 0.2 checkin information.
----------------------------
revision 1.2
date: 2005-02-15 07:45:19 +0000;  author: kent;  state: Exp;  lines: +24 -0;

Updated the NEWS section.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/README,v
Working file: README
head: 1.6
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.6
	VERSION_0_8_2: 1.6
	VERSION_0_8_1: 1.6
	VERSION_0_8_0: 1.6
	VERSION_0_7_2: 1.6
	VERSION_0_7_1: 1.6
	VERSION_0_7_0: 1.6
	VERSION_0_6_5: 1.6
	VERSION_0_6_3: 1.6
	VERSION_0_6_2: 1.6
	VERSION_0_6_1: 1.6
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
	VERSION_0_3_1: 1.3
	VERSION_0_3_0: 1.3
	VERSION_0_2_2: 1.3
	VERSION_0_1: 1.3
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 6;	selected revisions: 6
description:
----------------------------
revision 1.6
date: 2005-06-30 19:46:56 +0000;  author: kent;  state: Exp;  lines: +1 -0;

globals have now a _global postfix. Forces one to use less globals
as there's more typing involved...
----------------------------
revision 1.5
date: 2005-06-25 01:05:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed SetCurrentKeyModifier to prvlite_set_current_key_modifier.
Now all private non-static functions have a prvlite prefix, maybe
_lite is still pushing the nerves of ANSI C purists...
----------------------------
revision 1.4
date: 2005-06-25 00:44:29 +0000;  author: kent;  state: Exp;  lines: +42 -1;

README file has the formatting rules/style guide for LiTE.
----------------------------
revision 1.3
date: 2005-02-15 07:23:14 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Information about the CVS rtag format.
----------------------------
revision 1.2
date: 2004-05-09 19:20:34 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Added LGPL license.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/TODO,v
Working file: TODO
head: 1.7
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.7
	VERSION_0_8_2: 1.7
	VERSION_0_8_1: 1.7
	VERSION_0_8_0: 1.7
	VERSION_0_7_2: 1.6
	VERSION_0_7_1: 1.6
	VERSION_0_7_0: 1.6
	VERSION_0_6_5: 1.6
	VERSION_0_6_3: 1.6
	VERSION_0_6_2: 1.6
	VERSION_0_6_1: 1.6
	VERSION_0_4_3: 1.5
	VERSION_0_4_2: 1.5
	VERSION_0_3_1: 1.5
	VERSION_0_3_0: 1.5
	VERSION_0_2_2: 1.5
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.5
keyword substitution: kv
total revisions: 7;	selected revisions: 7
description:
----------------------------
revision 1.7
date: 2006-05-15 20:22:35 +0000;  author: dok;  state: Exp;  lines: +6 -0;
some possible optimizations
----------------------------
revision 1.6
date: 2005-10-11 20:39:59 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New LiTE version, 0.6.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.5
date: 2003-02-26 15:14:55 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Removed sprintf usage.
----------------------------
revision 1.4
date: 2002-11-18 22:47:33 +0000;  author: dok;  state: Exp;  lines: +0 -1;
Added cursor shape.
----------------------------
revision 1.3
date: 2002-11-12 22:46:01 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Added note about theme surfaces to be a single one.
----------------------------
revision 1.2
date: 2002-11-02 05:01:30 +0000;  author: dok;  state: Exp;  lines: +0 -1;
Removed resizing item.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/autogen.sh,v
Working file: autogen.sh
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.4
	VERSION_0_8_2: 1.4
	VERSION_0_8_1: 1.4
	VERSION_0_8_0: 1.4
	VERSION_0_7_2: 1.4
	VERSION_0_7_1: 1.3
	VERSION_0_7_0: 1.3
	VERSION_0_6_5: 1.3
	VERSION_0_6_3: 1.3
	VERSION_0_6_2: 1.3
	VERSION_0_6_1: 1.3
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
	VERSION_0_3_1: 1.3
	VERSION_0_3_0: 1.3
	VERSION_0_2_2: 1.3
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2007-01-24 23:14:43 +0000;  author: syrjala;  state: Exp;  lines: +12 -1;  commitid: 7SODfNPtcSzAAO3s;
Fix version check for automake-1.10.
----------------------------
revision 1.4
date: 2006-03-26 18:56:10 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fix autoconf version detection.
----------------------------
revision 1.3
date: 2005-02-16 08:17:14 +0000;  author: kent;  state: Exp;  lines: +1 -1;

use libtoolize --automake --copy --force to enforce that the needed
files for ltmain.sh are copied over.
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +118 -17;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/configure.in,v
Working file: configure.in
head: 1.49
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.49
	VERSION_0_8_2: 1.48
	VERSION_0_8_1: 1.46
	VERSION_0_8_0: 1.45
	VERSION_0_7_2: 1.42
	VERSION_0_7_1: 1.40
	VERSION_0_7_0: 1.39
	VERSION_0_6_5: 1.38
	VERSION_0_6_3: 1.36
	VERSION_0_6_2: 1.35
	VERSION_0_6_1: 1.34
	VERSION_0_4_3: 1.28
	VERSION_0_4_2: 1.27
	VERSION_0_3_1: 1.20
	VERSION_0_3_0: 1.18
	VERSION_0_2_2: 1.17
	VERSION_0_1: 1.13
	DIRECTFB_0_9_18: 1.9
keyword substitution: kv
total revisions: 49;	selected revisions: 49
description:
----------------------------
revision 1.49
date: 2006-12-13 19:37:54 +0000;  author: bcombee;  state: Exp;  lines: +3 -2;  commitid: GirQ5lw0bF6QJoYr;
Update NEWS and configure.in for 0.8.3 release
----------------------------
revision 1.48
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +7 -4;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.47
date: 2006-10-01 19:47:14 +0000;  author: dok;  state: Exp;  lines: +1 -0;  commitid: TDmd7YW22shu81Pr;
Added AC_CHECK_HEADERS(stdbool.h).
----------------------------
revision 1.46
date: 2006-09-20 21:15:36 +0000;  author: bcombee;  state: Exp;  lines: +4 -4;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.45
date: 2006-09-01 18:38:08 +0000;  author: bcombee;  state: Exp;  lines: +2 -2;  commitid: 4BfryJOaHajAI9Lr;
Fixed incorrect version number change that messed up libtool output name
----------------------------
revision 1.44
date: 2006-09-01 17:52:28 +0000;  author: bcombee;  state: Exp;  lines: +3 -3;  commitid: eoB8UTyereKRs9Lr;
Updating configure.in for 0.8.0 library version and 2:0:1 so version
----------------------------
revision 1.43
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.42
date: 2006-05-03 01:23:37 +0000;  author: bcombee;  state: Exp;  lines: +3 -3;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.41
date: 2006-02-05 18:04:39 +0000;  author: dok;  state: Exp;  lines: +10 -0;
Keep up to four non-overlapping regions before merging updates into a big one.

This greatly improves speed on pixel rate limited systems, e.g. embedded.


Added debug domain for queuing/dequeuing/processing updates: Lite/Updates.


Added configure option "--enable-debug" which enables building with
all debug messages, assertions etc. compiled in
----------------------------
revision 1.40
date: 2006-02-03 03:38:52 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.7.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.39
date: 2006-01-23 06:43:10 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.7.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.38
date: 2005-12-21 01:14:18 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.6.5, see NEWS and ChangeLog for details.
----------------------------
revision 1.37
date: 2005-11-19 07:20:15 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.6.4, see NEWS and ChangeLog for details.
----------------------------
revision 1.36
date: 2005-11-08 05:49:53 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New LiTE version, 0.6.3, see ChangeLog and NEWS for details.
----------------------------
revision 1.35
date: 2005-10-29 04:41:22 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.6.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.34
date: 2005-10-11 20:39:59 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.6.1, see NEWS and ChangeLog for details.
----------------------------
revision 1.33
date: 2005-09-27 05:00:05 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.6.0, see ChangeLog and NEWS for details.
----------------------------
revision 1.32
date: 2005-09-08 00:37:31 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New version of LiTE, 0.5.3, see NEWS and ChangeLog for details.
----------------------------
revision 1.31
date: 2005-08-27 02:08:47 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.5.2, see NEWS and ChangeLog for all the details.
----------------------------
revision 1.30
date: 2005-08-19 02:11:08 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.5.1, see NEWS and ChangeLog for more details.
----------------------------
revision 1.29
date: 2005-07-11 01:15:47 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE release, 0.5.0. See NEWS for information and ChangeLog for
more details.
----------------------------
revision 1.28
date: 2005-06-25 00:07:20 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New version, 0.4.3.  See NEWS for the changes and ChangeLog for
the change details.
----------------------------
revision 1.27
date: 2005-06-17 22:53:37 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New version, 0.4.2, see NEWS and ChangeLog for details.
----------------------------
revision 1.26
date: 2005-06-16 01:35:12 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New unit test directory called tests, will have LiTE unit tests that
need to pass in order for the code to be checked in. First simple
case, plain window creation test.
----------------------------
revision 1.25
date: 2005-06-11 01:38:40 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE release, 0.4.1.
----------------------------
revision 1.24
date: 2005-06-03 01:41:13 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New LiTE version, 0.4.0 (stability release, new features forward)
----------------------------
revision 1.23
date: 2005-05-19 01:35:12 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New version, LiTE 0.3.2.
----------------------------
revision 1.22
date: 2005-05-18 23:22:38 +0000;  author: kent;  state: Exp;  lines: +8 -1;

Ouch, wrong configure.in got checked in, rolling back to 1.20.
----------------------------
revision 1.21
date: 2005-05-18 23:18:43 +0000;  author: kent;  state: Exp;  lines: +1 -8;

Redid the load cursor functions so they take a plain pointer instead
of a handle, no need to really use handles here as the LiteCursor is not
created, just the surface populated.
----------------------------
revision 1.20
date: 2005-05-13 00:46:47 +0000;  author: kent;  state: Exp;  lines: +2 -2;
*** empty log message ***
----------------------------
revision 1.19
date: 2005-04-06 20:54:26 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Follow API change.

Require 0.9.23 now.
----------------------------
revision 1.18
date: 2005-03-31 23:34:55 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Bumped up LiTE version to 0.3.0.
----------------------------
revision 1.17
date: 2005-03-28 07:22:19 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Bumping up LiTE version to 0.2.2.
----------------------------
revision 1.16
date: 2005-03-17 01:42:04 +0000;  author: kent;  state: Exp;  lines: +2 -2;

New library version 0.2.1
----------------------------
revision 1.15
date: 2005-03-01 19:56:37 +0000;  author: kent;  state: Exp;  lines: +4 -1;

New configure flag, --with-fontdir, that specifies the directory where
the fonts reside. By default the current datadir/fonts directory is honored.
----------------------------
revision 1.14
date: 2005-02-15 19:47:27 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Bouncing up the release level to 0.2 and 2:0:0 library builds as the
APIs from now will start changing quite a lot (converting them so they
conform to the DirectFB APIs, use of DFB macros, and so forth).
----------------------------
revision 1.13
date: 2005-02-15 07:17:55 +0000;  author: kent;  state: Exp;  lines: +7 -1;

Specified version-info information in configure.in that is passed to
Makefile.am. This current version is defined as 0.1 (1:0:0), as the
API will change from this point forward, so the numbers will be bumped
up.
----------------------------
revision 1.12
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.11
date: 2003-07-28 22:08:31 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Use DWOP_SHAPE.
----------------------------
revision 1.10
date: 2003-06-27 12:36:59 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed -Werror-implicit-function-declaration[s] <- removed this character
----------------------------
revision 1.9
date: 2003-05-07 15:35:48 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added lite_set_window_blend_mode() which gets two arguments. The first
specifies the content blend mode, the second specifies the opacity blend
mode.

The blend mode is a hint to enable/disable blending of the content or
window opacity values between 0 and 255. Blend mode can be "always", "never"
or "auto" (choosing via hardware capabilities).
----------------------------
revision 1.8
date: 2003-04-18 18:24:11 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Added "-Werror-implicit-function-declarations".
----------------------------
revision 1.7
date: 2003-04-17 11:30:47 +0000;  author: dok;  state: Exp;  lines: +13 -6;
CFLAGS and Makefile cleanup, fixed a warning.
----------------------------
revision 1.6
date: 2003-04-16 15:19:38 +0000;  author: dok;  state: Exp;  lines: +4 -1;
Added quotes.
----------------------------
revision 1.5
date: 2003-04-16 14:24:35 +0000;  author: dok;  state: Exp;  lines: +1 -5;
Fixed all warnings.
----------------------------
revision 1.4
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +4 -1;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.3
date: 2002-10-29 14:07:23 +0000;  author: neo;  state: Exp;  lines: +4 -1;
Require DirectFB >= 0.9.14.
----------------------------
revision 1.2
date: 2002-10-23 22:17:18 +0000;  author: andi;  state: Exp;  lines: +2 -0;
added AC_CANONICAL_TARGET. fixes configure on darwin
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite.pc.in,v
Working file: lite.pc.in
head: 1.4
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.4
	VERSION_0_8_2: 1.4
	VERSION_0_8_1: 1.3
	VERSION_0_8_0: 1.3
	VERSION_0_7_2: 1.3
	VERSION_0_7_1: 1.3
	VERSION_0_7_0: 1.3
	VERSION_0_6_5: 1.3
	VERSION_0_6_3: 1.3
	VERSION_0_6_2: 1.3
	VERSION_0_6_1: 1.3
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
	VERSION_0_3_1: 1.3
	VERSION_0_3_0: 1.3
	VERSION_0_2_2: 1.3
	VERSION_0_1: 1.3
	DIRECTFB_0_9_18: 1.3
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2006-10-01 20:43:21 +0000;  author: dok;  state: Exp;  lines: +1 -0;  commitid: 70PLAEOVIGDwr1Pr;
Added datarootdir=@datarootdir@.
----------------------------
revision 1.3
date: 2002-10-29 14:07:23 +0000;  author: neo;  state: Exp;  lines: +1 -1;
Require DirectFB >= 0.9.14.
----------------------------
revision 1.2
date: 2002-10-29 13:41:08 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Font attributes can be specified for lite_get_font().
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/.cvsignore,v
Working file: data/.cvsignore
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/Makefile.am,v
Working file: data/Makefile.am
head: 1.3
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.3
	VERSION_0_8_2: 1.3
	VERSION_0_8_1: 1.3
	VERSION_0_8_0: 1.3
	VERSION_0_7_2: 1.3
	VERSION_0_7_1: 1.3
	VERSION_0_7_0: 1.3
	VERSION_0_6_5: 1.3
	VERSION_0_6_3: 1.3
	VERSION_0_6_2: 1.3
	VERSION_0_6_1: 1.3
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
	VERSION_0_3_1: 1.3
	VERSION_0_3_0: 1.3
	VERSION_0_2_2: 1.3
	VERSION_0_1: 1.3
	DIRECTFB_0_9_18: 1.3
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2003-04-17 11:30:48 +0000;  author: dok;  state: Exp;  lines: +0 -7;
CFLAGS and Makefile cleanup, fixed a warning.
----------------------------
revision 1.2
date: 2002-11-18 22:47:33 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Added cursor shape.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/cursor.png,v
Working file: data/cursor.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002-11-20 19:07:23 +0000;  author: dok;  state: Exp;  lines: +12 -15;
Bigger with a stronger shadow.
----------------------------
revision 1.1
date: 2002-11-18 22:47:33 +0000;  author: dok;  state: Exp;
Added cursor shape.
=============================================================================

RCS file: /cvs/directfb/lite/data/links.png,v
Working file: data/links.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +1 -2;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/oben.png,v
Working file: data/oben.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/obenlinks.png,v
Working file: data/obenlinks.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/obenrechts.png,v
Working file: data/obenrechts.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/rechts.png,v
Working file: data/rechts.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/unten.png,v
Working file: data/unten.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.2
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/untenlinks.png,v
Working file: data/untenlinks.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/data/untenrechts.png,v
Working file: data/untenrechts.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2003-06-27 16:07:45 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Implemented bottom-right-corner-resizing with a fancy look.

Implemented minimum size which is automatically calculated based on
the borders and the title string width ;)

Implemented aligned resizing (x/y steps), e.g. for a terminal ;)
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/examples/.cvsignore,v
Working file: examples/.cvsignore
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.5
	VERSION_0_8_0: 1.5
	VERSION_0_7_2: 1.4
	VERSION_0_7_1: 1.4
	VERSION_0_7_0: 1.4
	VERSION_0_6_5: 1.4
	VERSION_0_6_3: 1.4
	VERSION_0_6_2: 1.4
	VERSION_0_6_1: 1.4
	VERSION_0_4_3: 1.4
	VERSION_0_4_2: 1.4
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
	VERSION_0_1: 1.4
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2006-05-15 20:28:59 +0000;  author: dok;  state: Exp;  lines: +2 -0;
First version of a LiTE benchmark and profiling tool.

Writes timestamps of the initialization phase of the test GUI to a log file.
----------------------------
revision 1.4
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.3
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Added a simple slider with a nice example.
----------------------------
revision 1.2
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/D.png,v
Working file: examples/D.png
head: 1.2
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.2
	VERSION_0_8_2: 1.2
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.2
	VERSION_0_3_0: 1.2
	VERSION_0_2_2: 1.2
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +10 -6;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/Makefile.am,v
Working file: examples/Makefile.am
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.5
	VERSION_0_8_0: 1.5
	VERSION_0_7_2: 1.4
	VERSION_0_7_1: 1.4
	VERSION_0_7_0: 1.4
	VERSION_0_6_5: 1.4
	VERSION_0_6_3: 1.4
	VERSION_0_6_2: 1.4
	VERSION_0_6_1: 1.4
	VERSION_0_4_3: 1.4
	VERSION_0_4_2: 1.4
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
	VERSION_0_1: 1.4
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2006-05-15 20:28:59 +0000;  author: dok;  state: Exp;  lines: +4 -1;
First version of a LiTE benchmark and profiling tool.

Writes timestamps of the initialization phase of the test GUI to a log file.
----------------------------
revision 1.4
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +7 -4;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.3
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +10 -14;
Added a simple slider with a nice example.
----------------------------
revision 1.2
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;  lines: +9 -0;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/bench.c,v
Working file: examples/bench.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.3
	VERSION_0_8_2: 1.3
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.1
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.2
date: 2006-09-20 21:15:37 +0000;  author: bcombee;  state: Exp;  lines: +2 -0;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.1
date: 2006-05-15 20:28:59 +0000;  author: dok;  state: Exp;
First version of a LiTE benchmark and profiling tool.

Writes timestamps of the initialization phase of the test GUI to a log file.
=============================================================================

RCS file: /cvs/directfb/lite/examples/dfbspy.c,v
Working file: examples/dfbspy.c
head: 1.17
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.17
	VERSION_0_8_2: 1.17
	VERSION_0_8_1: 1.16
	VERSION_0_8_0: 1.16
	VERSION_0_7_2: 1.16
	VERSION_0_7_1: 1.16
	VERSION_0_7_0: 1.16
	VERSION_0_6_5: 1.16
	VERSION_0_6_3: 1.16
	VERSION_0_6_2: 1.16
	VERSION_0_6_1: 1.16
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.10
	VERSION_0_3_1: 1.9
	VERSION_0_3_0: 1.9
	VERSION_0_2_2: 1.9
	VERSION_0_1: 1.4
keyword substitution: kv
total revisions: 17;	selected revisions: 17
description:
----------------------------
revision 1.17
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.16
date: 2005-06-30 23:28:11 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image now actually takes a LiteImageTheme, as we could pass in
default images and so on directly to the image structure.
----------------------------
revision 1.15
date: 2005-06-30 23:20:39 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_image now takes a DFBRectangle.
----------------------------
revision 1.14
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.13
date: 2005-06-30 21:37:30 +0000;  author: kent;  state: Exp;  lines: +4 -2;

lite_new_button() API changed, now takes a DFBRectangle and a LiteButtonTheme.
----------------------------
revision 1.12
date: 2005-06-30 19:17:11 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Changed the name of ButtonState to LiteButtonState and the BS_* constants
now are LITE_BS_* constants (as per the DFB/LiTE coding standards).
----------------------------
revision 1.11
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.10
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +11 -6;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.9
date: 2005-03-26 00:25:02 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New lite_new_button() API, takes a LiteButton handle and returns
DFBResult.
----------------------------
revision 1.8
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +2 -2;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.7
date: 2005-03-25 19:05:34 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image() now comforms to the DFB API style, returns DFBResult and
takes LiteImage as a handle.
----------------------------
revision 1.6
date: 2005-03-25 01:27:47 +0000;  author: kent;  state: Exp;  lines: +3 -1;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.5
date: 2005-02-15 20:25:17 +0000;  author: kent;  state: Exp;  lines: +5 -3;

New function: lite_set_label_color() that takes a DFBColor and uses it
for the new pen color. dfbspy.c has an example how to turn the label
color as blue labels.
----------------------------
revision 1.4
date: 2005-01-26 08:09:06 +0000;  author: kent;  state: Exp;  lines: +28 -0;
*** empty log message ***
----------------------------
revision 1.3
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +5 -1;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.2
date: 2004-11-14 10:02:57 +0000;  author: dok;  state: Exp;  lines: +17 -6;
Don't open "/dev/fusion/0" by default.
Follow the environment variable "DIRECTFB_SESSION" if it's set.
----------------------------
revision 1.1
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
=============================================================================

RCS file: /cvs/directfb/lite/examples/literun.c,v
Working file: examples/literun.c
head: 1.16
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.16
	VERSION_0_8_2: 1.16
	VERSION_0_8_1: 1.15
	VERSION_0_8_0: 1.15
	VERSION_0_7_2: 1.15
	VERSION_0_7_1: 1.15
	VERSION_0_7_0: 1.15
	VERSION_0_6_5: 1.15
	VERSION_0_6_3: 1.15
	VERSION_0_6_2: 1.15
	VERSION_0_6_1: 1.15
	VERSION_0_4_3: 1.12
	VERSION_0_4_2: 1.12
	VERSION_0_3_1: 1.11
	VERSION_0_3_0: 1.11
	VERSION_0_2_2: 1.11
	VERSION_0_1: 1.8
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 16;	selected revisions: 16
description:
----------------------------
revision 1.16
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.15
date: 2005-06-30 23:00:45 +0000;  author: kent;  state: Exp;  lines: +2 -1;

New API for lite_new_textline(), takes a DFBRectangle and a LiteTextLineTheme.
----------------------------
revision 1.14
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.13
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.12
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +12 -6;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.11
date: 2005-03-26 00:08:36 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_textline() has a new API, takes LiteTextLine** and returns
DFBResult.
----------------------------
revision 1.10
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.9
date: 2005-03-25 01:27:47 +0000;  author: kent;  state: Exp;  lines: +3 -1;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.8
date: 2005-01-26 08:09:06 +0000;  author: kent;  state: Exp;  lines: +28 -0;
*** empty log message ***
----------------------------
revision 1.7
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +5 -1;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.6
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.5
date: 2004-05-05 08:27:21 +0000;  author: dok;  state: Exp;  lines: +16 -9;
Handle empty text lines.
----------------------------
revision 1.4
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.3
date: 2003-06-27 18:41:42 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Reget sub surfaces on resize, fixes components rendering to the border.
----------------------------
revision 1.2
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added a simple slider with a nice example.
----------------------------
revision 1.1
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
=============================================================================

RCS file: /cvs/directfb/lite/examples/msgbox.c,v
Working file: examples/msgbox.c
head: 1.17
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.17
	VERSION_0_8_2: 1.17
	VERSION_0_8_1: 1.16
	VERSION_0_8_0: 1.16
	VERSION_0_7_2: 1.16
	VERSION_0_7_1: 1.16
	VERSION_0_7_0: 1.16
	VERSION_0_6_5: 1.16
	VERSION_0_6_3: 1.16
	VERSION_0_6_2: 1.16
	VERSION_0_6_1: 1.16
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.10
	VERSION_0_3_1: 1.9
	VERSION_0_3_0: 1.9
	VERSION_0_2_2: 1.9
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 17;	selected revisions: 17
description:
----------------------------
revision 1.17
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.16
date: 2005-06-30 23:28:11 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image now actually takes a LiteImageTheme, as we could pass in
default images and so on directly to the image structure.
----------------------------
revision 1.15
date: 2005-06-30 23:20:39 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_image now takes a DFBRectangle.
----------------------------
revision 1.14
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.13
date: 2005-06-30 21:37:30 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_button() API changed, now takes a DFBRectangle and a LiteButtonTheme.
----------------------------
revision 1.12
date: 2005-06-30 19:17:11 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Changed the name of ButtonState to LiteButtonState and the BS_* constants
now are LITE_BS_* constants (as per the DFB/LiTE coding standards).
----------------------------
revision 1.11
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.10
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +12 -5;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.9
date: 2005-03-26 00:25:02 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New lite_new_button() API, takes a LiteButton handle and returns
DFBResult.
----------------------------
revision 1.8
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.7
date: 2005-03-25 19:05:34 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image() now comforms to the DFB API style, returns DFBResult and
takes LiteImage as a handle.
----------------------------
revision 1.6
date: 2005-03-25 01:27:47 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.5
date: 2005-01-26 08:09:06 +0000;  author: kent;  state: Exp;  lines: +28 -0;
*** empty log message ***
----------------------------
revision 1.4
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +5 -1;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.3
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +9 -9;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.2
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/simple.c,v
Working file: examples/simple.c
head: 1.21
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.21
	VERSION_0_8_2: 1.21
	VERSION_0_8_1: 1.20
	VERSION_0_8_0: 1.20
	VERSION_0_7_2: 1.20
	VERSION_0_7_1: 1.20
	VERSION_0_7_0: 1.20
	VERSION_0_6_5: 1.20
	VERSION_0_6_3: 1.20
	VERSION_0_6_2: 1.20
	VERSION_0_6_1: 1.20
	VERSION_0_4_3: 1.13
	VERSION_0_4_2: 1.13
	VERSION_0_3_1: 1.12
	VERSION_0_3_0: 1.12
	VERSION_0_2_2: 1.12
	VERSION_0_1: 1.7
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 21;	selected revisions: 21
description:
----------------------------
revision 1.21
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.20
date: 2005-06-30 23:28:11 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image now actually takes a LiteImageTheme, as we could pass in
default images and so on directly to the image structure.
----------------------------
revision 1.19
date: 2005-06-30 23:20:39 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_image now takes a DFBRectangle.
----------------------------
revision 1.18
date: 2005-06-30 23:00:45 +0000;  author: kent;  state: Exp;  lines: +2 -1;

New API for lite_new_textline(), takes a DFBRectangle and a LiteTextLineTheme.
----------------------------
revision 1.17
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.16
date: 2005-06-30 21:37:30 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_button() API changed, now takes a DFBRectangle and a LiteButtonTheme.
----------------------------
revision 1.15
date: 2005-06-30 19:17:11 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Changed the name of ButtonState to LiteButtonState and the BS_* constants
now are LITE_BS_* constants (as per the DFB/LiTE coding standards).
----------------------------
revision 1.14
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.13
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +12 -5;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.12
date: 2005-03-26 00:25:02 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New lite_new_button() API, takes a LiteButton handle and returns
DFBResult.
----------------------------
revision 1.11
date: 2005-03-26 00:08:36 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_textline() has a new API, takes LiteTextLine** and returns
DFBResult.
----------------------------
revision 1.10
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.9
date: 2005-03-25 19:05:34 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_image() now comforms to the DFB API style, returns DFBResult and
takes LiteImage as a handle.
----------------------------
revision 1.8
date: 2005-03-25 01:27:47 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.7
date: 2005-01-26 08:09:06 +0000;  author: kent;  state: Exp;  lines: +28 -0;
*** empty log message ***
----------------------------
revision 1.6
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +5 -1;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.5
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +6 -6;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.4
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.3
date: 2003-06-12 17:53:11 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Changed default background for slider example.

Fixed label width in simple example.
----------------------------
revision 1.2
date: 2002-12-18 20:46:39 +0000;  author: dok;  state: Exp;  lines: +11 -16;
Removed unneeded stuff, added comments. Example has 70 lines now.
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/slider.c,v
Working file: examples/slider.c
head: 1.16
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.16
	VERSION_0_8_2: 1.15
	VERSION_0_8_1: 1.14
	VERSION_0_8_0: 1.14
	VERSION_0_7_2: 1.14
	VERSION_0_7_1: 1.14
	VERSION_0_7_0: 1.14
	VERSION_0_6_5: 1.14
	VERSION_0_6_3: 1.14
	VERSION_0_6_2: 1.14
	VERSION_0_6_1: 1.14
	VERSION_0_4_3: 1.11
	VERSION_0_4_2: 1.11
	VERSION_0_3_1: 1.10
	VERSION_0_3_0: 1.10
	VERSION_0_2_2: 1.10
	VERSION_0_1: 1.7
keyword substitution: kv
total revisions: 16;	selected revisions: 16
description:
----------------------------
revision 1.16
date: 2006-10-16 13:28:45 +0000;  author: dok;  state: Exp;  lines: +6 -6;  commitid: 3G8AWgRTgjXPyUQr;
Fix types.
----------------------------
revision 1.15
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.14
date: 2005-06-30 22:46:36 +0000;  author: kent;  state: Exp;  lines: +5 -2;

lite_new_slider() now takes a DFBRectangle and a LiteSliderTheme.
----------------------------
revision 1.13
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.12
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.11
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +12 -6;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.10
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.9
date: 2005-03-25 23:22:41 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_slider() is now using the new API of returning a DFBResult and
passing in a LiteSlider handle.
----------------------------
revision 1.8
date: 2005-03-25 01:27:47 +0000;  author: kent;  state: Exp;  lines: +3 -2;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.7
date: 2005-01-26 08:09:06 +0000;  author: kent;  state: Exp;  lines: +28 -0;
*** empty log message ***
----------------------------
revision 1.6
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +6 -2;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.5
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.4
date: 2004-02-19 13:13:40 +0000;  author: dok;  state: Exp;  lines: +24 -8;
Resize sliders upon window resizing.
----------------------------
revision 1.3
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.2
date: 2003-06-12 17:53:11 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Changed default background for slider example.

Fixed label width in simple example.
----------------------------
revision 1.1
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;
Added a simple slider with a nice example.
=============================================================================

RCS file: /cvs/directfb/lite/examples/stop.png,v
Working file: examples/stop.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/stop_disabled.png,v
Working file: examples/stop_disabled.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/stop_highlighted.png,v
Working file: examples/stop_highlighted.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/examples/stop_pressed.png,v
Working file: examples/stop_pressed.png
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;
Some fixes and some redraw related functions added, two test applications.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/.cvsignore,v
Working file: fonts/.cvsignore
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/Makefile.am,v
Working file: fonts/Makefile.am
head: 1.7
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.7
	VERSION_0_8_2: 1.7
	VERSION_0_8_1: 1.7
	VERSION_0_8_0: 1.7
	VERSION_0_7_2: 1.6
	VERSION_0_7_1: 1.6
	VERSION_0_7_0: 1.6
	VERSION_0_6_5: 1.6
	VERSION_0_6_3: 1.6
	VERSION_0_6_2: 1.6
	VERSION_0_6_1: 1.6
	VERSION_0_4_3: 1.6
	VERSION_0_4_2: 1.6
	VERSION_0_3_1: 1.6
	VERSION_0_3_0: 1.6
	VERSION_0_2_2: 1.6
	VERSION_0_1: 1.6
	DIRECTFB_0_9_18: 1.6
keyword substitution: kv
total revisions: 7;	selected revisions: 7
description:
----------------------------
revision 1.7
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  lines: +8 -2;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
----------------------------
revision 1.6
date: 2003-05-19 13:52:56 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added more "table drawing" characters.
----------------------------
revision 1.5
date: 2003-05-19 13:22:38 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added modified font source code (post script).
----------------------------
revision 1.4
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +1 -6;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.3
date: 2002-11-04 18:12:12 +0000;  author: dok;  state: Exp;  lines: +1 -0;
The best fixed font I've ever seen.
----------------------------
revision 1.2
date: 2002-10-25 19:46:57 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Cool terminal font.
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/Misc-Fixed.pfa,v
Working file: fonts/Misc-Fixed.pfa
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.5
	VERSION_0_8_0: 1.5
	VERSION_0_7_2: 1.5
	VERSION_0_7_1: 1.5
	VERSION_0_7_0: 1.5
	VERSION_0_6_5: 1.5
	VERSION_0_6_3: 1.5
	VERSION_0_6_2: 1.5
	VERSION_0_6_1: 1.5
	VERSION_0_4_3: 1.5
	VERSION_0_4_2: 1.5
	VERSION_0_3_1: 1.5
	VERSION_0_3_0: 1.5
	VERSION_0_2_2: 1.5
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.5
keyword substitution: b
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2003-05-19 13:52:56 +0000;  author: dok;  state: Exp;  lines: +931 -919;
Added more "table drawing" characters.
----------------------------
revision 1.4
date: 2003-05-19 13:15:47 +0000;  author: dok;  state: Exp;  lines: +923 -916;
Implemented some of the special characters used for e.g. 'mc'.
----------------------------
revision 1.3
date: 2002-11-12 01:27:47 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed fixed font descender (now '[{}]' are correct again).

Removed unnecessary stuff.
----------------------------
revision 1.2
date: 2002-11-04 18:25:16 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed font height.
----------------------------
revision 1.1
date: 2002-11-04 18:12:12 +0000;  author: dok;  state: Exp;
The best fixed font I've ever seen.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/bitstream_vera_sans.zip,v
Working file: fonts/bitstream_vera_sans.zip
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/decker.ttf,v
Working file: fonts/decker.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:45 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/Attic/misc-fixed-0.3.1.tar.gz,v
Working file: fonts/misc-fixed-0.3.1.tar.gz
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: b
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2003-05-19 13:52:56 +0000;  author: dok;  state: dead;  lines: +0 -0;
Added more "table drawing" characters.
----------------------------
revision 1.1
date: 2003-05-19 13:22:38 +0000;  author: dok;  state: Exp;
Added modified font source code (post script).
=============================================================================

RCS file: /cvs/directfb/lite/fonts/misc-fixed-0.3.2.tar.gz,v
Working file: fonts/misc-fixed-0.3.2.tar.gz
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2003-05-19 13:52:56 +0000;  author: dok;  state: Exp;
Added more "table drawing" characters.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/vera.ttf,v
Working file: fonts/vera.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/verabd.ttf,v
Working file: fonts/verabd.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/verabi.ttf,v
Working file: fonts/verabi.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/verai.ttf,v
Working file: fonts/verai.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
=============================================================================

RCS file: /cvs/directfb/lite/fonts/whiterabbit.ttf,v
Working file: fonts/whiterabbit.ttf
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: b
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-25 19:46:57 +0000;  author: dok;  state: Exp;
Cool terminal font.
=============================================================================

RCS file: /cvs/directfb/lite/lite/.cvsignore,v
Working file: lite/.cvsignore
head: 1.1
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.1
	VERSION_0_8_2: 1.1
	VERSION_0_8_1: 1.1
	VERSION_0_8_0: 1.1
	VERSION_0_7_2: 1.1
	VERSION_0_7_1: 1.1
	VERSION_0_7_0: 1.1
	VERSION_0_6_5: 1.1
	VERSION_0_6_3: 1.1
	VERSION_0_6_2: 1.1
	VERSION_0_6_1: 1.1
	VERSION_0_4_3: 1.1
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
	VERSION_0_1: 1.1
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/Makefile.am,v
Working file: lite/Makefile.am
head: 1.12
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.12
	VERSION_0_8_2: 1.12
	VERSION_0_8_1: 1.12
	VERSION_0_8_0: 1.11
	VERSION_0_7_2: 1.11
	VERSION_0_7_1: 1.11
	VERSION_0_7_0: 1.11
	VERSION_0_6_5: 1.11
	VERSION_0_6_3: 1.11
	VERSION_0_6_2: 1.11
	VERSION_0_6_1: 1.11
	VERSION_0_4_3: 1.11
	VERSION_0_4_2: 1.10
	VERSION_0_3_1: 1.9
	VERSION_0_3_0: 1.8
	VERSION_0_2_2: 1.7
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.3
keyword substitution: kv
total revisions: 12;	selected revisions: 12
description:
----------------------------
revision 1.12
date: 2006-09-20 21:15:37 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.11
date: 2005-06-24 23:39:31 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New implementation file, theme.c, or theme-based functionality.
----------------------------
revision 1.10
date: 2005-05-18 00:24:19 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New implementation file, cursor.c, where the global cursor code
will migrate from window.c, including new APIs to get and set the
global cursor.
----------------------------
revision 1.9
date: 2005-05-12 23:49:04 +0000;  author: kent;  state: Exp;  lines: +2 -0;

New function lite_get_current_key_modifier() to get the current
key modifiers. This function is implemented in event.c, more
globally related event code will be moved in future into this directory.
----------------------------
revision 1.8
date: 2005-03-30 06:47:15 +0000;  author: kent;  state: Exp;  lines: +3 -2;

LiteCursor is now in the cursor.h header file in preparation for
finer granularity theme handling in future.
----------------------------
revision 1.7
date: 2005-03-24 23:22:41 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Broke out the theme structure from windows.c for future exploration into
building a pluggable theme engine into LiTE.
----------------------------
revision 1.6
date: 2005-02-15 21:41:02 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Include lite_config.h in the sources listing so this file is included into
the make dist tarball.
----------------------------
revision 1.5
date: 2005-02-15 07:17:55 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Specified version-info information in configure.in that is passed to
Makefile.am. This current version is defined as 0.1 (1:0:0), as the
API will change from this point forward, so the numbers will be bumped
up.
----------------------------
revision 1.4
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Added a simple slider with a nice example.
----------------------------
revision 1.3
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +4 -8;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.2
date: 2002-12-05 17:56:51 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Added a yet simple label implementation.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/animation.c,v
Working file: lite/animation.c
head: 1.32
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.32
	VERSION_0_8_2: 1.32
	VERSION_0_8_1: 1.30
	VERSION_0_8_0: 1.30
	VERSION_0_7_2: 1.30
	VERSION_0_7_1: 1.30
	VERSION_0_7_0: 1.30
	VERSION_0_6_5: 1.30
	VERSION_0_6_3: 1.30
	VERSION_0_6_2: 1.30
	VERSION_0_6_1: 1.26
	VERSION_0_4_3: 1.20
	VERSION_0_4_2: 1.17
	VERSION_0_3_1: 1.17
	VERSION_0_3_0: 1.17
	VERSION_0_2_2: 1.13
	VERSION_0_1: 1.8
	DIRECTFB_0_9_18: 1.6
keyword substitution: kv
total revisions: 32;	selected revisions: 32
description:
----------------------------
revision 1.32
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +6 -5;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.31
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.30
date: 2005-10-29 03:56:30 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.29
date: 2005-10-28 19:55:27 +0000;  author: kent;  state: Exp;  lines: +10 -6;

Animation code cleanup.
----------------------------
revision 1.28
date: 2005-10-22 01:45:18 +0000;  author: kent;  state: Exp;  lines: +6 -0;

LiteAnimation public APIs now check for valid LiteBox* passed in.
----------------------------
revision 1.27
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.26
date: 2005-10-11 06:33:02 +0000;  author: kent;  state: Exp;  lines: +11 -1;

Guard public animation.c APIs for NULL pointers using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.25
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.24
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.23
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.22
date: 2005-06-30 23:11:22 +0000;  author: kent;  state: Exp;  lines: +13 -13;

Now that we are always using ret_ names for handles, change the temp
variables to something more meaningful variable names.
----------------------------
revision 1.21
date: 2005-06-30 21:59:37 +0000;  author: kent;  state: Exp;  lines: +24 -24;

lite_new_animation() API change, now takes a DFBRectangle and
a LiteAnimationTheme.
----------------------------
revision 1.20
date: 2005-06-20 05:15:23 +0000;  author: kent;  state: Exp;  lines: +7 -7;

Final style changes, everything should now look the same, phew.
----------------------------
revision 1.19
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +3 -3;

More code style changes to support the tight function call style.
----------------------------
revision 1.18
date: 2005-06-20 04:30:37 +0000;  author: kent;  state: Exp;  lines: +47 -47;

Use the tight style format with function calls.
----------------------------
revision 1.17
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +4 -2;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.16
date: 2005-03-31 04:31:59 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed compiler warnings.
----------------------------
revision 1.15
date: 2005-03-31 04:27:47 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.14
date: 2005-03-29 09:27:23 +0000;  author: kent;  state: Exp;  lines: +28 -15;

Fixed compiler warning about unused variable and made the APIs look
like DFB APIs formatting-wise.
----------------------------
revision 1.13
date: 2005-03-25 18:56:04 +0000;  author: kent;  state: Exp;  lines: +21 -15;

lite_new_animation is now also using the DFB API style, return DFBResult
and pass in a handle to create the actual LiteAnimation instance.
----------------------------
revision 1.12
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +4 -0;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.11
date: 2005-02-21 06:37:44 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Removed the fprintf statements so they use D_DEBUG_AT now.
----------------------------
revision 1.10
date: 2005-02-17 10:19:24 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Fixed warnings.
----------------------------
revision 1.9
date: 2005-02-17 02:44:55 +0000;  author: kent;  state: Exp;  lines: +18 -16;

lite_load_animation and lite_start_animation now returns DFBResult values.
----------------------------
revision 1.8
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.7
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +5 -5;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.6
date: 2003-04-16 14:24:35 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed all warnings.
----------------------------
revision 1.5
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +123 -130;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.4
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.3
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.2
date: 2002-10-23 22:19:50 +0000;  author: andi;  state: Exp;  lines: +1 -1;
- do not include malloc.h , use stdlib instead.
  (now compiles on darwin)
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/animation.h,v
Working file: lite/animation.h
head: 1.13
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.13
	VERSION_0_8_2: 1.13
	VERSION_0_8_1: 1.13
	VERSION_0_8_0: 1.13
	VERSION_0_7_2: 1.13
	VERSION_0_7_1: 1.13
	VERSION_0_7_0: 1.13
	VERSION_0_6_5: 1.13
	VERSION_0_6_3: 1.13
	VERSION_0_6_2: 1.13
	VERSION_0_6_1: 1.13
	VERSION_0_4_3: 1.9
	VERSION_0_4_2: 1.5
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 13;	selected revisions: 13
description:
----------------------------
revision 1.13
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.12
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.11
date: 2005-06-30 21:59:37 +0000;  author: kent;  state: Exp;  lines: +7 -11;

lite_new_animation() API change, now takes a DFBRectangle and
a LiteAnimationTheme.
----------------------------
revision 1.10
date: 2005-06-30 21:52:51 +0000;  author: kent;  state: Exp;  lines: +13 -0;

New struct, LiteAnimationTheme, includes liteNoAnimationTheme and
liteDefaultAnimationTheme constants.
----------------------------
revision 1.9
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +17 -18;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.8
date: 2005-06-20 03:16:25 +0000;  author: kent;  state: Exp;  lines: +18 -18;

Update the animation and box Doxygen documentation based on the final
style.
----------------------------
revision 1.7
date: 2005-06-19 20:47:52 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Doxygen documentation for LiteButton, fixed small things in the
LitAnimation Doxygen documentation.
----------------------------
revision 1.6
date: 2005-06-19 19:59:39 +0000;  author: kent;  state: Exp;  lines: +61 -8;

Doxygen documentation for the LiteAnimation interfaces.
----------------------------
revision 1.5
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.4
date: 2005-03-25 18:56:04 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_animation is now also using the DFB API style, return DFBResult
and pass in a handle to create the actual LiteAnimation instance.
----------------------------
revision 1.3
date: 2005-02-17 02:44:55 +0000;  author: kent;  state: Exp;  lines: +8 -8;

lite_load_animation and lite_start_animation now returns DFBResult values.
----------------------------
revision 1.2
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/box.c,v
Working file: lite/box.c
head: 1.62
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.62
	VERSION_0_8_2: 1.61
	VERSION_0_8_1: 1.60
	VERSION_0_8_0: 1.60
	VERSION_0_7_2: 1.56
	VERSION_0_7_1: 1.55
	VERSION_0_7_0: 1.55
	VERSION_0_6_5: 1.54
	VERSION_0_6_3: 1.52
	VERSION_0_6_2: 1.50
	VERSION_0_6_1: 1.38
	VERSION_0_4_3: 1.32
	VERSION_0_4_2: 1.29
	VERSION_0_3_1: 1.20
	VERSION_0_3_0: 1.16
	VERSION_0_2_2: 1.14
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 62;	selected revisions: 62
description:
----------------------------
revision 1.62
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +40 -24;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.61
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.60
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +41 -28;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.59
date: 2006-06-21 04:58:12 +0000;  author: bcombee;  state: Exp;  lines: +1 -0;
Missed this commit for "catch_all_events" to set default value for new boxes
----------------------------
revision 1.58
date: 2006-06-20 19:16:42 +0000;  author: bcombee;  state: Exp;  lines: +13 -16;
Fix lite_draw_box to use correct region instead of much larger one when NULL passed as region
----------------------------
revision 1.57
date: 2006-06-13 12:17:58 +0000;  author: dok;  state: Exp;  lines: +47 -33;
Added convenience function lite_init_box_at() to be used instead
of lite_init_box() in constructors of deriving implementations.

This was missing for the benchmark program to build.
----------------------------
revision 1.56
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +10 -0;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.55
date: 2006-01-03 05:22:09 +0000;  author: kent;  state: Exp;  lines: +6 -0;

Fix from Andy Stewart: make sure that the window->drag_box is set to
null in case the child has been removed (and it was defined as the drag_box).
----------------------------
revision 1.54
date: 2005-12-20 03:09:14 +0000;  author: kent;  state: Exp;  lines: +13 -13;

Adjust the focus in case the box has the window focus. Also make
sure that if the box is an entered_box, then set this to null as
it's removed.
----------------------------
revision 1.53
date: 2005-11-19 06:50:14 +0000;  author: kent;  state: Exp;  lines: +3 -0;

Force an update of the area occupied by a child when removing child box entries.
----------------------------
revision 1.52
date: 2005-11-07 07:55:44 +0000;  author: kent;  state: Exp;  lines: +4 -1;

Patch from Ben Combee, honor the LiteBox is_visible flag, if set to 0 (not visible),
then do not show any of the LiteBox children, i.e. stop at the first LiteBox hierarchy
that has the is_visible flag set. This makes it possible to disable visually groups
of LiteBoxes.
----------------------------
revision 1.51
date: 2005-11-07 07:50:01 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Removed too aggressive pre-conditional testing of LiteBox entries passed to
lite_box* APIs, this as sometimes LiteWindow() entries are passed in...
----------------------------
revision 1.50
date: 2005-10-29 04:37:13 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Only delete the box->children array if it's non-NULL.
----------------------------
revision 1.49
date: 2005-10-29 04:06:23 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Cleaner D_DEBUG_AT output with lite_draw_box() and lite_update_box().
----------------------------
revision 1.48
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.47
date: 2005-10-28 20:02:07 +0000;  author: kent;  state: Exp;  lines: +24 -11;

Restructuring of code so it'e easier to understand.
----------------------------
revision 1.46
date: 2005-10-28 19:10:24 +0000;  author: kent;  state: Exp;  lines: +11 -9;

Internal box functions test for NULL pointers with D_ASSERT.
----------------------------
revision 1.45
date: 2005-10-28 19:03:49 +0000;  author: kent;  state: Exp;  lines: +1 -0;

lite_clear_box() checks if passed in box is valid or not.
----------------------------
revision 1.44
date: 2005-10-28 18:57:48 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Change function name from lite_draw_box_and_children() to draw_box_and_children
as this API is not exported.
----------------------------
revision 1.43
date: 2005-10-28 18:43:20 +0000;  author: kent;  state: Exp;  lines: +22 -20;

From Damian and Kent: Exported append_child and remove_child_from_parent as
two new public APIs: lite_add_child() and lite_remove_child(). These APIs could
be used to change the parent/child hiearchy in the system, removing or adding
children to the parent array -- for example for placing a LiteBox container around
an existing LiteBox for focusing purposes, or for similar hierarchy manipulations.
----------------------------
revision 1.42
date: 2005-10-28 18:18:31 +0000;  author: kent;  state: Exp;  lines: +25 -0;

Fix from Andy Stewart, when creating a box, make sure that the entered_box
LiteBox entry is updated with the right value by calling deenter_me_or_children.
----------------------------
revision 1.41
date: 2005-10-28 18:04:08 +0000;  author: kent;  state: Exp;  lines: +3 -2;

From Damian, new flag in box.h, is_active, when disabled no callbacks are
triggered for the specified box instance. By default all boxes are still active.
----------------------------
revision 1.40
date: 2005-10-22 01:39:52 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Need to set box type to LITE_TYPE_BOX in lite_init_box(), otherwise it's never
set. Testing out the LITE_BOX_PARAMETER_CHECK() macro for labels that required
that the type was set.
----------------------------
revision 1.39
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +7 -6;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.38
date: 2005-10-11 20:26:02 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Convert D_ERROR to D_DEBUG_AT calls.
----------------------------
revision 1.37
date: 2005-10-11 06:21:31 +0000;  author: kent;  state: Exp;  lines: +9 -3;

Guard all public APIs in box.c for passed in NULL parameters using LITE_NULL_PARAMETER_CHECK().
----------------------------
revision 1.36
date: 2005-10-11 06:17:32 +0000;  author: kent;  state: Exp;  lines: +1 -2;

LITE_NULL_PARAMETER_CHECK macro, returns DFB_INVARG on passed in NULL pointers, to be
used as preconditional in public APIs to catch passed in NULL pointers.
----------------------------
revision 1.35
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.34
date: 2005-09-27 04:42:51 +0000;  author: kent;  state: Exp;  lines: +26 -0;

Patch from Damian Kowalevski to fix a bug where the main focus box was
not properly updated when a child array entry was deleted.
----------------------------
revision 1.33
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.32
date: 2005-06-20 05:15:23 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Final style changes, everything should now look the same, phew.
----------------------------
revision 1.31
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +21 -21;

More code style changes to support the tight function call style.
----------------------------
revision 1.30
date: 2005-06-20 04:30:37 +0000;  author: kent;  state: Exp;  lines: +42 -42;

Use the tight style format with function calls.
----------------------------
revision 1.29
date: 2005-06-11 01:29:06 +0000;  author: kent;  state: Exp;  lines: +2 -1;

New LiteBox flag, is_visible, controlling if the LiteBox should be
drawn or not (code from Damian Kowalewski).
----------------------------
revision 1.28
date: 2005-06-03 01:29:23 +0000;  author: kent;  state: Exp;  lines: +7 -0;

If a LiteBox to be removed from the child array is also a focused_box,
then set the window focused_box to NULL in order to avoid possible
crash scenarios.
----------------------------
revision 1.27
date: 2005-05-24 22:57:33 +0000;  author: kent;  state: Exp;  lines: +23 -22;

Code formatting cleanup.
----------------------------
revision 1.26
date: 2005-05-24 22:52:36 +0000;  author: kent;  state: Exp;  lines: +7 -1;

When removing a box from the window, if the box removed is a focused box
in window, default the window default focused box to the window box itself.
----------------------------
revision 1.25
date: 2005-05-24 22:44:23 +0000;  author: kent;  state: Exp;  lines: +2 -18;

Remove the internal get_window_of_box(), use the exported lite_find_my_window()
instead.
----------------------------
revision 1.24
date: 2005-05-24 22:41:13 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed bug in calling the wrong callback when the child box is removed.
----------------------------
revision 1.23
date: 2005-05-19 01:13:01 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Code cleanup.
----------------------------
revision 1.22
date: 2005-05-16 23:45:39 +0000;  author: kent;  state: Exp;  lines: +7 -1;

In reinit_box_and_childen(), if the original box had a font, restore
it back to the new box.
----------------------------
revision 1.21
date: 2005-05-16 05:43:40 +0000;  author: kent;  state: Exp;  lines: +11 -7;

Fixed get_window_of_box() so the compiler is not complaining about
no return of the recursive function, also fixed problems with the
pure recursive way of returning LiteWindow* entries.
----------------------------
revision 1.20
date: 2005-05-13 00:29:43 +0000;  author: kent;  state: Exp;  lines: +21 -0;

New OnBoxAdded() and OnBoxToBeRemoved() function callbacks (not fully
tested yet). They should trigger when a box has been added to the
window, or if a box is removed from the window, providing a way
to intercept and do something with the LiteBox structures.
----------------------------
revision 1.19
date: 2005-05-13 00:08:51 +0000;  author: kent;  state: Exp;  lines: +12 -0;

New internal function, get_window_of_box() returns a possible
LiteWindow* parent of a box installed, this will be used later
to signal to a window that a LiteBox has been added or removed.
----------------------------
revision 1.18
date: 2005-05-12 22:25:42 +0000;  author: kent;  state: Exp;  lines: +2 -0;

LiteBox now has an internal field, handle_keys, if it's disabled no
keyinput is handled inside the box, this is for optimization in case
no keyinput should be done in a field, or to disable keyhandling in
specific fields.
----------------------------
revision 1.17
date: 2005-05-12 22:20:58 +0000;  author: kent;  state: Exp;  lines: +39 -2;

Fixed a problem with the parent child slot not being updated when a child
is removed, also now compacting the parent children slot so there are no
empty gaps.
----------------------------
revision 1.16
date: 2005-03-29 09:34:54 +0000;  author: kent;  state: Exp;  lines: +27 -11;

Cosmetical -- make the APIs look like the DFB ones.
----------------------------
revision 1.15
date: 2005-03-29 09:14:37 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed a silly copy/paste bug that caused problems with lite_new_box().
----------------------------
revision 1.14
date: 2005-03-26 01:46:52 +0000;  author: kent;  state: Exp;  lines: +17 -13;

lite_new_box() now returns DFBResult and takes LiteBox handles.
----------------------------
revision 1.13
date: 2005-03-26 01:37:20 +0000;  author: kent;  state: Exp;  lines: +35 -35;

Moved static function to end of file.
----------------------------
revision 1.12
date: 2005-03-26 01:13:52 +0000;  author: kent;  state: Exp;  lines: +4 -1;

lite_destroy_box() returns DFBResult.
----------------------------
revision 1.11
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +10 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.10
date: 2005-02-21 06:37:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Removed the fprintf statements so they use D_DEBUG_AT now.
----------------------------
revision 1.9
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.8
date: 2005-02-17 10:19:24 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed warnings.
----------------------------
revision 1.7
date: 2005-02-17 02:03:20 +0000;  author: kent;  state: Exp;  lines: +11 -8;

lite_init_box, lite_reinit_box_and_children, and lite_clear_box now return
DFBResult values.
----------------------------
revision 1.6
date: 2005-02-16 08:45:32 +0000;  author: kent;  state: Exp;  lines: +8 -4;

lite_draw_box and lite_update_box return DFBResult
----------------------------
revision 1.5
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.4
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +77 -12;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.3
date: 2003-06-27 18:41:42 +0000;  author: dok;  state: Exp;  lines: +27 -1;
Reget sub surfaces on resize, fixes components rendering to the border.
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +84 -72;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/box.h,v
Working file: lite/box.h
head: 1.31
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.31
	VERSION_0_8_2: 1.31
	VERSION_0_8_1: 1.30
	VERSION_0_8_0: 1.30
	VERSION_0_7_2: 1.27
	VERSION_0_7_1: 1.27
	VERSION_0_7_0: 1.27
	VERSION_0_6_5: 1.27
	VERSION_0_6_3: 1.27
	VERSION_0_6_2: 1.27
	VERSION_0_6_1: 1.24
	VERSION_0_4_3: 1.22
	VERSION_0_4_2: 1.19
	VERSION_0_3_1: 1.17
	VERSION_0_3_0: 1.16
	VERSION_0_2_2: 1.13
	VERSION_0_1: 1.8
	DIRECTFB_0_9_18: 1.4
keyword substitution: kv
total revisions: 31;	selected revisions: 31
description:
----------------------------
revision 1.31
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +14 -3;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.30
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +19 -2;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.29
date: 2006-06-19 02:18:19 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;
Add catches_all_events field to LiteBox; allows a parent box to handle events for its children
----------------------------
revision 1.28
date: 2006-06-13 12:17:58 +0000;  author: dok;  state: Exp;  lines: +25 -11;
Added convenience function lite_init_box_at() to be used instead
of lite_init_box() in constructors of deriving implementations.

This was missing for the benchmark program to build.
----------------------------
revision 1.27
date: 2005-10-28 19:19:24 +0000;  author: kent;  state: Exp;  lines: +16 -12;

Better LiteBox documentation, explaining the difference between lite_draw_box()
and lite_update_box(), what lite_clear_box() really does, and so on.
----------------------------
revision 1.26
date: 2005-10-28 18:43:20 +0000;  author: kent;  state: Exp;  lines: +26 -1;

From Damian and Kent: Exported append_child and remove_child_from_parent as
two new public APIs: lite_add_child() and lite_remove_child(). These APIs could
be used to change the parent/child hiearchy in the system, removing or adding
children to the parent array -- for example for placing a LiteBox container around
an existing LiteBox for focusing purposes, or for similar hierarchy manipulations.
----------------------------
revision 1.25
date: 2005-10-28 18:04:08 +0000;  author: kent;  state: Exp;  lines: +1 -0;

From Damian, new flag in box.h, is_active, when disabled no callbacks are
triggered for the specified box instance. By default all boxes are still active.
----------------------------
revision 1.24
date: 2005-10-11 07:10:29 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Make the LiteBoxType enums more specific than 0 and 1 for box and window type
in order to avoid corrupt data used as the real thing, now LITE_TYPE_BOX is 0x1001 and
LITE_TYPE_WINDOW is 0x1002.
----------------------------
revision 1.23
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.22
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +14 -15;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.21
date: 2005-06-20 03:16:25 +0000;  author: kent;  state: Exp;  lines: +48 -49;

Update the animation and box Doxygen documentation based on the final
style.
----------------------------
revision 1.20
date: 2005-06-19 20:21:53 +0000;  author: kent;  state: Exp;  lines: +86 -8;

Doxygen documentation for LiteBox.
----------------------------
revision 1.19
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.18
date: 2005-06-11 01:29:06 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New LiteBox flag, is_visible, controlling if the LiteBox should be
drawn or not (code from Damian Kowalewski).
----------------------------
revision 1.17
date: 2005-05-12 22:25:42 +0000;  author: kent;  state: Exp;  lines: +2 -0;

LiteBox now has an internal field, handle_keys, if it's disabled no
keyinput is handled inside the box, this is for optimization in case
no keyinput should be done in a field, or to disable keyhandling in
specific fields.
----------------------------
revision 1.16
date: 2005-03-31 22:54:30 +0000;  author: kent;  state: Exp;  lines: +1 -0;

LiteBox has now a new handler, OnWheel() that could be used in widgets
for wheel window events, DWET_WHEEL.  There's a a corresponding on_wheel()
handler in windows.c that delegates the call to an existing or not existing
OnWheel function in the LiteBox implementation. This implementation is very
similar to OnKeyDown().
----------------------------
revision 1.15
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +1 -1;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.14
date: 2005-03-31 04:27:47 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.13
date: 2005-03-26 01:46:52 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_box() now returns DFBResult and takes LiteBox handles.
----------------------------
revision 1.12
date: 2005-03-26 01:13:52 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_destroy_box() returns DFBResult.
----------------------------
revision 1.11
date: 2005-03-26 01:05:48 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Removed lite_redraw_box() as it was not implemented.
----------------------------
revision 1.10
date: 2005-02-17 02:03:21 +0000;  author: kent;  state: Exp;  lines: +3 -3;

lite_init_box, lite_reinit_box_and_children, and lite_clear_box now return
DFBResult values.
----------------------------
revision 1.9
date: 2005-02-16 08:45:32 +0000;  author: kent;  state: Exp;  lines: +3 -3;

lite_draw_box and lite_update_box return DFBResult
----------------------------
revision 1.8
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.7
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +17 -11;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.6
date: 2003-06-27 18:41:42 +0000;  author: dok;  state: Exp;  lines: +1 -0;
Reget sub surfaces on resize, fixes components rendering to the border.
----------------------------
revision 1.5
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Added a simple slider with a nice example.
----------------------------
revision 1.4
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +4 -3;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.3
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.2
date: 2002-11-02 04:55:30 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added resize handling and motion/resize event compression.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/button.c,v
Working file: lite/button.c
head: 1.39
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.39
	VERSION_0_8_2: 1.39
	VERSION_0_8_1: 1.37
	VERSION_0_8_0: 1.37
	VERSION_0_7_2: 1.36
	VERSION_0_7_1: 1.36
	VERSION_0_7_0: 1.36
	VERSION_0_6_5: 1.36
	VERSION_0_6_3: 1.36
	VERSION_0_6_2: 1.36
	VERSION_0_6_1: 1.29
	VERSION_0_4_3: 1.21
	VERSION_0_4_2: 1.19
	VERSION_0_3_1: 1.19
	VERSION_0_3_0: 1.19
	VERSION_0_2_2: 1.16
	VERSION_0_1: 1.11
	DIRECTFB_0_9_18: 1.6
keyword substitution: kv
total revisions: 39;	selected revisions: 39
description:
----------------------------
revision 1.39
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +8 -7;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.38
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.37
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +8 -10;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.36
date: 2005-10-29 04:13:35 +0000;  author: kent;  state: Exp;  lines: +8 -4;

Intersting patch, done by, let's see, Andy Stewart and Damian Kowalevski,
and Chad Scates, and finally rolled in by Kent! Do not return on_button_up
unless the the mouse up is within the bounds of the widget.
----------------------------
revision 1.35
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.34
date: 2005-10-29 03:17:36 +0000;  author: kent;  state: Exp;  lines: +9 -0;

D_DEBUG_AT statements for button internal changes.
----------------------------
revision 1.33
date: 2005-10-28 20:08:02 +0000;  author: kent;  state: Exp;  lines: +19 -9;

Cleaner button.c code.
----------------------------
revision 1.32
date: 2005-10-22 01:49:22 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Assert on box before using it to typecast to a button.
----------------------------
revision 1.31
date: 2005-10-22 01:48:04 +0000;  author: kent;  state: Exp;  lines: +6 -0;

All public LiteButton APIs now check for valid LiteBox* structs passed in.
----------------------------
revision 1.30
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.29
date: 2005-10-11 06:26:12 +0000;  author: kent;  state: Exp;  lines: +12 -10;

Guard all public button.c APIs for NULL pointers using LITE_NULL_PARAMETER_CHECK()
----------------------------
revision 1.28
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.27
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.26
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.25
date: 2005-06-30 23:11:22 +0000;  author: kent;  state: Exp;  lines: +19 -19;

Now that we are always using ret_ names for handles, change the temp
variables to something more meaningful variable names.
----------------------------
revision 1.24
date: 2005-06-30 21:37:30 +0000;  author: kent;  state: Exp;  lines: +11 -11;

lite_new_button() API changed, now takes a DFBRectangle and a LiteButtonTheme.
----------------------------
revision 1.23
date: 2005-06-30 21:05:26 +0000;  author: kent;  state: Exp;  lines: +0 -1;

First cut on a LiteButtonTheme.
----------------------------
revision 1.22
date: 2005-06-30 19:17:11 +0000;  author: kent;  state: Exp;  lines: +34 -34;

Changed the name of ButtonState to LiteButtonState and the BS_* constants
now are LITE_BS_* constants (as per the DFB/LiTE coding standards).
----------------------------
revision 1.21
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +4 -4;

More code style changes to support the tight function call style.
----------------------------
revision 1.20
date: 2005-06-20 04:36:41 +0000;  author: kent;  state: Exp;  lines: +75 -75;

Formatted the code for the tight function calling style.
----------------------------
revision 1.19
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +4 -2;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.18
date: 2005-03-31 04:27:47 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.17
date: 2005-03-29 09:42:12 +0000;  author: kent;  state: Exp;  lines: +47 -17;

Cosmetical - change the APIs so they look like the DFB ones.
----------------------------
revision 1.16
date: 2005-03-26 00:25:02 +0000;  author: kent;  state: Exp;  lines: +24 -20;

New lite_new_button() API, takes a LiteButton handle and returns
DFBResult.
----------------------------
revision 1.15
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +13 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.14
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.13
date: 2005-02-17 02:30:01 +0000;  author: kent;  state: Exp;  lines: +2 -2;

lite_set_button_image_surface now returns DFBResult
----------------------------
revision 1.12
date: 2005-02-17 02:14:37 +0000;  author: kent;  state: Exp;  lines: +17 -15;


lite_enable_button, lite_set_button_state, lite_set_button_image and
lite_set_button_image_desc now return DFBResult values.
----------------------------
revision 1.11
date: 2005-02-03 07:07:40 +0000;  author: kent;  state: Exp;  lines: +8 -0;


New LiteButton call, lite_set_button_image_surface(). This makes it possible
to implement bi-state buttons (checkboxes, radiobuttons), tri-state
buttons... The image surface could be stored in a compound LiteBox, and
set in the underlying LiteButton based on a defined state.
----------------------------
revision 1.10
date: 2005-01-26 06:35:59 +0000;  author: kent;  state: Exp;  lines: +25 -0;


lite_util_load_image_desc() that takes an DFBImageDescription and loads
image resources directly from memory (using directfb-csource the tool).
button.h has a corresponding lite_set_button_image_desc() that uses
this utility function for loading button images from memory.
----------------------------
revision 1.9
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.8
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +5 -5;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.7
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +0 -7;
Added a simple slider with a nice example.
----------------------------
revision 1.6
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +125 -133;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.5
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.4
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.3
date: 2002-11-02 04:55:30 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Added resize handling and motion/resize event compression.
----------------------------
revision 1.2
date: 2002-10-23 22:19:50 +0000;  author: andi;  state: Exp;  lines: +1 -1;
- do not include malloc.h , use stdlib instead.
  (now compiles on darwin)
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/button.h,v
Working file: lite/button.h
head: 1.20
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.20
	VERSION_0_8_2: 1.20
	VERSION_0_8_1: 1.19
	VERSION_0_8_0: 1.19
	VERSION_0_7_2: 1.19
	VERSION_0_7_1: 1.19
	VERSION_0_7_0: 1.19
	VERSION_0_6_5: 1.19
	VERSION_0_6_3: 1.19
	VERSION_0_6_2: 1.19
	VERSION_0_6_1: 1.19
	VERSION_0_4_3: 1.12
	VERSION_0_4_2: 1.9
	VERSION_0_3_1: 1.8
	VERSION_0_3_0: 1.8
	VERSION_0_2_2: 1.8
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 20;	selected revisions: 20
description:
----------------------------
revision 1.20
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.19
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.18
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.17
date: 2005-06-30 22:01:17 +0000;  author: kent;  state: Exp;  lines: +7 -9;

Fixed the Doxygen documentation for lite_new_button().
----------------------------
revision 1.16
date: 2005-06-30 21:37:30 +0000;  author: kent;  state: Exp;  lines: +8 -8;

lite_new_button() API changed, now takes a DFBRectangle and a LiteButtonTheme.
----------------------------
revision 1.15
date: 2005-06-30 21:08:02 +0000;  author: kent;  state: Exp;  lines: +9 -0;

New constants, liteNoButtonTheme, liteDefaultButtonTheme.
----------------------------
revision 1.14
date: 2005-06-30 21:05:26 +0000;  author: kent;  state: Exp;  lines: +33 -4;

First cut on a LiteButtonTheme.
----------------------------
revision 1.13
date: 2005-06-30 19:17:11 +0000;  author: kent;  state: Exp;  lines: +11 -11;

Changed the name of ButtonState to LiteButtonState and the BS_* constants
now are LITE_BS_* constants (as per the DFB/LiTE coding standards).
----------------------------
revision 1.12
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +17 -19;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.11
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.10
date: 2005-06-19 20:47:52 +0000;  author: kent;  state: Exp;  lines: +89 -9;

Doxygen documentation for LiteButton, fixed small things in the
LitAnimation Doxygen documentation.
----------------------------
revision 1.9
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.8
date: 2005-03-26 00:25:02 +0000;  author: kent;  state: Exp;  lines: +6 -5;

New lite_new_button() API, takes a LiteButton handle and returns
DFBResult.
----------------------------
revision 1.7
date: 2005-02-17 02:30:01 +0000;  author: kent;  state: Exp;  lines: +8 -8;

lite_set_button_image_surface now returns DFBResult
----------------------------
revision 1.6
date: 2005-02-17 02:14:37 +0000;  author: kent;  state: Exp;  lines: +5 -5;


lite_enable_button, lite_set_button_state, lite_set_button_image and
lite_set_button_image_desc now return DFBResult values.
----------------------------
revision 1.5
date: 2005-02-03 07:07:40 +0000;  author: kent;  state: Exp;  lines: +7 -1;


New LiteButton call, lite_set_button_image_surface(). This makes it possible
to implement bi-state buttons (checkboxes, radiobuttons), tri-state
buttons... The image surface could be stored in a compound LiteBox, and
set in the underlying LiteButton based on a defined state.
----------------------------
revision 1.4
date: 2005-01-26 06:35:59 +0000;  author: kent;  state: Exp;  lines: +3 -0;


lite_util_load_image_desc() that takes an DFBImageDescription and loads
image resources directly from memory (using directfb-csource the tool).
button.h has a corresponding lite_set_button_image_desc() that uses
this utility function for loading button images from memory.
----------------------------
revision 1.3
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.2
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/cursor.c,v
Working file: lite/cursor.c
head: 1.23
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.23
	VERSION_0_8_2: 1.21
	VERSION_0_8_1: 1.19
	VERSION_0_8_0: 1.19
	VERSION_0_7_2: 1.19
	VERSION_0_7_1: 1.19
	VERSION_0_7_0: 1.19
	VERSION_0_6_5: 1.19
	VERSION_0_6_3: 1.17
	VERSION_0_6_2: 1.17
	VERSION_0_6_1: 1.15
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.7
keyword substitution: kv
total revisions: 23;	selected revisions: 23
description:
----------------------------
revision 1.23
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +3 -0;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.22
date: 2006-10-16 13:28:45 +0000;  author: dok;  state: Exp;  lines: +18 -18;  commitid: 3G8AWgRTgjXPyUQr;
Fix types.
----------------------------
revision 1.21
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +3 -15;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.20
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.19
date: 2005-12-21 00:37:42 +0000;  author: kent;  state: Exp;  lines: +12 -0;

New cursor API, lite_set_cursor_hotspot(), used to define the cursor hotspot
for specific cursor resources.
----------------------------
revision 1.18
date: 2005-12-21 00:35:01 +0000;  author: kent;  state: Exp;  lines: +5 -1;

Add cursor hotspot x and y entries to LiteCursor the struct. Use these
when setting the cursor shape. This so we could define cursor hotspot other
than default 0,0.
----------------------------
revision 1.17
date: 2005-10-29 03:22:52 +0000;  author: kent;  state: Exp;  lines: +15 -0;

D_DEBUG_AT statements for various cursor changes.
----------------------------
revision 1.16
date: 2005-10-28 17:47:38 +0000;  author: kent;  state: Exp;  lines: +10 -0;

New API, lite_get_cursor_opacity() that returns the current opacity level
for the cursor window opacity. This is for the time being stored as a static
inside the cursor.c file each time the cursor opacity is set with
lite_change_cursor_opacity.
----------------------------
revision 1.15
date: 2005-10-11 06:29:12 +0000;  author: kent;  state: Exp;  lines: +9 -10;

Guard all public cursor.c APIs for NULL pointers using LITE_NULL_POINTER_CHECK.
----------------------------
revision 1.14
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.13
date: 2005-07-06 07:34:22 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Set the cooperative level for the layer temporarily to DLSCL_ADMINISTRATIVE
before calling SetCursorOpacity.
----------------------------
revision 1.12
date: 2005-06-30 19:57:28 +0000;  author: kent;  state: Exp;  lines: +3 -3;

More name changes of globals so they end with _global.
----------------------------
revision 1.11
date: 2005-06-30 19:49:30 +0000;  author: kent;  state: Exp;  lines: +3 -3;

current_cursor => current_cursor_global
----------------------------
revision 1.10
date: 2005-06-24 23:21:21 +0000;  author: kent;  state: Exp;  lines: +34 -1;

Three new cursor APIs, lite_hide_cursor(), lite_show_cursor() and
lite_set_cursor_opacity(). Doxygen documentation for the APIs provided.
----------------------------
revision 1.9
date: 2005-06-20 05:15:23 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Final style changes, everything should now look the same, phew.
----------------------------
revision 1.8
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +2 -2;

More code style changes to support the tight function call style.
----------------------------
revision 1.7
date: 2005-05-19 01:13:01 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Code cleanup.
----------------------------
revision 1.6
date: 2005-05-19 01:07:12 +0000;  author: kent;  state: Exp;  lines: +15 -0;

Test for NULL pointer args in the public APIs.
----------------------------
revision 1.5
date: 2005-05-19 00:36:16 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Removed old lite_free_cursor(), and renamed the tested lite_free_cursorx()
to lite_free_cursor().
----------------------------
revision 1.4
date: 2005-05-18 23:18:43 +0000;  author: kent;  state: Exp;  lines: +9 -18;

Redid the load cursor functions so they take a plain pointer instead
of a handle, no need to really use handles here as the LiteCursor is not
created, just the surface populated.
----------------------------
revision 1.3
date: 2005-05-18 02:01:13 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renaming of cursor functions in preparation for the migration to
the new cursor functions.
----------------------------
revision 1.2
date: 2005-05-18 01:09:33 +0000;  author: kent;  state: Exp;  lines: +89 -1;

Initial implementations of the following cursor functions:
lite_get_current_cursor()
lite_set_current_cursor()
lite_load_cursor_from_file()
lite_load_cursor_from_desc()
lite_free_cursor()
lite_set_window_cursor()
----------------------------
revision 1.1
date: 2005-05-18 00:24:19 +0000;  author: kent;  state: Exp;

New implementation file, cursor.c, where the global cursor code
will migrate from window.c, including new APIs to get and set the
global cursor.
=============================================================================

RCS file: /cvs/directfb/lite/lite/cursor.h,v
Working file: lite/cursor.h
head: 1.18
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.18
	VERSION_0_8_2: 1.17
	VERSION_0_8_1: 1.17
	VERSION_0_8_0: 1.17
	VERSION_0_7_2: 1.17
	VERSION_0_7_1: 1.17
	VERSION_0_7_0: 1.17
	VERSION_0_6_5: 1.17
	VERSION_0_6_3: 1.15
	VERSION_0_6_2: 1.15
	VERSION_0_6_1: 1.13
	VERSION_0_4_3: 1.12
	VERSION_0_4_2: 1.8
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
keyword substitution: kv
total revisions: 18;	selected revisions: 18
description:
----------------------------
revision 1.18
date: 2006-10-16 13:28:45 +0000;  author: dok;  state: Exp;  lines: +17 -17;  commitid: 3G8AWgRTgjXPyUQr;
Fix types.
----------------------------
revision 1.17
date: 2005-12-21 00:37:42 +0000;  author: kent;  state: Exp;  lines: +16 -1;

New cursor API, lite_set_cursor_hotspot(), used to define the cursor hotspot
for specific cursor resources.
----------------------------
revision 1.16
date: 2005-12-21 00:35:01 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Add cursor hotspot x and y entries to LiteCursor the struct. Use these
when setting the cursor shape. This so we could define cursor hotspot other
than default 0,0.
----------------------------
revision 1.15
date: 2005-10-28 19:24:09 +0000;  author: kent;  state: Exp;  lines: +10 -1;

Better documentation for the LiteCursor APIs.
----------------------------
revision 1.14
date: 2005-10-28 17:47:38 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New API, lite_get_cursor_opacity() that returns the current opacity level
for the cursor window opacity. This is for the time being stored as a static
inside the cursor.c file each time the cursor opacity is set with
lite_change_cursor_opacity.
----------------------------
revision 1.13
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.12
date: 2005-06-24 23:21:21 +0000;  author: kent;  state: Exp;  lines: +31 -0;

Three new cursor APIs, lite_hide_cursor(), lite_show_cursor() and
lite_set_cursor_opacity(). Doxygen documentation for the APIs provided.
----------------------------
revision 1.11
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.10
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.9
date: 2005-06-19 21:00:01 +0000;  author: kent;  state: Exp;  lines: +59 -1;

Doxygen documentation for LiteCursor.
----------------------------
revision 1.8
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.7
date: 2005-05-19 01:13:01 +0000;  author: kent;  state: Exp;  lines: +2 -3;

Code cleanup.
----------------------------
revision 1.6
date: 2005-05-19 00:36:16 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Removed old lite_free_cursor(), and renamed the tested lite_free_cursorx()
to lite_free_cursor().
----------------------------
revision 1.5
date: 2005-05-18 23:18:43 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Redid the load cursor functions so they take a plain pointer instead
of a handle, no need to really use handles here as the LiteCursor is not
created, just the surface populated.
----------------------------
revision 1.4
date: 2005-05-18 02:01:13 +0000;  author: kent;  state: Exp;  lines: +1 -2;

Renaming of cursor functions in preparation for the migration to
the new cursor functions.
----------------------------
revision 1.3
date: 2005-05-18 01:09:33 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Initial implementations of the following cursor functions:
lite_get_current_cursor()
lite_set_current_cursor()
lite_load_cursor_from_file()
lite_load_cursor_from_desc()
lite_free_cursor()
lite_set_window_cursor()
----------------------------
revision 1.2
date: 2005-05-17 00:32:27 +0000;  author: kent;  state: Exp;  lines: +2 -0;

First steps of migrating the cursor handling out from window.c.
lite_get_current_cursor() returns the pointer to the current cursor.
----------------------------
revision 1.1
date: 2005-03-30 06:47:15 +0000;  author: kent;  state: Exp;

LiteCursor is now in the cursor.h header file in preparation for
finer granularity theme handling in future.
=============================================================================

RCS file: /cvs/directfb/lite/lite/event.c,v
Working file: lite/event.c
head: 1.22
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.22
	VERSION_0_8_2: 1.22
	VERSION_0_8_1: 1.21
	VERSION_0_8_0: 1.21
	VERSION_0_7_2: 1.20
	VERSION_0_7_1: 1.19
	VERSION_0_7_0: 1.19
	VERSION_0_6_5: 1.19
	VERSION_0_6_3: 1.19
	VERSION_0_6_2: 1.19
	VERSION_0_6_1: 1.17
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.1
	VERSION_0_3_1: 1.1
keyword substitution: kv
total revisions: 22;	selected revisions: 22
description:
----------------------------
revision 1.22
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.21
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +14 -0;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.20
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +25 -17;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.19
date: 2005-10-29 03:25:07 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed compiler warning.
----------------------------
revision 1.18
date: 2005-10-28 20:10:56 +0000;  author: kent;  state: Exp;  lines: +9 -6;

Code cleanup in event.c
----------------------------
revision 1.17
date: 2005-10-11 18:03:25 +0000;  author: kent;  state: Exp;  lines: +15 -0;

Move the lite_exit_loop_idle() functionality from window.c into event.c.
----------------------------
revision 1.16
date: 2005-10-10 20:57:57 +0000;  author: kent;  state: Exp;  lines: +2 -0;

D_ASSERT when calling prvlite_attach_to_event_buffer() to make sure there's a valid window passed in.
----------------------------
revision 1.15
date: 2005-10-10 20:56:25 +0000;  author: kent;  state: Exp;  lines: +2 -0;

D_DEBUG_AT message when exiting the event loop.
----------------------------
revision 1.14
date: 2005-10-10 20:51:43 +0000;  author: kent;  state: Exp;  lines: +11 -0;

Move prvlite_set_event_loop_alive() and prvlite_set_event_loop_alive() from window.c
into event.c.
----------------------------
revision 1.13
date: 2005-10-04 01:25:52 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better name for creating the internal event buffer, prvlite_create_event_buffer().
----------------------------
revision 1.12
date: 2005-10-04 01:03:15 +0000;  author: kent;  state: Exp;  lines: +8 -1;

More error testing and asserts when creating the main event buffer.
----------------------------
revision 1.11
date: 2005-10-04 00:57:01 +0000;  author: kent;  state: Exp;  lines: +16 -0;

Implementation of prvlite_attach_to_event_buffer().
----------------------------
revision 1.10
date: 2005-10-01 00:34:31 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Create our new global event queue as part of lite_init(), not yet used by
the window handling...
----------------------------
revision 1.9
date: 2005-10-01 00:27:56 +0000;  author: kent;  state: Exp;  lines: +11 -1;

prva_create_main_event_loop() internal function.
----------------------------
revision 1.8
date: 2005-10-01 00:19:35 +0000;  author: kent;  state: Exp;  lines: +10 -0;

Code in preparation to move to a global main event loop independent of the
window created.
----------------------------
revision 1.7
date: 2005-08-19 02:03:35 +0000;  author: kent;  state: Exp;  lines: +2 -0;

New internal flag that tells if the event loop should be kept alive or
not, by default it's enabled, but could be disabled via a private
API (prvlite_set_event_loop_alive()). This way the event loop could quit
from inside two of the loops.
----------------------------
revision 1.6
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.5
date: 2005-07-04 23:47:35 +0000;  author: kent;  state: Exp;  lines: +20 -0;

New API, lite_exit_event_loop(), when called it will exit the current
event loop.
----------------------------
revision 1.4
date: 2005-06-30 19:57:28 +0000;  author: kent;  state: Exp;  lines: +3 -5;

More name changes of globals so they end with _global.
----------------------------
revision 1.3
date: 2005-06-25 01:05:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed SetCurrentKeyModifier to prvlite_set_current_key_modifier.
Now all private non-static functions have a prvlite prefix, maybe
_lite is still pushing the nerves of ANSI C purists...
----------------------------
revision 1.2
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +1 -1;

More code style changes to support the tight function call style.
----------------------------
revision 1.1
date: 2005-05-12 23:49:04 +0000;  author: kent;  state: Exp;

New function lite_get_current_key_modifier() to get the current
key modifiers. This function is implemented in event.c, more
globally related event code will be moved in future into this directory.
=============================================================================

RCS file: /cvs/directfb/lite/lite/event.h,v
Working file: lite/event.h
head: 1.8
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.8
	VERSION_0_8_2: 1.8
	VERSION_0_8_1: 1.8
	VERSION_0_8_0: 1.8
	VERSION_0_7_2: 1.8
	VERSION_0_7_1: 1.8
	VERSION_0_7_0: 1.8
	VERSION_0_6_5: 1.8
	VERSION_0_6_3: 1.8
	VERSION_0_6_2: 1.8
	VERSION_0_6_1: 1.7
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.2
	VERSION_0_3_1: 1.1
keyword substitution: kv
total revisions: 8;	selected revisions: 8
description:
----------------------------
revision 1.8
date: 2005-10-28 19:27:49 +0000;  author: kent;  state: Exp;  lines: +10 -4;

Better documentation for the public LiTE event APIs.
----------------------------
revision 1.7
date: 2005-10-11 18:03:25 +0000;  author: kent;  state: Exp;  lines: +13 -0;

Move the lite_exit_loop_idle() functionality from window.c into event.c.
----------------------------
revision 1.6
date: 2005-10-01 00:19:35 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Code in preparation to move to a global main event loop independent of the
window created.
----------------------------
revision 1.5
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.4
date: 2005-07-04 23:47:35 +0000;  author: kent;  state: Exp;  lines: +9 -0;

New API, lite_exit_event_loop(), when called it will exit the current
event loop.
----------------------------
revision 1.3
date: 2005-06-19 21:02:22 +0000;  author: kent;  state: Exp;  lines: +6 -1;

Doxygen documentation for the LiTE event interfaces.
----------------------------
revision 1.2
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.1
date: 2005-05-12 23:49:04 +0000;  author: kent;  state: Exp;

New function lite_get_current_key_modifier() to get the current
key modifiers. This function is implemented in event.c, more
globally related event code will be moved in future into this directory.
=============================================================================

RCS file: /cvs/directfb/lite/lite/font.c,v
Working file: lite/font.c
head: 1.38
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.38
	VERSION_0_8_2: 1.36
	VERSION_0_8_1: 1.34
	VERSION_0_8_0: 1.33
	VERSION_0_7_2: 1.32
	VERSION_0_7_1: 1.31
	VERSION_0_7_0: 1.31
	VERSION_0_6_5: 1.31
	VERSION_0_6_3: 1.30
	VERSION_0_6_2: 1.30
	VERSION_0_6_1: 1.27
	VERSION_0_4_3: 1.21
	VERSION_0_4_2: 1.19
	VERSION_0_3_1: 1.18
	VERSION_0_3_0: 1.18
	VERSION_0_2_2: 1.17
	VERSION_0_1: 1.8
	DIRECTFB_0_9_18: 1.6
keyword substitution: kv
total revisions: 38;	selected revisions: 38
description:
----------------------------
revision 1.38
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +13 -4;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.37
date: 2006-10-16 04:18:55 +0000;  author: bcombee;  state: Exp;  lines: +3 -3;  commitid: 1myBuacwy5RXvRQr;
Fix font.c to not leak IDirectFBFont refs when returning the font attached to a surface
----------------------------
revision 1.36
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +14 -6;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.35
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.34
date: 2006-09-20 21:15:37 +0000;  author: bcombee;  state: Exp;  lines: +5 -23;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.33
date: 2006-08-04 16:46:35 +0000;  author: dok;  state: Exp;  lines: +4 -5;  commitid: pOQDsvjVgUg90yHr;
Print error if default font can't be loaded.
----------------------------
revision 1.32
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +7 -0;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.31
date: 2005-12-20 03:03:03 +0000;  author: kent;  state: Exp;  lines: +13 -2;

Inside lite_ref_font, lock the font muxes while updating the ref count.
----------------------------
revision 1.30
date: 2005-10-29 02:21:48 +0000;  author: kent;  state: Exp;  lines: +15 -10;

More tweak and fixes in the code base so it looks prettier.
----------------------------
revision 1.29
date: 2005-10-28 19:32:29 +0000;  author: dok;  state: Exp;  lines: +1 -1;
s/strdup/D_STRDUP/
----------------------------
revision 1.28
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +5 -3;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.27
date: 2005-10-11 20:26:02 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Convert D_ERROR to D_DEBUG_AT calls.
----------------------------
revision 1.26
date: 2005-10-11 06:38:24 +0000;  author: kent;  state: Exp;  lines: +14 -30;

Guard public APIs in font.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.25
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +18 -18;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.24
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +11 -10;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.23
date: 2005-06-30 19:57:28 +0000;  author: kent;  state: Exp;  lines: +4 -3;

More name changes of globals so they end with _global.
----------------------------
revision 1.22
date: 2005-06-25 01:07:28 +0000;  author: kent;  state: Exp;  lines: +1 -1;

renamed _lite_font_init() to prvlite_font_init().
----------------------------
revision 1.21
date: 2005-06-20 05:15:23 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Final style changes, everything should now look the same, phew.
----------------------------
revision 1.20
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +87 -87;

More code style changes to support the tight function call style.
----------------------------
revision 1.19
date: 2005-05-18 09:19:34 +0000;  author: dok;  state: Exp;  lines: +13 -0;
Added lite_ref_font() as opposed to lite_release_font(),
e.g. for virtually cloning the font instance.
----------------------------
revision 1.18
date: 2005-03-29 09:47:19 +0000;  author: kent;  state: Exp;  lines: +31 -11;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.17
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +7 -5;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.16
date: 2005-03-17 00:23:21 +0000;  author: kent;  state: Exp;  lines: +4 -5;

If the passed in spec is not a defined type, then it's assumed it's a font
name. This way any known font could be used.
----------------------------
revision 1.15
date: 2005-03-08 09:13:36 +0000;  author: dok;  state: Exp;  lines: +3 -3;
Print error message instead of debug if font loading failed.
----------------------------
revision 1.14
date: 2005-03-01 20:09:31 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Change font spec "sans" to "proportional". There fonts named sans are
actually "sans serif". The specs now also conform to a classical browser
font selection specification.
----------------------------
revision 1.13
date: 2005-03-01 20:03:04 +0000;  author: kent;  state: Exp;  lines: +2 -4;

lite_get_font() now accepts a spec that is actually a font name, this way
any font could be specified.
----------------------------
revision 1.12
date: 2005-02-21 07:20:56 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed a missing argument.
----------------------------
revision 1.11
date: 2005-02-21 00:09:27 +0000;  author: kent;  state: Exp;  lines: +20 -20;


Removed LITE_INFO and LITE_DEBUG, using D_DEBUG_AT now.
----------------------------
revision 1.10
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.9
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +165 -55;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.8
date: 2005-02-03 06:59:39 +0000;  author: kent;  state: Exp;  lines: +9 -7;


Extracted the default font string name into one global define: DEFAULT_FONT
----------------------------
revision 1.7
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +24 -0;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.6
date: 2003-02-26 15:14:55 +0000;  author: dok;  state: Exp;  lines: +3 -3;
Removed sprintf usage.
----------------------------
revision 1.5
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +161 -169;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.4
date: 2002-12-02 18:19:58 +0000;  author: dok;  state: Exp;  lines: +6 -0;
Reset font cache during (re)initialization.
----------------------------
revision 1.3
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +90 -57;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.2
date: 2002-10-29 13:41:08 +0000;  author: dok;  state: Exp;  lines: +32 -20;
Font attributes can be specified for lite_get_font().
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/font.h,v
Working file: lite/font.h
head: 1.14
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.14
	VERSION_0_8_2: 1.13
	VERSION_0_8_1: 1.13
	VERSION_0_8_0: 1.13
	VERSION_0_7_2: 1.13
	VERSION_0_7_1: 1.12
	VERSION_0_7_0: 1.12
	VERSION_0_6_5: 1.12
	VERSION_0_6_3: 1.12
	VERSION_0_6_2: 1.12
	VERSION_0_6_1: 1.11
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.7
	VERSION_0_3_1: 1.6
	VERSION_0_3_0: 1.6
	VERSION_0_2_2: 1.6
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.3
keyword substitution: kv
total revisions: 14;	selected revisions: 14
description:
----------------------------
revision 1.14
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +3 -2;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.13
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +10 -0;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.12
date: 2005-10-28 19:30:08 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Fixed typos and grammer in the font documentation.
----------------------------
revision 1.11
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.10
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +11 -6;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.9
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.8
date: 2005-06-19 21:18:09 +0000;  author: kent;  state: Exp;  lines: +80 -8;

Doxygen documentation for LiteFont.
----------------------------
revision 1.7
date: 2005-05-18 09:19:34 +0000;  author: dok;  state: Exp;  lines: +5 -4;
Added lite_ref_font() as opposed to lite_release_font(),
e.g. for virtually cloning the font instance.
----------------------------
revision 1.6
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +21 -7;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.5
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +24 -0;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.4
date: 2005-01-26 05:09:32 +0000;  author: kent;  state: Exp;  lines: +1 -0;


LITE_FONT typecast macro, similar to the other LiTE typecast macros.
----------------------------
revision 1.3
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +7 -5;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.2
date: 2002-10-29 13:41:08 +0000;  author: dok;  state: Exp;  lines: +5 -4;
Font attributes can be specified for lite_get_font().
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/image.c,v
Working file: lite/image.c
head: 1.32
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.32
	VERSION_0_8_2: 1.32
	VERSION_0_8_1: 1.30
	VERSION_0_8_0: 1.30
	VERSION_0_7_2: 1.29
	VERSION_0_7_1: 1.29
	VERSION_0_7_0: 1.27
	VERSION_0_6_5: 1.27
	VERSION_0_6_3: 1.27
	VERSION_0_6_2: 1.27
	VERSION_0_6_1: 1.22
	VERSION_0_4_3: 1.16
	VERSION_0_4_2: 1.14
	VERSION_0_3_1: 1.14
	VERSION_0_3_0: 1.14
	VERSION_0_2_2: 1.11
	VERSION_0_1: 1.7
	DIRECTFB_0_9_18: 1.5
keyword substitution: kv
total revisions: 32;	selected revisions: 32
description:
----------------------------
revision 1.32
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +2 -1;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.31
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.30
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -5;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.29
date: 2006-02-03 03:32:33 +0000;  author: kent;  state: Exp;  lines: +11 -0;

New function, lite_set_image_blitting_flags() to set the specific
DFBSurfaceBlittingFlags for the automatic image updates.
----------------------------
revision 1.28
date: 2006-02-03 03:25:13 +0000;  author: kent;  state: Exp;  lines: +7 -5;

Avoid using a default blitting flag setting with LiteImage, save the
blitting flags inside the LiteImage object, default setting is
DSBLIT_BLEND_ALPHACHANNEL.
----------------------------
revision 1.27
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.26
date: 2005-10-29 03:27:53 +0000;  author: kent;  state: Exp;  lines: +5 -0;

Use D_DEBUG_AT statements for internal image changes.
----------------------------
revision 1.25
date: 2005-10-29 02:21:48 +0000;  author: kent;  state: Exp;  lines: +3 -2;

More tweak and fixes in the code base so it looks prettier.
----------------------------
revision 1.24
date: 2005-10-22 01:51:09 +0000;  author: kent;  state: Exp;  lines: +1 -0;

All public LiteImage APIs now test for valid Litebox structs.
----------------------------
revision 1.23
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.22
date: 2005-10-11 06:39:56 +0000;  author: kent;  state: Exp;  lines: +2 -3;

Guard public APIs in image.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.21
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.20
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.19
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +3 -2;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.18
date: 2005-06-30 23:28:11 +0000;  author: kent;  state: Exp;  lines: +7 -3;

lite_new_image now actually takes a LiteImageTheme, as we could pass in
default images and so on directly to the image structure.
----------------------------
revision 1.17
date: 2005-06-30 23:20:39 +0000;  author: kent;  state: Exp;  lines: +15 -18;

lite_new_image now takes a DFBRectangle.
----------------------------
revision 1.16
date: 2005-06-20 05:15:23 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Final style changes, everything should now look the same, phew.
----------------------------
revision 1.15
date: 2005-06-20 04:46:08 +0000;  author: kent;  state: Exp;  lines: +29 -29;

More code style changes to support the tight function call style.
----------------------------
revision 1.14
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +4 -2;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.13
date: 2005-03-31 04:27:47 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.12
date: 2005-03-29 09:50:14 +0000;  author: kent;  state: Exp;  lines: +15 -6;

Cosmetical -- make the APIs look like the DFB ones.
----------------------------
revision 1.11
date: 2005-03-25 19:05:34 +0000;  author: kent;  state: Exp;  lines: +19 -15;

lite_new_image() now comforms to the DFB API style, returns DFBResult and
takes LiteImage as a handle.
----------------------------
revision 1.10
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +5 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.9
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.8
date: 2005-02-17 02:47:54 +0000;  author: kent;  state: Exp;  lines: +8 -7;

lite_load_image now returns DFBResult values.
----------------------------
revision 1.7
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.6
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +3 -3;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.5
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +45 -45;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.4
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +3 -2;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.3
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.2
date: 2002-10-23 22:19:50 +0000;  author: andi;  state: Exp;  lines: +1 -1;
- do not include malloc.h , use stdlib instead.
  (now compiles on darwin)
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/image.h,v
Working file: lite/image.h
head: 1.18
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.18
	VERSION_0_8_2: 1.18
	VERSION_0_8_1: 1.18
	VERSION_0_8_0: 1.18
	VERSION_0_7_2: 1.18
	VERSION_0_7_1: 1.18
	VERSION_0_7_0: 1.17
	VERSION_0_6_5: 1.17
	VERSION_0_6_3: 1.17
	VERSION_0_6_2: 1.17
	VERSION_0_6_1: 1.16
	VERSION_0_4_3: 1.11
	VERSION_0_4_2: 1.5
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
	VERSION_0_1: 1.2
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 18;	selected revisions: 18
description:
----------------------------
revision 1.18
date: 2006-02-03 03:32:33 +0000;  author: kent;  state: Exp;  lines: +14 -0;

New function, lite_set_image_blitting_flags() to set the specific
DFBSurfaceBlittingFlags for the automatic image updates.
----------------------------
revision 1.17
date: 2005-10-28 19:31:55 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed Image documentation.
----------------------------
revision 1.16
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.15
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.14
date: 2005-06-30 23:31:06 +0000;  author: kent;  state: Exp;  lines: +5 -1;

LiteImageTheme now could include IDirectFBSurface including width and height
values.
----------------------------
revision 1.13
date: 2005-06-30 23:28:11 +0000;  author: kent;  state: Exp;  lines: +19 -3;

lite_new_image now actually takes a LiteImageTheme, as we could pass in
default images and so on directly to the image structure.
----------------------------
revision 1.12
date: 2005-06-30 23:20:39 +0000;  author: kent;  state: Exp;  lines: +5 -11;

lite_new_image now takes a DFBRectangle.
----------------------------
revision 1.11
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +6 -7;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.10
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.9
date: 2005-06-20 03:02:07 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Doxygen documentation for the window APIs.
----------------------------
revision 1.8
date: 2005-06-19 22:30:11 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Doxygen documentation for the util functions.
----------------------------
revision 1.7
date: 2005-06-19 22:03:37 +0000;  author: kent;  state: Exp;  lines: +3 -0;

LiteSlider Doxygen documentation.
----------------------------
revision 1.6
date: 2005-06-19 21:23:30 +0000;  author: kent;  state: Exp;  lines: +32 -11;

Doxygen documentation for LiteImage.
----------------------------
revision 1.5
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.4
date: 2005-03-25 19:05:34 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_image() now comforms to the DFB API style, returns DFBResult and
takes LiteImage as a handle.
----------------------------
revision 1.3
date: 2005-02-17 02:47:54 +0000;  author: kent;  state: Exp;  lines: +2 -2;

lite_load_image now returns DFBResult values.
----------------------------
revision 1.2
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/label.c,v
Working file: lite/label.c
head: 1.36
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.36
	VERSION_0_8_2: 1.36
	VERSION_0_8_1: 1.34
	VERSION_0_8_0: 1.34
	VERSION_0_7_2: 1.33
	VERSION_0_7_1: 1.33
	VERSION_0_7_0: 1.33
	VERSION_0_6_5: 1.33
	VERSION_0_6_3: 1.33
	VERSION_0_6_2: 1.33
	VERSION_0_6_1: 1.26
	VERSION_0_4_3: 1.19
	VERSION_0_4_2: 1.18
	VERSION_0_3_1: 1.18
	VERSION_0_3_0: 1.18
	VERSION_0_2_2: 1.15
	VERSION_0_1: 1.8
	DIRECTFB_0_9_18: 1.4
keyword substitution: kv
total revisions: 36;	selected revisions: 36
description:
----------------------------
revision 1.36
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +5 -4;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.35
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.34
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -5;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.33
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.32
date: 2005-10-29 03:33:26 +0000;  author: kent;  state: Exp;  lines: +10 -0;

Use D_DEBUG_AT statements for internal LiteLabel changes.
----------------------------
revision 1.31
date: 2005-10-29 02:21:48 +0000;  author: kent;  state: Exp;  lines: +11 -9;

More tweak and fixes in the code base so it looks prettier.
----------------------------
revision 1.30
date: 2005-10-27 15:25:53 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Who's using D_FREE instead of free must also use D_STRDUP instead of strdup :)
----------------------------
revision 1.29
date: 2005-10-22 01:42:35 +0000;  author: kent;  state: Exp;  lines: +3 -0;

LiteLabel public APIs now check for valid LiteBox* passed in.
----------------------------
revision 1.28
date: 2005-10-22 01:39:52 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Need to set box type to LITE_TYPE_BOX in lite_init_box(), otherwise it's never
set. Testing out the LITE_BOX_PARAMETER_CHECK() macro for labels that required
that the type was set.
----------------------------
revision 1.27
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +6 -4;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.26
date: 2005-10-11 06:43:25 +0000;  author: kent;  state: Exp;  lines: +11 -2;

Guard public APIs in label.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.25
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.24
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.23
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +11 -11;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.22
date: 2005-06-30 23:11:22 +0000;  author: kent;  state: Exp;  lines: +19 -19;

Now that we are always using ret_ names for handles, change the temp
variables to something more meaningful variable names.
----------------------------
revision 1.21
date: 2005-06-30 22:33:17 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_new_label() Doxygen documentation, fixed the internal label struct
so it uses a LiteLabelTheme.
----------------------------
revision 1.20
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +11 -10;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.19
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +51 -51;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.18
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +5 -3;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.17
date: 2005-03-31 04:27:47 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.16
date: 2005-03-29 09:54:13 +0000;  author: kent;  state: Exp;  lines: +25 -15;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.15
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +31 -28;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.14
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +23 -16;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.13
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.12
date: 2005-02-17 03:28:51 +0000;  author: kent;  state: Exp;  lines: +28 -21;

lite_set_label_text, lite_set_label_alignment,
lite_set_label_font and lite_set_label_color now return
DFBResult values.
----------------------------
revision 1.11
date: 2005-02-15 20:25:17 +0000;  author: kent;  state: Exp;  lines: +9 -0;

New function: lite_set_label_color() that takes a DFBColor and uses it
for the new pen color. dfbspy.c has an example how to turn the label
color as blue labels.
----------------------------
revision 1.10
date: 2005-02-15 20:09:54 +0000;  author: kent;  state: Exp;  lines: +10 -1;

LiteLabel now has a field for the text color, default black color with
no alpha blending.
----------------------------
revision 1.9
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +27 -8;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.8
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.7
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +67 -15;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.6
date: 2003-06-27 18:41:42 +0000;  author: dok;  state: Exp;  lines: +1 -2;
Reget sub surfaces on resize, fixes components rendering to the border.
----------------------------
revision 1.5
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +13 -4;
Added a simple slider with a nice example.
----------------------------
revision 1.4
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
----------------------------
revision 1.3
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +5 -5;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.2
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.1
date: 2002-12-05 17:56:51 +0000;  author: dok;  state: Exp;
Added a yet simple label implementation.
=============================================================================

RCS file: /cvs/directfb/lite/lite/label.h,v
Working file: lite/label.h
head: 1.18
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.18
	VERSION_0_8_2: 1.18
	VERSION_0_8_1: 1.18
	VERSION_0_8_0: 1.18
	VERSION_0_7_2: 1.18
	VERSION_0_7_1: 1.18
	VERSION_0_7_0: 1.18
	VERSION_0_6_5: 1.18
	VERSION_0_6_3: 1.18
	VERSION_0_6_2: 1.18
	VERSION_0_6_1: 1.18
	VERSION_0_4_3: 1.12
	VERSION_0_4_2: 1.9
	VERSION_0_3_1: 1.8
	VERSION_0_3_0: 1.8
	VERSION_0_2_2: 1.8
	VERSION_0_1: 1.4
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 18;	selected revisions: 18
description:
----------------------------
revision 1.18
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.17
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.16
date: 2005-06-30 22:33:17 +0000;  author: kent;  state: Exp;  lines: +5 -5;

lite_new_label() Doxygen documentation, fixed the internal label struct
so it uses a LiteLabelTheme.
----------------------------
revision 1.15
date: 2005-06-30 22:29:36 +0000;  author: kent;  state: Exp;  lines: +5 -6;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.14
date: 2005-06-30 22:08:22 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Added font color and size as new slots in LiteLabelTheme.
----------------------------
revision 1.13
date: 2005-06-30 22:06:00 +0000;  author: kent;  state: Exp;  lines: +16 -0;
*** empty log message ***
----------------------------
revision 1.12
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +14 -17;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.11
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +7 -7;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.10
date: 2005-06-19 21:42:35 +0000;  author: kent;  state: Exp;  lines: +59 -7;

Doxygen documentation for the LiTE interface.
----------------------------
revision 1.9
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.8
date: 2005-03-25 23:48:14 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_label() API changed, returns DFBResult and takes a LiteLabel handle.
----------------------------
revision 1.7
date: 2005-02-17 03:28:51 +0000;  author: kent;  state: Exp;  lines: +11 -11;

lite_set_label_text, lite_set_label_alignment,
lite_set_label_font and lite_set_label_color now return
DFBResult values.
----------------------------
revision 1.6
date: 2005-02-15 20:25:17 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New function: lite_set_label_color() that takes a DFBColor and uses it
for the new pen color. dfbspy.c has an example how to turn the label
color as blue labels.
----------------------------
revision 1.5
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.4
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.3
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +23 -9;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.2
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added a simple slider with a nice example.
----------------------------
revision 1.1
date: 2002-12-05 17:56:51 +0000;  author: dok;  state: Exp;
Added a yet simple label implementation.
=============================================================================

RCS file: /cvs/directfb/lite/lite/lite.c,v
Working file: lite/lite.c
head: 1.31
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.31
	VERSION_0_8_2: 1.31
	VERSION_0_8_1: 1.30
	VERSION_0_8_0: 1.29
	VERSION_0_7_2: 1.28
	VERSION_0_7_1: 1.28
	VERSION_0_7_0: 1.28
	VERSION_0_6_5: 1.28
	VERSION_0_6_3: 1.27
	VERSION_0_6_2: 1.27
	VERSION_0_6_1: 1.26
	VERSION_0_4_3: 1.20
	VERSION_0_4_2: 1.18
	VERSION_0_3_1: 1.12
	VERSION_0_3_0: 1.12
	VERSION_0_2_2: 1.10
	VERSION_0_1: 1.7
	DIRECTFB_0_9_18: 1.5
keyword substitution: kv
total revisions: 31;	selected revisions: 31
description:
----------------------------
revision 1.31
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.30
date: 2006-09-20 21:15:38 +0000;  author: bcombee;  state: Exp;  lines: +2 -2;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.29
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -0;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.28
date: 2005-12-21 00:40:47 +0000;  author: kent;  state: Exp;  lines: +7 -0;

New config value for system cursors, DEFAULT_WINDOW_CURSOR_HOTSPOT_X
and DEFAULT_WINDOW_CURSOR_HOTSPOT_Y. Default 0,0, but change these
in case the default cursor hotspot is other than 0,0.
----------------------------
revision 1.27
date: 2005-10-29 03:38:51 +0000;  author: kent;  state: Exp;  lines: +13 -0;

Use D_DEBUG_AT to return state changes from lite.c.
----------------------------
revision 1.26
date: 2005-10-04 01:25:52 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better name for creating the internal event buffer, prvlite_create_event_buffer().
----------------------------
revision 1.25
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.24
date: 2005-10-01 00:34:31 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Create our new global event queue as part of lite_init(), not yet used by
the window handling...
----------------------------
revision 1.23
date: 2005-07-06 01:18:36 +0000;  author: kent;  state: Exp;  lines: +8 -0;

New API, lite_get_layer_interface() that returns the current active
display layer from lite_open().
----------------------------
revision 1.22
date: 2005-06-25 01:09:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed lite_load_default_window_theme() to prvlite_load_default_window_theme(),
now all non-static internal functions have the prvlite prefix.
----------------------------
revision 1.21
date: 2005-06-25 01:07:28 +0000;  author: kent;  state: Exp;  lines: +1 -1;

renamed _lite_font_init() to prvlite_font_init().
----------------------------
revision 1.20
date: 2005-06-24 23:30:54 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed lite_free_default_window_theme() to lite_free_window_theme() so
this function could be used for any window theme installed.
----------------------------
revision 1.19
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +15 -15;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.18
date: 2005-06-16 01:18:27 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New lite_config.h flag, LOAD_DEFAULT_WINDOW_THEME, by default true,
if false the default window theme is not loaded. This works in combination
withthe LITE_NO_THEME env. variable that could override this setting.
----------------------------
revision 1.17
date: 2005-06-16 00:19:45 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Renamed various theme() APIs to default_window_theme() API names, as
they are only used for loading the default window theme. From now LiteWindows
and other widgets will have a default theme that is set by the library, or NULL
(no theme), or a theme that could be passed in from the outside when creating
or using the widget.
----------------------------
revision 1.16
date: 2005-05-19 00:19:54 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Switch over to the new cursor handling when starting LiTE, i.e. use
the global cursor in cursor.c
----------------------------
revision 1.15
date: 2005-05-18 23:18:43 +0000;  author: kent;  state: Exp;  lines: +3 -4;

Redid the load cursor functions so they take a plain pointer instead
of a handle, no need to really use handles here as the LiteCursor is not
created, just the surface populated.
----------------------------
revision 1.14
date: 2005-05-18 22:14:52 +0000;  author: kent;  state: Exp;  lines: +13 -13;

lite.c has a default cursor structure that is initially loaded.
----------------------------
revision 1.13
date: 2005-05-18 02:33:22 +0000;  author: kent;  state: Exp;  lines: +36 -0;

Parallel code to load in the default cursor (and remove it, too) as
part of the lite init and shutdown processes.
----------------------------
revision 1.12
date: 2005-03-31 04:31:59 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Fixed compiler warnings.
----------------------------
revision 1.11
date: 2005-03-29 09:55:37 +0000;  author: kent;  state: Exp;  lines: +6 -3;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.10
date: 2005-03-26 01:19:49 +0000;  author: kent;  state: Exp;  lines: +5 -1;

lite_close() returns DFBResult.
----------------------------
revision 1.9
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.8
date: 2005-02-15 18:44:39 +0000;  author: kent;  state: Exp;  lines: +5 -0;

lite_get_dfb_interface() returns the current IDirectFB interface so it could
be used for other DFB calls from LiTE-based applications and toolkits.
----------------------------
revision 1.7
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.6
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.5
date: 2003-01-15 14:57:51 +0000;  author: dok;  state: Exp;  lines: +46 -49;
Load cursor even if themes are disabled.
----------------------------
revision 1.4
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +8 -1;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.3
date: 2002-12-02 18:19:58 +0000;  author: dok;  state: Exp;  lines: +3 -0;
Reset font cache during (re)initialization.
----------------------------
revision 1.2
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/lite.h,v
Working file: lite/lite.h
head: 1.16
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.16
	VERSION_0_8_2: 1.16
	VERSION_0_8_1: 1.16
	VERSION_0_8_0: 1.15
	VERSION_0_7_2: 1.15
	VERSION_0_7_1: 1.15
	VERSION_0_7_0: 1.15
	VERSION_0_6_5: 1.15
	VERSION_0_6_3: 1.15
	VERSION_0_6_2: 1.14
	VERSION_0_6_1: 1.13
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.8
	VERSION_0_3_1: 1.6
	VERSION_0_3_0: 1.6
	VERSION_0_2_2: 1.6
	VERSION_0_1: 1.4
	DIRECTFB_0_9_18: 1.1
keyword substitution: kv
total revisions: 16;	selected revisions: 16
description:
----------------------------
revision 1.16
date: 2006-09-20 21:15:38 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.15
date: 2005-11-07 07:39:34 +0000;  author: kent;  state: Exp;  lines: +6 -1;

Separated the LiTE Doxygen group from the lite.h API group itself, so
there's a specific instruction for Doxygen to create a LiTE group.
----------------------------
revision 1.14
date: 2005-10-29 02:21:23 +0000;  author: kent;  state: Exp;  lines: +2 -3;

Removed @ingroup Doxygen instruction so lite.h @defgroup is the collecting
group for the module definition.
----------------------------
revision 1.13
date: 2005-09-27 04:38:05 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Added a @defgroup Doxygen documentation title.
----------------------------
revision 1.12
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -1;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.11
date: 2005-07-06 01:18:36 +0000;  author: kent;  state: Exp;  lines: +11 -0;

New API, lite_get_layer_interface() that returns the current active
display layer from lite_open().
----------------------------
revision 1.10
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.9
date: 2005-06-19 21:42:35 +0000;  author: kent;  state: Exp;  lines: +33 -2;

Doxygen documentation for the LiTE interface.
----------------------------
revision 1.8
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.7
date: 2005-06-16 00:19:45 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed various theme() APIs to default_window_theme() API names, as
they are only used for loading the default window theme. From now LiteWindows
and other widgets will have a default theme that is set by the library, or NULL
(no theme), or a theme that could be passed in from the outside when creating
or using the widget.
----------------------------
revision 1.6
date: 2005-03-26 01:19:49 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_close() returns DFBResult.
----------------------------
revision 1.5
date: 2005-02-15 18:44:39 +0000;  author: kent;  state: Exp;  lines: +2 -0;

lite_get_dfb_interface() returns the current IDirectFB interface so it could
be used for other DFB calls from LiTE-based applications and toolkits.
----------------------------
revision 1.4
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.3
date: 2004-11-13 01:02:41 +0000;  author: dok;  state: Exp;  lines: +5 -0;
Added lite_theme_loaded().
----------------------------
revision 1.2
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/lite_config.h,v
Working file: lite/lite_config.h
head: 1.11
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.11
	VERSION_0_8_2: 1.11
	VERSION_0_8_1: 1.11
	VERSION_0_8_0: 1.11
	VERSION_0_7_2: 1.10
	VERSION_0_7_1: 1.10
	VERSION_0_7_0: 1.10
	VERSION_0_6_5: 1.10
	VERSION_0_6_3: 1.9
	VERSION_0_6_2: 1.9
	VERSION_0_6_1: 1.9
	VERSION_0_4_3: 1.8
	VERSION_0_4_2: 1.6
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
keyword substitution: kv
total revisions: 11;	selected revisions: 11
description:
----------------------------
revision 1.11
date: 2006-08-04 17:36:02 +0000;  author: dok;  state: Exp;  lines: +3 -3;  commitid: 1TkN1xJI1RF7hyHr;
New default font.
----------------------------
revision 1.10
date: 2005-12-21 00:40:47 +0000;  author: kent;  state: Exp;  lines: +2 -0;

New config value for system cursors, DEFAULT_WINDOW_CURSOR_HOTSPOT_X
and DEFAULT_WINDOW_CURSOR_HOTSPOT_Y. Default 0,0, but change these
in case the default cursor hotspot is other than 0,0.
----------------------------
revision 1.9
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.8
date: 2005-06-24 23:50:13 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New configure constant, DEFAULT_WINDOW_MINIMIZE_SIZE.
----------------------------
revision 1.7
date: 2005-06-19 21:50:33 +0000;  author: kent;  state: Exp;  lines: +36 -1;

Doxygen documentaton for the configuration flags.
----------------------------
revision 1.6
date: 2005-06-16 01:18:27 +0000;  author: kent;  state: Exp;  lines: +2 -1;

New lite_config.h flag, LOAD_DEFAULT_WINDOW_THEME, by default true,
if false the default window theme is not loaded. This works in combination
withthe LITE_NO_THEME env. variable that could override this setting.
----------------------------
revision 1.5
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.4
date: 2005-03-01 20:09:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Change font spec "sans" to "proportional". There fonts named sans are
actually "sans serif". The specs now also conform to a classical browser
font selection specification.
----------------------------
revision 1.3
date: 2005-02-15 19:43:35 +0000;  author: kent;  state: Exp;  lines: +5 -0;

Default window background colors are defined in lite_config.h
----------------------------
revision 1.2
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +6 -0;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.1
date: 2005-02-15 18:48:50 +0000;  author: kent;  state: Exp;

New internal configuration file where all the default configuration values
are defined -- if there's a need to change something globally, this file
could be patched or copied over. First case are the theme file names
defined in window.c tha are now defined in lite_config.h.
=============================================================================

RCS file: /cvs/directfb/lite/lite/lite_internal.h,v
Working file: lite/lite_internal.h
head: 1.32
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.32
	VERSION_0_8_2: 1.32
	VERSION_0_8_1: 1.32
	VERSION_0_8_0: 1.31
	VERSION_0_7_2: 1.30
	VERSION_0_7_1: 1.29
	VERSION_0_7_0: 1.29
	VERSION_0_6_5: 1.29
	VERSION_0_6_3: 1.29
	VERSION_0_6_2: 1.29
	VERSION_0_6_1: 1.29
	VERSION_0_4_3: 1.17
	VERSION_0_4_2: 1.14
	VERSION_0_3_1: 1.10
	VERSION_0_3_0: 1.9
	VERSION_0_2_2: 1.9
	VERSION_0_1: 1.6
	DIRECTFB_0_9_18: 1.4
keyword substitution: kv
total revisions: 32;	selected revisions: 32
description:
----------------------------
revision 1.32
date: 2006-09-20 21:15:38 +0000;  author: bcombee;  state: Exp;  lines: +3 -0;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.31
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +3 -3;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.30
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +5 -5;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.29
date: 2005-10-11 18:03:25 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Move the lite_exit_loop_idle() functionality from window.c into event.c.
----------------------------
revision 1.28
date: 2005-10-11 17:57:10 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Isolate the exit_idle_loop_global access via a private function:
prvlite_get_exit_idle_loop_flag().
----------------------------
revision 1.27
date: 2005-10-10 20:48:16 +0000;  author: kent;  state: Exp;  lines: +4 -0;

Use prvlite_get_event_loop_alive() in all instances instead of using the global.
----------------------------
revision 1.26
date: 2005-10-09 03:01:50 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fix build error (wrong prototype).
----------------------------
revision 1.25
date: 2005-10-04 01:25:52 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better name for creating the internal event buffer, prvlite_create_event_buffer().
----------------------------
revision 1.24
date: 2005-10-04 00:55:51 +0000;  author: kent;  state: Exp;  lines: +4 -0;

New internal function, prvlite_attach_to_event_buffer() so that newly
created windows could attache to the future global event queue.
----------------------------
revision 1.23
date: 2005-10-01 00:27:56 +0000;  author: kent;  state: Exp;  lines: +4 -0;

prva_create_main_event_loop() internal function.
----------------------------
revision 1.22
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.21
date: 2005-08-19 02:03:35 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New internal flag that tells if the event loop should be kept alive or
not, by default it's enabled, but could be disabled via a private
API (prvlite_set_event_loop_alive()). This way the event loop could quit
from inside two of the loops.
----------------------------
revision 1.20
date: 2005-06-25 01:09:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed lite_load_default_window_theme() to prvlite_load_default_window_theme(),
now all non-static internal functions have the prvlite prefix.
----------------------------
revision 1.19
date: 2005-06-25 01:07:28 +0000;  author: kent;  state: Exp;  lines: +1 -1;

renamed _lite_font_init() to prvlite_font_init().
----------------------------
revision 1.18
date: 2005-06-25 01:05:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed SetCurrentKeyModifier to prvlite_set_current_key_modifier.
Now all private non-static functions have a prvlite prefix, maybe
_lite is still pushing the nerves of ANSI C purists...
----------------------------
revision 1.17
date: 2005-06-24 23:30:54 +0000;  author: kent;  state: Exp;  lines: +0 -3;

Changed lite_free_default_window_theme() to lite_free_window_theme() so
this function could be used for any window theme installed.
----------------------------
revision 1.16
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.15
date: 2005-06-19 21:53:33 +0000;  author: kent;  state: Exp;  lines: +9 -6;

The lite internal APIs are not provided with Doxygen documentation
tags, however place comments for the functions so code maintainers
know what they functions stand for.
----------------------------
revision 1.14
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.13
date: 2005-06-16 00:19:45 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Renamed various theme() APIs to default_window_theme() API names, as
they are only used for loading the default window theme. From now LiteWindows
and other widgets will have a default theme that is set by the library, or NULL
(no theme), or a theme that could be passed in from the outside when creating
or using the widget.
----------------------------
revision 1.12
date: 2005-05-19 00:49:34 +0000;  author: kent;  state: Exp;  lines: +0 -2;

More cleanup, remove the old cursor calls that were implemented
in window.c
----------------------------
revision 1.11
date: 2005-05-19 00:36:16 +0000;  author: kent;  state: Exp;  lines: +0 -1;

Removed old lite_free_cursor(), and renamed the tested lite_free_cursorx()
to lite_free_cursor().
----------------------------
revision 1.10
date: 2005-05-12 23:49:04 +0000;  author: kent;  state: Exp;  lines: +2 -0;

New function lite_get_current_key_modifier() to get the current
key modifiers. This function is implemented in event.c, more
globally related event code will be moved in future into this directory.
----------------------------
revision 1.9
date: 2005-03-18 02:43:21 +0000;  author: kent;  state: Exp;  lines: +1 -0;

lite_load_cursor_desc() is a new function that takes a DFBSurfaceDescription
for fast loads of cursor images.
----------------------------
revision 1.8
date: 2005-02-21 00:09:27 +0000;  author: kent;  state: Exp;  lines: +0 -21;


Removed LITE_INFO and LITE_DEBUG, using D_DEBUG_AT now.
----------------------------
revision 1.7
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +22 -0;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.6
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.5
date: 2004-11-13 01:02:41 +0000;  author: dok;  state: Exp;  lines: +2 -7;
Added lite_theme_loaded().
----------------------------
revision 1.4
date: 2003-01-15 14:57:51 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Load cursor even if themes are disabled.
----------------------------
revision 1.3
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +9 -0;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.2
date: 2002-12-02 18:19:58 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Reset font cache during (re)initialization.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/slider.c,v
Working file: lite/slider.c
head: 1.28
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.28
	VERSION_0_8_2: 1.28
	VERSION_0_8_1: 1.26
	VERSION_0_8_0: 1.26
	VERSION_0_7_2: 1.25
	VERSION_0_7_1: 1.25
	VERSION_0_7_0: 1.25
	VERSION_0_6_5: 1.25
	VERSION_0_6_3: 1.25
	VERSION_0_6_2: 1.25
	VERSION_0_6_1: 1.19
	VERSION_0_4_3: 1.13
	VERSION_0_4_2: 1.12
	VERSION_0_3_1: 1.12
	VERSION_0_3_0: 1.12
	VERSION_0_2_2: 1.9
	VERSION_0_1: 1.5
keyword substitution: kv
total revisions: 28;	selected revisions: 28
description:
----------------------------
revision 1.28
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +55 -25;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.27
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.26
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -5;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.25
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.24
date: 2005-10-29 03:44:34 +0000;  author: kent;  state: Exp;  lines: +4 -0;

D_DEBUG_AT messages from slider.c internal changes.
----------------------------
revision 1.23
date: 2005-10-22 01:54:25 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Assert for NULL before using the param to cast it to a slider object.
----------------------------
revision 1.22
date: 2005-10-22 01:52:46 +0000;  author: kent;  state: Exp;  lines: +2 -0;

All public slider APIs now test for valid LiteBox structs.
----------------------------
revision 1.21
date: 2005-10-21 22:11:21 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Fixed lite_on_slider_update warning by really returning a DFBResult.
----------------------------
revision 1.20
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.19
date: 2005-10-11 06:45:22 +0000;  author: kent;  state: Exp;  lines: +4 -0;

Guard public APIs in slider.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.18
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.17
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.16
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +7 -7;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.15
date: 2005-06-30 23:11:22 +0000;  author: kent;  state: Exp;  lines: +19 -19;

Now that we are always using ret_ names for handles, change the temp
variables to something more meaningful variable names.
----------------------------
revision 1.14
date: 2005-06-30 22:46:36 +0000;  author: kent;  state: Exp;  lines: +11 -11;

lite_new_slider() now takes a DFBRectangle and a LiteSliderTheme.
----------------------------
revision 1.13
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +69 -69;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.12
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +4 -2;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.11
date: 2005-03-31 04:27:48 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.10
date: 2005-03-29 10:00:42 +0000;  author: kent;  state: Exp;  lines: +35 -15;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.9
date: 2005-03-25 23:22:41 +0000;  author: kent;  state: Exp;  lines: +24 -20;

lite_new_slider() is now using the new API of returning a DFBResult and
passing in a LiteSlider handle.
----------------------------
revision 1.8
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +16 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.7
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.6
date: 2005-02-17 03:31:21 +0000;  author: kent;  state: Exp;  lines: +3 -3;

lite_set_slider_pos now returns DFBResult values.
----------------------------
revision 1.5
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.4
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +13 -13;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.3
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +15 -13;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.2
date: 2003-06-17 13:57:07 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Position indicator is darker now.
----------------------------
revision 1.1
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;
Added a simple slider with a nice example.
=============================================================================

RCS file: /cvs/directfb/lite/lite/slider.h,v
Working file: lite/slider.h
head: 1.13
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.13
	VERSION_0_8_2: 1.13
	VERSION_0_8_1: 1.12
	VERSION_0_8_0: 1.12
	VERSION_0_7_2: 1.12
	VERSION_0_7_1: 1.12
	VERSION_0_7_0: 1.12
	VERSION_0_6_5: 1.12
	VERSION_0_6_3: 1.12
	VERSION_0_6_2: 1.12
	VERSION_0_6_1: 1.11
	VERSION_0_4_3: 1.8
	VERSION_0_4_2: 1.5
	VERSION_0_3_1: 1.4
	VERSION_0_3_0: 1.4
	VERSION_0_2_2: 1.4
	VERSION_0_1: 1.2
keyword substitution: kv
total revisions: 13;	selected revisions: 13
description:
----------------------------
revision 1.13
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +14 -0;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.12
date: 2005-10-21 22:11:21 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Fixed lite_on_slider_update warning by really returning a DFBResult.
----------------------------
revision 1.11
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.10
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.9
date: 2005-06-30 22:46:36 +0000;  author: kent;  state: Exp;  lines: +21 -11;

lite_new_slider() now takes a DFBRectangle and a LiteSliderTheme.
----------------------------
revision 1.8
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +10 -11;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.7
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +6 -5;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.6
date: 2005-06-19 22:03:37 +0000;  author: kent;  state: Exp;  lines: +44 -5;

LiteSlider Doxygen documentation.
----------------------------
revision 1.5
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.4
date: 2005-03-25 23:22:41 +0000;  author: kent;  state: Exp;  lines: +6 -5;

lite_new_slider() is now using the new API of returning a DFBResult and
passing in a LiteSlider handle.
----------------------------
revision 1.3
date: 2005-02-17 03:31:21 +0000;  author: kent;  state: Exp;  lines: +2 -2;

lite_set_slider_pos now returns DFBResult values.
----------------------------
revision 1.2
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.1
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;
Added a simple slider with a nice example.
=============================================================================

RCS file: /cvs/directfb/lite/lite/textline.c,v
Working file: lite/textline.c
head: 1.37
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.37
	VERSION_0_8_2: 1.37
	VERSION_0_8_1: 1.35
	VERSION_0_8_0: 1.35
	VERSION_0_7_2: 1.34
	VERSION_0_7_1: 1.34
	VERSION_0_7_0: 1.34
	VERSION_0_6_5: 1.34
	VERSION_0_6_3: 1.34
	VERSION_0_6_2: 1.34
	VERSION_0_6_1: 1.27
	VERSION_0_4_3: 1.21
	VERSION_0_4_2: 1.20
	VERSION_0_3_1: 1.20
	VERSION_0_3_0: 1.20
	VERSION_0_2_2: 1.16
	VERSION_0_1: 1.11
	DIRECTFB_0_9_18: 1.8
keyword substitution: kv
total revisions: 37;	selected revisions: 37
description:
----------------------------
revision 1.37
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +4 -3;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.36
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.35
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -5;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.34
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.33
date: 2005-10-29 03:42:03 +0000;  author: kent;  state: Exp;  lines: +5 -0;

Use D_DEBUG_AT for textline internal changes.
----------------------------
revision 1.32
date: 2005-10-28 19:32:29 +0000;  author: dok;  state: Exp;  lines: +3 -3;
s/strdup/D_STRDUP/
----------------------------
revision 1.31
date: 2005-10-22 01:57:05 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Assert for NULL before using variable for casting.
----------------------------
revision 1.30
date: 2005-10-22 01:55:59 +0000;  author: kent;  state: Exp;  lines: +3 -0;

All public textline APIs now check for valid LiteBox* structs.
----------------------------
revision 1.29
date: 2005-10-21 22:14:34 +0000;  author: kent;  state: Exp;  lines: +6 -2;

lite_on_textline_enter() and lite_on_textline_abort() now return
DFBResult values.
----------------------------
revision 1.28
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +16 -14;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.27
date: 2005-10-11 06:47:13 +0000;  author: kent;  state: Exp;  lines: +7 -0;

Guard public APIs in textline.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.26
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.25
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.24
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.23
date: 2005-06-30 23:11:22 +0000;  author: kent;  state: Exp;  lines: +25 -25;

Now that we are always using ret_ names for handles, change the temp
variables to something more meaningful variable names.
----------------------------
revision 1.22
date: 2005-06-30 23:00:45 +0000;  author: kent;  state: Exp;  lines: +12 -12;

New API for lite_new_textline(), takes a DFBRectangle and a LiteTextLineTheme.
----------------------------
revision 1.21
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +97 -97;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.20
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +5 -3;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.19
date: 2005-03-31 04:27:48 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Box Destroy() now returns DFBResult values. Any internal callbacks were
adjusted to return DFBResults from the underlying DFB calls.
----------------------------
revision 1.18
date: 2005-03-30 07:48:28 +0000;  author: dok;  state: Exp;  lines: +2 -2;
Fixed debug build.
----------------------------
revision 1.17
date: 2005-03-29 10:05:45 +0000;  author: kent;  state: Exp;  lines: +38 -18;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.16
date: 2005-03-26 00:08:36 +0000;  author: kent;  state: Exp;  lines: +42 -35;

lite_new_textline() has a new API, takes LiteTextLine** and returns
DFBResult.
----------------------------
revision 1.15
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +17 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.14
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.13
date: 2005-02-17 02:36:08 +0000;  author: kent;  state: Exp;  lines: +4 -4;

lite_textline_set_text now returns DFBResult.
----------------------------
revision 1.12
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +23 -6;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.11
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.10
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +15 -15;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.9
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +1 -6;
Added a simple slider with a nice example.
----------------------------
revision 1.8
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;  lines: +66 -4;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
----------------------------
revision 1.7
date: 2003-04-16 14:24:35 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed all warnings.
----------------------------
revision 1.6
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +8 -14;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.5
date: 2002-12-05 17:56:51 +0000;  author: dok;  state: Exp;  lines: +189 -202;
Added a yet simple label implementation.
----------------------------
revision 1.4
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.3
date: 2002-10-29 13:41:08 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Font attributes can be specified for lite_get_font().
----------------------------
revision 1.2
date: 2002-10-23 22:19:50 +0000;  author: andi;  state: Exp;  lines: +1 -1;
- do not include malloc.h , use stdlib instead.
  (now compiles on darwin)
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/textline.h,v
Working file: lite/textline.h
head: 1.14
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.14
	VERSION_0_8_2: 1.14
	VERSION_0_8_1: 1.14
	VERSION_0_8_0: 1.14
	VERSION_0_7_2: 1.14
	VERSION_0_7_1: 1.14
	VERSION_0_7_0: 1.14
	VERSION_0_6_5: 1.14
	VERSION_0_6_3: 1.14
	VERSION_0_6_2: 1.14
	VERSION_0_6_1: 1.13
	VERSION_0_4_3: 1.9
	VERSION_0_4_2: 1.6
	VERSION_0_3_1: 1.5
	VERSION_0_3_0: 1.5
	VERSION_0_2_2: 1.5
	VERSION_0_1: 1.3
	DIRECTFB_0_9_18: 1.2
keyword substitution: kv
total revisions: 14;	selected revisions: 14
description:
----------------------------
revision 1.14
date: 2005-10-21 22:14:34 +0000;  author: kent;  state: Exp;  lines: +5 -6;

lite_on_textline_enter() and lite_on_textline_abort() now return
DFBResult values.
----------------------------
revision 1.13
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.12
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.11
date: 2005-06-30 23:00:45 +0000;  author: kent;  state: Exp;  lines: +7 -11;

New API for lite_new_textline(), takes a DFBRectangle and a LiteTextLineTheme.
----------------------------
revision 1.10
date: 2005-06-30 22:51:38 +0000;  author: kent;  state: Exp;  lines: +18 -0;

New LiteTextLineTheme including liteNoTextLineTheme and liteDefaultTextLineTheme constants.
----------------------------
revision 1.9
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +13 -14;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.8
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +6 -6;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.7
date: 2005-06-19 22:30:11 +0000;  author: kent;  state: Exp;  lines: +66 -7;

Doxygen documentation for the util functions.
----------------------------
revision 1.6
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.5
date: 2005-03-26 00:08:36 +0000;  author: kent;  state: Exp;  lines: +6 -5;

lite_new_textline() has a new API, takes LiteTextLine** and returns
DFBResult.
----------------------------
revision 1.4
date: 2005-02-17 02:36:08 +0000;  author: kent;  state: Exp;  lines: +2 -2;

lite_textline_set_text now returns DFBResult.
----------------------------
revision 1.3
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.2
date: 2003-05-26 20:12:26 +0000;  author: dok;  state: Exp;  lines: +5 -0;
Added "abort" feature to textline input via escape key.

Added "Run program..." example.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/theme.c,v
Working file: lite/theme.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.4
	VERSION_0_8_0: 1.4
	VERSION_0_7_2: 1.4
	VERSION_0_7_1: 1.4
	VERSION_0_7_0: 1.4
	VERSION_0_6_5: 1.4
	VERSION_0_6_3: 1.4
	VERSION_0_6_2: 1.4
	VERSION_0_6_1: 1.3
	VERSION_0_4_3: 1.2
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.4
date: 2005-10-29 03:46:11 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Comment out the LiteThemeDomain for the time being as it's not used.
----------------------------
revision 1.3
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.2
date: 2005-06-24 23:43:28 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Code formatting.
----------------------------
revision 1.1
date: 2005-06-24 23:39:31 +0000;  author: kent;  state: Exp;

New implementation file, theme.c, or theme-based functionality.
=============================================================================

RCS file: /cvs/directfb/lite/lite/theme.h,v
Working file: lite/theme.h
head: 1.17
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.17
	VERSION_0_8_2: 1.17
	VERSION_0_8_1: 1.17
	VERSION_0_8_0: 1.17
	VERSION_0_7_2: 1.17
	VERSION_0_7_1: 1.17
	VERSION_0_7_0: 1.17
	VERSION_0_6_5: 1.17
	VERSION_0_6_3: 1.17
	VERSION_0_6_2: 1.17
	VERSION_0_6_1: 1.17
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.7
	VERSION_0_3_1: 1.1
	VERSION_0_3_0: 1.1
	VERSION_0_2_2: 1.1
keyword substitution: kv
total revisions: 17;	selected revisions: 17
description:
----------------------------
revision 1.17
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +10 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.16
date: 2005-07-01 19:24:29 +0000;  author: kent;  state: Exp;  lines: +0 -1;

Rearranging header file dependencies.
----------------------------
revision 1.15
date: 2005-07-01 19:21:50 +0000;  author: kent;  state: Exp;  lines: +3 -0;

LITE_THEME macro to convert generic themes into LiteTheme.
----------------------------
revision 1.14
date: 2005-07-01 19:08:26 +0000;  author: kent;  state: Exp;  lines: +0 -73;

Moved the window theme structs and prototypes to window.h.
----------------------------
revision 1.13
date: 2005-06-30 21:05:26 +0000;  author: kent;  state: Exp;  lines: +1 -1;

First cut on a LiteButtonTheme.
----------------------------
revision 1.12
date: 2005-06-30 20:50:41 +0000;  author: kent;  state: Exp;  lines: +9 -9;

Change the LiteWindowTheme surface names to top, bottom, left, right,
topright, topleft, bottomright, bottomleft.
----------------------------
revision 1.11
date: 2005-06-30 20:21:59 +0000;  author: kent;  state: Exp;  lines: +4 -3;

LiteTheme now has bg_color (background color) and fb_color(foreground
color) slots for generic use.
----------------------------
revision 1.10
date: 2005-06-24 23:43:28 +0000;  author: kent;  state: Exp;  lines: +1 -2;

Code formatting.
----------------------------
revision 1.9
date: 2005-06-24 23:30:54 +0000;  author: kent;  state: Exp;  lines: +17 -2;

Changed lite_free_default_window_theme() to lite_free_window_theme() so
this function could be used for any window theme installed.
----------------------------
revision 1.8
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +5 -7;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.7
date: 2005-06-16 23:52:27 +0000;  author: kent;  state: Exp;  lines: +1 -1;

LiteWindow is now using the internal LiteWindowTheme struct for calculating
and placing the structs/images into the various locations.

Fixed a bug in the definition of liteNoWindowTheme.
----------------------------
revision 1.6
date: 2005-06-16 21:03:16 +0000;  author: kent;  state: Exp;  lines: +11 -1;

New global variable, liteDefaultWindowTheme, also added Doxygen documentation
about the various theme flags and structs.
----------------------------
revision 1.5
date: 2005-06-16 20:49:00 +0000;  author: kent;  state: Exp;  lines: +3 -0;

New constant, liteNoWindowTheme
----------------------------
revision 1.4
date: 2005-06-16 20:46:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed WindowTheme to LiteWindowTheme.
----------------------------
revision 1.3
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.2
date: 2005-06-15 23:35:28 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New base theme structs, LiteTheme, WindowTheme is inheriting from this,
same with future LiteButtonTheme and similar theme structs.
----------------------------
revision 1.1
date: 2005-03-24 23:22:41 +0000;  author: kent;  state: Exp;

Broke out the theme structure from windows.c for future exploration into
building a pluggable theme engine into LiTE.
=============================================================================

RCS file: /cvs/directfb/lite/lite/util.c,v
Working file: lite/util.c
head: 1.16
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.16
	VERSION_0_8_2: 1.16
	VERSION_0_8_1: 1.15
	VERSION_0_8_0: 1.15
	VERSION_0_7_2: 1.14
	VERSION_0_7_1: 1.14
	VERSION_0_7_0: 1.14
	VERSION_0_6_5: 1.14
	VERSION_0_6_3: 1.14
	VERSION_0_6_2: 1.14
	VERSION_0_6_1: 1.13
	VERSION_0_4_3: 1.10
	VERSION_0_4_2: 1.9
	VERSION_0_3_1: 1.9
	VERSION_0_3_0: 1.9
	VERSION_0_2_2: 1.8
	VERSION_0_1: 1.6
	DIRECTFB_0_9_18: 1.4
keyword substitution: kv
total revisions: 16;	selected revisions: 16
description:
----------------------------
revision 1.16
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.15
date: 2006-06-04 17:45:24 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;
Const correctness fix
----------------------------
revision 1.14
date: 2005-10-21 22:19:06 +0000;  author: kent;  state: Exp;  lines: +0 -3;

Fixed another compiler warning.
----------------------------
revision 1.13
date: 2005-10-11 06:50:41 +0000;  author: kent;  state: Exp;  lines: +10 -4;

Guard public APIs in util.c using LITE_NULL_PARAMETER_CHECK.
----------------------------
revision 1.12
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +6 -6;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.11
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.10
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +42 -42;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.9
date: 2005-03-29 10:08:06 +0000;  author: kent;  state: Exp;  lines: +22 -19;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.8
date: 2005-02-21 06:37:44 +0000;  author: kent;  state: Exp;  lines: +9 -9;

Removed the fprintf statements so they use D_DEBUG_AT now.
----------------------------
revision 1.7
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.6
date: 2005-01-26 06:35:59 +0000;  author: kent;  state: Exp;  lines: +24 -0;


lite_util_load_image_desc() that takes an DFBImageDescription and loads
image resources directly from memory (using directfb-csource the tool).
button.h has a corresponding lite_set_button_image_desc() that uses
this utility function for loading button images from memory.
----------------------------
revision 1.5
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.4
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +101 -108;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.3
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +12 -6;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.2
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +20 -7;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/util.h,v
Working file: lite/util.h
head: 1.16
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.16
	VERSION_0_8_2: 1.16
	VERSION_0_8_1: 1.15
	VERSION_0_8_0: 1.15
	VERSION_0_7_2: 1.13
	VERSION_0_7_1: 1.13
	VERSION_0_7_0: 1.13
	VERSION_0_6_5: 1.13
	VERSION_0_6_3: 1.13
	VERSION_0_6_2: 1.13
	VERSION_0_6_1: 1.12
	VERSION_0_4_3: 1.8
	VERSION_0_4_2: 1.6
	VERSION_0_3_1: 1.5
	VERSION_0_3_0: 1.5
	VERSION_0_2_2: 1.5
	VERSION_0_1: 1.5
	DIRECTFB_0_9_18: 1.3
keyword substitution: kv
total revisions: 16;	selected revisions: 16
description:
----------------------------
revision 1.16
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +22 -3;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.15
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +1 -0;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.14
date: 2006-06-04 17:45:24 +0000;  author: bcombee;  state: Exp;  lines: +1 -1;
Const correctness fix
----------------------------
revision 1.13
date: 2005-10-28 19:36:45 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Better util documentation.
----------------------------
revision 1.12
date: 2005-10-11 07:18:52 +0000;  author: kent;  state: Exp;  lines: +16 -0;

Two other utility macros to test the validity of passed in parameters.
LITE_WINDOW_PARAMETER_CHECK to test if the passed in pointer is of type LITE_TYPE_WINDOW.
LITE_BOX_PARAMETER_CHECK to test if the passed in pointer is of type LITE_TYPE_BOX.
----------------------------
revision 1.11
date: 2005-10-11 06:17:32 +0000;  author: kent;  state: Exp;  lines: +7 -0;

LITE_NULL_PARAMETER_CHECK macro, returns DFB_INVARG on passed in NULL pointers, to be
used as preconditional in public APIs to catch passed in NULL pointers.
----------------------------
revision 1.10
date: 2005-09-30 23:41:49 +0000;  author: kent;  state: Exp;  lines: +4 -0;

Documentation notes in lite_util_load_image and lite_util_load_image_desc() that
they create DFBSurfaces each time they are called -- could be a case where
memory leaks could be introduced.
----------------------------
revision 1.9
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +9 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.8
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +19 -19;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.7
date: 2005-06-19 22:30:11 +0000;  author: kent;  state: Exp;  lines: +61 -3;

Doxygen documentation for the util functions.
----------------------------
revision 1.6
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.5
date: 2005-01-26 06:35:59 +0000;  author: kent;  state: Exp;  lines: +2 -0;


lite_util_load_image_desc() that takes an DFBImageDescription and loads
image resources directly from memory (using directfb-csource the tool).
button.h has a corresponding lite_set_button_image_desc() that uses
this utility function for loading button images from memory.
----------------------------
revision 1.4
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.3
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +6 -5;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.2
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +5 -4;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/window.c,v
Working file: lite/window.c
head: 1.182
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.181
	VERSION_0_8_2: 1.179
	VERSION_0_8_1: 1.176
	VERSION_0_8_0: 1.175
	VERSION_0_7_2: 1.165
	VERSION_0_7_1: 1.163
	VERSION_0_7_0: 1.161
	VERSION_0_6_5: 1.158
	VERSION_0_6_3: 1.149
	VERSION_0_6_2: 1.146
	VERSION_0_6_1: 1.138
	VERSION_0_4_3: 1.94
	VERSION_0_4_2: 1.88
	VERSION_0_3_1: 1.66
	VERSION_0_3_0: 1.61
	VERSION_0_2_2: 1.51
	VERSION_0_1: 1.35
	DIRECTFB_0_9_18: 1.17
keyword substitution: kv
total revisions: 182;	selected revisions: 182
description:
----------------------------
revision 1.182
date: 2007-01-24 20:49:18 +0000;  author: syrjala;  state: Exp;  lines: +1 -0;  commitid: 9gw0YD3VackHMN3s;
direct_util_recursive_pthread_mutex_init() needs direct/util.h.
----------------------------
revision 1.181
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +226 -57;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.180
date: 2006-10-16 13:28:45 +0000;  author: dok;  state: Exp;  lines: +24 -24;  commitid: 3G8AWgRTgjXPyUQr;
Fix types.
----------------------------
revision 1.179
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +10 -3;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.178
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.177
date: 2006-09-26 00:02:17 +0000;  author: bcombee;  state: Exp;  lines: +88 -71;  commitid: D2ZI7cJG0VHVJgOr;
Fix bug with disabled windows not repainting when resized
----------------------------
revision 1.176
date: 2006-09-20 21:15:38 +0000;  author: bcombee;  state: Exp;  lines: +96 -98;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.175
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +214 -118;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.174
date: 2006-08-04 09:24:14 +0000;  author: klan;  state: Exp;  lines: +6 -1;  commitid: Msgz0HaduDPiyvHr;
Detach event buffer from window on destroy.
----------------------------
revision 1.173
date: 2006-07-18 04:22:02 +0000;  author: dok;  state: Exp;  lines: +9 -5;  commitid: WBxdlfys9HYyniFr;
Fixed resize mechanism to not depend on the order of motion and resize events.

Now it copes with events queued in chronological order :)
----------------------------
revision 1.172
date: 2006-06-20 21:51:59 +0000;  author: dok;  state: Exp;  lines: +16 -13;
Fix endless loop in update processing with nested queueing.
----------------------------
revision 1.171
date: 2006-06-20 21:30:31 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Fixed debug build.
----------------------------
revision 1.170
date: 2006-06-20 20:38:54 +0000;  author: dok;  state: Exp;  lines: +36 -17;
Allow queuing an update while processing one.
----------------------------
revision 1.169
date: 2006-06-20 20:12:58 +0000;  author: dok;  state: Exp;  lines: +18 -0;
Added lite_update_all_windows() for rendering the border & title and queuing
an update for each window.
----------------------------
revision 1.168
date: 2006-06-19 02:18:19 +0000;  author: bcombee;  state: Exp;  lines: +5 -0;
Add catches_all_events field to LiteBox; allows a parent box to handle events for its children
----------------------------
revision 1.167
date: 2006-06-13 12:13:49 +0000;  author: dok;  state: Exp;  lines: +119 -122;
Don't clear the window surface. Applications update the whole window
anyways before it is visible. If not, it's a bug in the application.
No way wasting this full clear just for it.
----------------------------
revision 1.166
date: 2006-06-04 17:44:35 +0000;  author: bcombee;  state: Exp;  lines: +1 -0;
Fix for pointer use after free when removing timeouts from queue
----------------------------
revision 1.165
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +250 -128;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.164
date: 2006-02-05 18:04:39 +0000;  author: dok;  state: Exp;  lines: +67 -26;
Keep up to four non-overlapping regions before merging updates into a big one.

This greatly improves speed on pixel rate limited systems, e.g. embedded.


Added debug domain for queuing/dequeuing/processing updates: Lite/Updates.


Added configure option "--enable-debug" which enables building with
all debug messages, assertions etc. compiled in
----------------------------
revision 1.163
date: 2006-02-03 03:17:53 +0000;  author: kent;  state: Exp;  lines: +3 -0;

Fix for drag_box state from Damian Kowalewski.
----------------------------
revision 1.162
date: 2006-02-03 03:15:00 +0000;  author: kent;  state: Exp;  lines: +27 -2;

New API, lite_on_raw_window_mouse_moved(), this will install a callback
that is triggered with mouse moved events before these events are processed
by LiTE.
----------------------------
revision 1.161
date: 2006-01-23 06:33:02 +0000;  author: kent;  state: Exp;  lines: +28 -6;

To be complete, the raw wheel events could be intercepted now by
installing a callback using the lilte_on_raw_window_wheel() API.
----------------------------
revision 1.160
date: 2006-01-23 06:21:14 +0000;  author: kent;  state: Exp;  lines: +11 -1;

Fix from Ben Combee, make sure to flush updates in the event queue in case
items have been updated by the timeout callbacks.
----------------------------
revision 1.159
date: 2006-01-04 07:34:03 +0000;  author: kent;  state: Exp;  lines: +5 -1;

From Andy Stewart: new feature, return from the event loop in case window
passed into lite_window_event_loop() is destroyed.
----------------------------
revision 1.158
date: 2005-12-21 01:04:23 +0000;  author: kent;  state: Exp;  lines: +219 -37;

New functionality from Ben Combee:

New feature to add LiteTimoutFunc callbacks into the timeout queue, enqueue
and remove them with lite_enqueu_window_timeout() and lite_remove_window_timeout().
These callbacks could be used for periodically checking for events, indicate
if they are double-clicks, or other similar specific cases where we need additional
time to find out what the event really is.
----------------------------
revision 1.157
date: 2005-12-21 00:35:01 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Add cursor hotspot x and y entries to LiteCursor the struct. Use these
when setting the cursor shape. This so we could define cursor hotspot other
than default 0,0.
----------------------------
revision 1.156
date: 2005-12-20 03:14:24 +0000;  author: kent;  state: Exp;  lines: +70 -50;

Patch from Damian Kowalewski. Handle modal state outside the focused
modal box. In other words, when there are mouse clicks outside the
modal box, then accept these as clicks even if they don't belong
directly to the LiteWindow itself. This makes it possible to close
modal windows outside the LiteWindow itself.
----------------------------
revision 1.155
date: 2005-12-20 03:06:06 +0000;  author: kent;  state: Exp;  lines: +10 -1;

Fix from Ben Combee, if a null region is passed as an update region, then
update the whole window itself. This is similar to passing NULL with LiteBox
regions.
----------------------------
revision 1.154
date: 2005-12-19 21:39:59 +0000;  author: dok;  state: Exp;  lines: +31 -12;
Defer opacity change of a window (making it visible) until it has been updated once.
Removed clear of the window content during creation, instead just enqueue an update.
----------------------------
revision 1.153
date: 2005-11-19 07:10:41 +0000;  author: kent;  state: Exp;  lines: +20 -20;

Rename the other LiteWindow callback func typedefs so they also start with
prefix Lite.
----------------------------
revision 1.152
date: 2005-11-19 06:59:35 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Start of renaming the callback functions so they start with Lite, this in
order to avoid linking clashes when linking against other libraries.
First the WindowEventFunc is renamed to LiteWindowEventFunc.
----------------------------
revision 1.151
date: 2005-11-19 06:54:58 +0000;  author: kent;  state: Exp;  lines: +65 -62;

New LiteWindow flag, LITE_WINDOW_FIXED, when set the window can't be moved
or collapsed, neither pushed to background, with the mouse left and right
clicks. This is useful if the LiteWindow has chrome and is a fixed window that
should not be moved or resized.
----------------------------
revision 1.150
date: 2005-11-19 06:45:17 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Make the window box active by default so various callbacks and so on will
trigger in an empty window.
----------------------------
revision 1.149
date: 2005-11-08 05:42:14 +0000;  author: kent;  state: Exp;  lines: +3 -4;

Removed warning of unused variable.
----------------------------
revision 1.148
date: 2005-11-07 07:55:44 +0000;  author: kent;  state: Exp;  lines: +4 -5;

Patch from Ben Combee, honor the LiteBox is_visible flag, if set to 0 (not visible),
then do not show any of the LiteBox children, i.e. stop at the first LiteBox hierarchy
that has the is_visible flag set. This makes it possible to disable visually groups
of LiteBoxes.
----------------------------
revision 1.147
date: 2005-10-31 11:42:43 +0000;  author: klan;  state: Exp;  lines: +6 -2;
Reset window->title to NULL after freeing it.
----------------------------
revision 1.146
date: 2005-10-29 03:56:31 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Let D_DEBUG_AT tell each time a specific LiTE object is created.
----------------------------
revision 1.145
date: 2005-10-29 02:51:55 +0000;  author: kent;  state: Exp;  lines: +44 -23;

From Damian (with minor tweaks by Kent): Delayed window destruction, do not
destroy the window immediately, instead set a flag that tells the window should be
destroyed at the end of an event pump cycle...
----------------------------
revision 1.144
date: 2005-10-29 02:33:58 +0000;  author: kent;  state: Exp;  lines: +15 -0;

From Damian, internal function destroy_window() for removing the window and its resources.
----------------------------
revision 1.143
date: 2005-10-28 19:32:29 +0000;  author: dok;  state: Exp;  lines: +2 -2;
s/strdup/D_STRDUP/
----------------------------
revision 1.142
date: 2005-10-28 18:04:08 +0000;  author: kent;  state: Exp;  lines: +15 -0;

From Damian, new flag in box.h, is_active, when disabled no callbacks are
triggered for the specified box instance. By default all boxes are still active.
----------------------------
revision 1.141
date: 2005-10-21 22:28:04 +0000;  author: kent;  state: Exp;  lines: +31 -9;

More parameter checkin inside windows.
----------------------------
revision 1.140
date: 2005-10-21 22:02:50 +0000;  author: kent;  state: Exp;  lines: +20 -5;

More window APIs check for NULL pointers and valid/invalid window
structs passed in.
----------------------------
revision 1.139
date: 2005-10-21 21:51:36 +0000;  author: kent;  state: Exp;  lines: +8 -7;

Use D_MALLOC, D_CALLOC, D_REALLOC_ and D_FREE instead of malloc,
calloc, realloc and free in memory operations, this for catching possible
memory leaks in debug builds.
----------------------------
revision 1.138
date: 2005-10-11 20:22:57 +0000;  author: kent;  state: Exp;  lines: +9 -0;

More window testing for public APIs to make sure garbage is not passed
in.
----------------------------
revision 1.137
date: 2005-10-11 20:19:59 +0000;  author: kent;  state: Exp;  lines: +11 -0;

Use of LITE_WINDOW_PARAMETER_CHECK() to make sure the passed window
is a LiteWindow and not garbage.
----------------------------
revision 1.136
date: 2005-10-11 20:12:48 +0000;  author: kent;  state: Exp;  lines: +7 -15;

Removed the non-window event loop handling, better do it another way.
----------------------------
revision 1.135
date: 2005-10-11 18:27:10 +0000;  author: kent;  state: Exp;  lines: +16 -7;

In preparation for a window-less event loop, test if lite_window_event_loop
has the passed in window as NULL, if so set a flag to tell that this
event loop will run as windowless.
----------------------------
revision 1.134
date: 2005-10-11 18:12:21 +0000;  author: kent;  state: Exp;  lines: +4 -2;

More NULL parameter checks in the public APIs.
----------------------------
revision 1.133
date: 2005-10-11 18:09:19 +0000;  author: kent;  state: Exp;  lines: +17 -13;

More NULL parameter checks in the public APIs.
----------------------------
revision 1.132
date: 2005-10-11 18:06:45 +0000;  author: kent;  state: Exp;  lines: +4 -0;

NULL parameter check for the LiteWindow creator APIs.
----------------------------
revision 1.131
date: 2005-10-11 18:03:25 +0000;  author: kent;  state: Exp;  lines: +0 -14;

Move the lite_exit_loop_idle() functionality from window.c into event.c.
----------------------------
revision 1.130
date: 2005-10-11 17:57:10 +0000;  author: kent;  state: Exp;  lines: +7 -1;

Isolate the exit_idle_loop_global access via a private function:
prvlite_get_exit_idle_loop_flag().
----------------------------
revision 1.129
date: 2005-10-10 21:23:30 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Changed name of lite_on_univeral_event() to lite_on_window_univeral_event() to reflect
that this callback is installed per window instance, and that there might be in future
a global universal event handler outside the window itself.
----------------------------
revision 1.128
date: 2005-10-10 21:21:03 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed lite_on_user_event() to lite_on_window_user_event() to reflect that the user event
callback is tied to a specific window instance, not globally, as there might soon be another
way to register for user events outside any window.
----------------------------
revision 1.127
date: 2005-10-10 21:14:51 +0000;  author: kent;  state: Exp;  lines: +7 -1;

Temp solution to reroute lite_get_event_buffer to return the global event buffer
in case NEW_EVENT_BUFFER is set, otherwise it uses the old scheme. This to test out
the new global event buffer without fully committing (and causing immediate problems) while
testing it out.
----------------------------
revision 1.126
date: 2005-10-10 21:08:26 +0000;  author: kent;  state: Exp;  lines: +8 -1;

Alternate path in lite_post_event_to_window() for getting the global event buffer
that will soon be enabled.
----------------------------
revision 1.125
date: 2005-10-10 20:51:43 +0000;  author: kent;  state: Exp;  lines: +0 -13;

Move prvlite_set_event_loop_alive() and prvlite_set_event_loop_alive() from window.c
into event.c.
----------------------------
revision 1.124
date: 2005-10-10 20:48:16 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Use prvlite_get_event_loop_alive() in all instances instead of using the global.
----------------------------
revision 1.123
date: 2005-10-10 20:45:31 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New internal function, prvlite_get_event_loop_alive() to isolate, and soon,
move the event loop state info out from window.c.
----------------------------
revision 1.122
date: 2005-10-10 20:42:55 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Use prvlite_set_event_loop_alive() API in all cases.
----------------------------
revision 1.121
date: 2005-10-07 01:20:19 +0000;  author: kent;  state: Exp;  lines: +12 -0;

New API, lite_get_window_size(), this as the LiteWindow internal window
size struct values are not reliable if someone changes the underlying IDirectFBWindow
directly. Now, one could always use the IDirectFBWindow::GetSize() directly, as this API
does, but just to adversize not to look at the LiteWindow size values (that should be
eventually phased out...).
----------------------------
revision 1.120
date: 2005-10-04 01:50:09 +0000;  author: kent;  state: Exp;  lines: +5 -2;

Global event loop tested, run in parallel but not yet activated, to activate,
set NEW_EVENT_BUFFER in window.c
----------------------------
revision 1.119
date: 2005-10-04 01:25:52 +0000;  author: kent;  state: Exp;  lines: +3 -0;

Better name for creating the internal event buffer, prvlite_create_event_buffer().
----------------------------
revision 1.118
date: 2005-10-04 01:10:10 +0000;  author: kent;  state: Exp;  lines: +4 -18;

No need to null out the window pointer struct members, calloc() sets 0 to
each and every entry...
----------------------------
revision 1.117
date: 2005-10-01 00:47:44 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Better names for the D_DEBUG_DOMAIN tokens, and also use D_DEBUG_AT instead
of D_DEBUG that were used in some cases.
----------------------------
revision 1.116
date: 2005-09-27 04:54:49 +0000;  author: kent;  state: Exp;  lines: +8 -8;

Patch from Ed Wei to fix a case where exit_idle_loop() didn't work properly
if there was a timeout value of 0 in the lite_window_event_loop().
----------------------------
revision 1.115
date: 2005-09-27 04:51:54 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Patch from Damian Kowalewski, change the order of finding children in order
to fix various issues with window handling.
----------------------------
revision 1.114
date: 2005-09-09 01:42:41 +0000;  author: kent;  state: Exp;  lines: +18 -0;

Set all the callback and callback data slots in LiteWindow to NULL when
initializing LiteWindow, this to avoid any funny surprises later as we
test against NULL slots.
----------------------------
revision 1.113
date: 2005-09-09 01:37:09 +0000;  author: kent;  state: Exp;  lines: +17 -0;

New callback installer API, lite_on_universal_events() to install a callback
for receiving DFBUniversalEvents.
----------------------------
revision 1.112
date: 2005-09-08 00:25:28 +0000;  author: kent;  state: Exp;  lines: +22 -4;

New API, lite_window_set_creator() and lite_window_get_creator() that will
set and get from the LiteWindow structure a reference to a window that
originally created a specific window. This is used in modal window cases
so that some windows created from a modal window could receive all
events.
----------------------------
revision 1.111
date: 2005-09-08 00:16:31 +0000;  author: kent;  state: Exp;  lines: +4 -1;

When calling lite_resize_window(), also update the LiteWindow height
and width structure values.
----------------------------
revision 1.110
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.109
date: 2005-08-27 02:01:59 +0000;  author: kent;  state: Exp;  lines: +40 -16;

New global callback that can be installed via lite_on_window_event(),
this callback is triggered *before* the window handling is done in the
event loop, and it could be used for filtering or processing window
events before they go into the loop. If the WindowEventFunc callback
returns a value not DFB_OK, then the event is not forwarded to the
toolbox window event handling routines.
----------------------------
revision 1.108
date: 2005-08-23 01:48:11 +0000;  author: kent;  state: Exp;  lines: +2 -0;

Always set the window event_loop_alive_global to true when entering the event loop.
----------------------------
revision 1.107
date: 2005-08-19 02:03:35 +0000;  author: kent;  state: Exp;  lines: +14 -0;

New internal flag that tells if the event loop should be kept alive or
not, by default it's enabled, but could be disabled via a private
API (prvlite_set_event_loop_alive()). This way the event loop could quit
from inside two of the loops.
----------------------------
revision 1.106
date: 2005-08-19 01:51:09 +0000;  author: kent;  state: Exp;  lines: +16 -0;

New function, lite_set_exit_idle_loop(), if this sets
the idle loop exit to true, the event loop will exit
if there are no pending events in the event queue.
----------------------------
revision 1.105
date: 2005-08-16 03:03:20 +0000;  author: kent;  state: Exp;  lines: +9 -9;

Guard all stack-defined pointer variables with NULL to avoid possible
uses of a pointer with for example testing if it's valid or not (for
example interfaces could be triggered).
----------------------------
revision 1.104
date: 2005-08-09 06:21:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed the timeout values for lite_window_event_loop so that seconds
and milliseconds are passed to WaitForEventWithTimeout.
----------------------------
revision 1.103
date: 2005-07-06 02:22:08 +0000;  author: kent;  state: Exp;  lines: +1 -1;

More robust code in drawing the title, a valid font interface should
also be present.
----------------------------
revision 1.102
date: 2005-07-01 19:39:50 +0000;  author: kent;  state: Exp;  lines: +139 -136;

Move private function implementations below the public ones.
----------------------------
revision 1.101
date: 2005-07-01 19:35:00 +0000;  author: kent;  state: Exp;  lines: +14 -4;

Take into account the theme colors when creating the LiteWindow and
settings its initial background colors.
----------------------------
revision 1.100
date: 2005-07-01 19:28:21 +0000;  author: kent;  state: Exp;  lines: +8 -0;

When building the default window theme, pick up the default background
colors and set them inside the LiteTheme struct.
----------------------------
revision 1.99
date: 2005-07-01 19:24:29 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Rearranging header file dependencies.
----------------------------
revision 1.98
date: 2005-06-30 20:50:41 +0000;  author: kent;  state: Exp;  lines: +91 -91;

Change the LiteWindowTheme surface names to top, bottom, left, right,
topright, topleft, bottomright, bottomleft.
----------------------------
revision 1.97
date: 2005-06-30 19:46:56 +0000;  author: kent;  state: Exp;  lines: +52 -51;

globals have now a _global postfix. Forces one to use less globals
as there's more typing involved...
----------------------------
revision 1.96
date: 2005-06-25 01:09:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed lite_load_default_window_theme() to prvlite_load_default_window_theme(),
now all non-static internal functions have the prvlite prefix.
----------------------------
revision 1.95
date: 2005-06-25 01:05:50 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Changed SetCurrentKeyModifier to prvlite_set_current_key_modifier.
Now all private non-static functions have a prvlite prefix, maybe
_lite is still pushing the nerves of ANSI C purists...
----------------------------
revision 1.94
date: 2005-06-24 23:59:28 +0000;  author: kent;  state: Exp;  lines: +18 -13;

Make render_title() more flexible, if there is no window title and no
font defined in the LiteWindowTheme, do still render the top frame.
This way we could have window themes with no title top bars (such as
dialog boxes with no titles).
----------------------------
revision 1.93
date: 2005-06-24 23:50:13 +0000;  author: kent;  state: Exp;  lines: +1 -1;

New configure constant, DEFAULT_WINDOW_MINIMIZE_SIZE.
----------------------------
revision 1.92
date: 2005-06-24 23:30:54 +0000;  author: kent;  state: Exp;  lines: +6 -6;

Changed lite_free_default_window_theme() to lite_free_window_theme() so
this function could be used for any window theme installed.
----------------------------
revision 1.91
date: 2005-06-24 23:06:35 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed function name from lite_window_setmodal to lite_window_set_modal.
----------------------------
revision 1.90
date: 2005-06-24 23:04:45 +0000;  author: kent;  state: Exp;  lines: +14 -14;

lite_init_window() API changed so it also takes a DFBRectangle and
a LiteWindowTheme.
----------------------------
revision 1.89
date: 2005-06-20 05:09:41 +0000;  author: kent;  state: Exp;  lines: +314 -318;

More style updates to use the 'tight' function calling style.
----------------------------
revision 1.88
date: 2005-06-17 22:37:41 +0000;  author: kent;  state: Exp;  lines: +21 -1;

To be symmetrical, lite_on_raw_keyboard() provides a hook to intercept
keyboard messages before the modal test or the processing inside
various LiteBoxes has happened.
----------------------------
revision 1.87
date: 2005-06-17 22:30:41 +0000;  author: kent;  state: Exp;  lines: +25 -0;

New user callback that can be installed, lite_on_raw_mouse(), this
callback triggers before any processing is done on the mouse event
in the window's event handling. This makes it possible to for example
pick up mouse events in another window and close the window based
on mouse clicks in the parent window.
----------------------------
revision 1.86
date: 2005-06-17 22:03:14 +0000;  author: kent;  state: Exp;  lines: +44 -35;

Code commenting and reformatting, this is a big file so it needs
comments in order for the reader not to get lost.
----------------------------
revision 1.85
date: 2005-06-17 21:40:39 +0000;  author: kent;  state: Exp;  lines: +1 -2;

Remove the global LiteWindowTheme, only need the LiteWindow based
one now.
----------------------------
revision 1.84
date: 2005-06-16 23:52:27 +0000;  author: kent;  state: Exp;  lines: +48 -48;

LiteWindow is now using the internal LiteWindowTheme struct for calculating
and placing the structs/images into the various locations.

Fixed a bug in the definition of liteNoWindowTheme.
----------------------------
revision 1.83
date: 2005-06-16 22:52:20 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Point at liteDefaultWindowTheme when freeing any theme memory, or when
checking if a default window theme has been installed.
----------------------------
revision 1.82
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +9 -10;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.81
date: 2005-06-16 21:07:48 +0000;  author: kent;  state: Exp;  lines: +4 -0;

Load the default window theme into the global liteDefaultWindowTheme
pointer.
----------------------------
revision 1.80
date: 2005-06-16 20:46:50 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Renamed WindowTheme to LiteWindowTheme.
----------------------------
revision 1.79
date: 2005-06-16 00:19:45 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Renamed various theme() APIs to default_window_theme() API names, as
they are only used for loading the default window theme. From now LiteWindows
and other widgets will have a default theme that is set by the library, or NULL
(no theme), or a theme that could be passed in from the outside when creating
or using the widget.
----------------------------
revision 1.78
date: 2005-06-15 23:48:18 +0000;  author: kent;  state: Exp;  lines: +25 -16;

lite_init_window() is getting big, broke out the event buffer creation
code into a separate function.
----------------------------
revision 1.77
date: 2005-06-11 01:31:07 +0000;  author: kent;  state: Exp;  lines: +30 -11;

In case the LiteBox is_visible flag is disabled, then do not forward
any events to such cases (code from Damian Kowalewski)
----------------------------
revision 1.76
date: 2005-06-11 01:29:06 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New LiteBox flag, is_visible, controlling if the LiteBox should be
drawn or not (code from Damian Kowalewski).
----------------------------
revision 1.75
date: 2005-06-11 01:26:02 +0000;  author: kent;  state: Exp;  lines: +9 -0;

New API, lite_get_event_buffer() to return the DirectFB event buffer
for possible direct access for posting and peeking.
----------------------------
revision 1.74
date: 2005-05-19 00:49:34 +0000;  author: kent;  state: Exp;  lines: +0 -35;

More cleanup, remove the old cursor calls that were implemented
in window.c
----------------------------
revision 1.73
date: 2005-05-19 00:36:16 +0000;  author: kent;  state: Exp;  lines: +0 -9;

Removed old lite_free_cursor(), and renamed the tested lite_free_cursorx()
to lite_free_cursor().
----------------------------
revision 1.72
date: 2005-05-19 00:19:54 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Switch over to the new cursor handling when starting LiTE, i.e. use
the global cursor in cursor.c
----------------------------
revision 1.71
date: 2005-05-18 21:57:41 +0000;  author: kent;  state: Exp;  lines: +8 -2;

Better modal window handling (code from Damian).
----------------------------
revision 1.70
date: 2005-05-18 02:01:13 +0000;  author: kent;  state: Exp;  lines: +9 -8;

Renaming of cursor functions in preparation for the migration to
the new cursor functions.
----------------------------
revision 1.69
date: 2005-05-18 00:14:05 +0000;  author: kent;  state: Exp;  lines: +29 -0;

Code from Damian Kowalewski to enable modal state in LiteWindows, when
the modal flag is set in the LiteWindow, it is the only one receiving
its events.
----------------------------
revision 1.68
date: 2005-05-17 00:32:27 +0000;  author: kent;  state: Exp;  lines: +13 -2;

First steps of migrating the cursor handling out from window.c.
lite_get_current_cursor() returns the pointer to the current cursor.
----------------------------
revision 1.67
date: 2005-05-16 23:48:41 +0000;  author: kent;  state: Exp;  lines: +16 -6;

Patch from Damian and Kent
New LiteWindowFlag variable in LiteWindow, controls if the window
could be resized and minimized, and soon if it had modal behavior.
By default windows could be resized and minimized.
----------------------------
revision 1.66
date: 2005-05-12 23:49:04 +0000;  author: kent;  state: Exp;  lines: +4 -0;

New function lite_get_current_key_modifier() to get the current
key modifiers. This function is implemented in event.c, more
globally related event code will be moved in future into this directory.
----------------------------
revision 1.65
date: 2005-05-12 22:32:51 +0000;  author: kent;  state: Exp;  lines: +49 -30;

LiteWindow now has a separate init call, this makes it possible to
subclass LiteWindows with a separate memory allocation part (compare this
with LiteBox and lite_box_init()).
----------------------------
revision 1.64
date: 2005-05-12 22:25:42 +0000;  author: kent;  state: Exp;  lines: +6 -0;

LiteBox now has an internal field, handle_keys, if it's disabled no
keyinput is handled inside the box, this is for optimization in case
no keyinput should be done in a field, or to disable keyhandling in
specific fields.
----------------------------
revision 1.63
date: 2005-05-12 22:08:59 +0000;  author: kent;  state: Exp;  lines: +125 -111;

New multi-window event loop, this makes it possible to create multiple
windows, where each window is using the first window's single EventBuffer.
This change has some additional functions such as going through each
active window's list of possible graphics updates.
----------------------------
revision 1.62
date: 2005-04-06 20:54:26 +0000;  author: dok;  state: Exp;  lines: +72 -72;
Follow API change.

Require 0.9.23 now.
----------------------------
revision 1.61
date: 2005-03-31 23:26:30 +0000;  author: kent;  state: Exp;  lines: +0 -15;

Removed lite_on_window_idle() callback installer, there's no guarantee
to get periodic idle events unless the underlying system provides them;
it's better to write a wrapper around lite_window_event_loop with a
timeout and let the event_loop come out, do processing, and go back into
the event loop.
----------------------------
revision 1.60
date: 2005-03-31 23:23:07 +0000;  author: kent;  state: Exp;  lines: +5 -5;

lite_on* APIs now return DFBResult values.
----------------------------
revision 1.59
date: 2005-03-31 23:13:20 +0000;  author: kent;  state: Exp;  lines: +18 -4;

lite_on_window_wheel() in which global callbacks could be installed to catch
any possible wheel movements independently of the focused box.
----------------------------
revision 1.58
date: 2005-03-31 22:54:30 +0000;  author: kent;  state: Exp;  lines: +18 -0;

LiteBox has now a new handler, OnWheel() that could be used in widgets
for wheel window events, DWET_WHEEL.  There's a a corresponding on_wheel()
handler in windows.c that delegates the call to an existing or not existing
OnWheel function in the LiteBox implementation. This implementation is very
similar to OnKeyDown().
----------------------------
revision 1.57
date: 2005-03-31 04:57:14 +0000;  author: kent;  state: Exp;  lines: +12 -0;

lite_release_window_resources(), just now it will UngrabPointer any
concurrent window that has the pointer grabbed. This is needed for special
cases such as when creating additional windows with a mouse-down event.
----------------------------
revision 1.56
date: 2005-03-31 04:51:21 +0000;  author: kent;  state: Exp;  lines: +11 -1;

Keep track of the pointer-grabbed IDirectFBWindow in an internal static variable.
This is needed in cases where we need to absolutely release a currently grabbed
window, such as when there's a mouse-down event that creates another window
(ungrabbing only happens with mouse-up events).
----------------------------
revision 1.55
date: 2005-03-31 04:42:47 +0000;  author: kent;  state: Exp;  lines: +4 -2;

LiteBox Draw() now returns DFBResult. Updated all the internal draw_ methods
so they return DFBResult values.
----------------------------
revision 1.54
date: 2005-03-30 06:47:15 +0000;  author: kent;  state: Exp;  lines: +1 -6;

LiteCursor is now in the cursor.h header file in preparation for
finer granularity theme handling in future.
----------------------------
revision 1.53
date: 2005-03-30 06:34:45 +0000;  author: kent;  state: Exp;  lines: +17 -12;

Important change: Switching from a per-window event buffer to a global
event buffer, this for easier handling of events concerning modal LiteWindows
so that only one window is serviced the event. The other model required
multiple threads running, in this model there's just one GUI thread that
handles the events from a single source.
----------------------------
revision 1.52
date: 2005-03-29 10:20:48 +0000;  author: kent;  state: Exp;  lines: +126 -74;

Cosmetical - make the APIs look like the DFB ones.
----------------------------
revision 1.51
date: 2005-03-25 01:27:48 +0000;  author: kent;  state: Exp;  lines: +9 -5;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.50
date: 2005-03-24 23:59:30 +0000;  author: kent;  state: Exp;  lines: +52 -1;

Use D_ASSERT statements in the internal functions to catch NULL pointers
and other odd cases.
----------------------------
revision 1.49
date: 2005-03-24 22:52:35 +0000;  author: kent;  state: Exp;  lines: +6 -52;

Fixed a case where a missing Ungrabpointer caused that the original window
still had its window grabbed when the new window was introduced.
----------------------------
revision 1.48
date: 2005-03-18 02:50:50 +0000;  author: kent;  state: Exp;  lines: +4 -2;

Broke out the static struct so there's now a LiteCursor internal structure,
this in preparation for loading/switching cursors in future.
----------------------------
revision 1.47
date: 2005-03-18 02:43:21 +0000;  author: kent;  state: Exp;  lines: +14 -0;

lite_load_cursor_desc() is a new function that takes a DFBSurfaceDescription
for fast loads of cursor images.
----------------------------
revision 1.46
date: 2005-03-17 02:16:13 +0000;  author: kent;  state: Exp;  lines: +3 -1;

lite_post_event_to_window() should return DFBResult.
----------------------------
revision 1.45
date: 2005-03-17 01:39:12 +0000;  author: kent;  state: Exp;  lines: +29 -12;

* lite_on_user_event() to register for an incoming user event
* rearrangement of the lite_window_event_loop so now it handles
  generic DFBEvents, and dispatches based on event type, DFBWindowEvent
  and DFBUserEvent being the first two cases.
----------------------------
revision 1.44
date: 2005-03-17 00:39:41 +0000;  author: kent;  state: Exp;  lines: +3 -0;

Internal DFB_USER_EVENT and DFB_WINDOW_EVENT macros.
----------------------------
revision 1.43
date: 2005-03-17 00:35:27 +0000;  author: kent;  state: Exp;  lines: +8 -0;

lite_post_event_to_window() posts an event to the existing LiteWindow
event queue. This could be used for posting window events, user events,
and so on...
----------------------------
revision 1.42
date: 2005-02-21 06:37:44 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Removed the fprintf statements so they use D_DEBUG_AT now.
----------------------------
revision 1.41
date: 2005-02-20 23:54:57 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Main implementation files now have D_DEBUG_DOMAIN macros for defining
the domains for D_DEBUG_AT use.
----------------------------
revision 1.40
date: 2005-02-16 08:47:31 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed a case where lite_focus_box should return a DFBResult from inside
the function block.
----------------------------
revision 1.39
date: 2005-02-16 08:38:06 +0000;  author: kent;  state: Exp;  lines: +44 -24;

The following functions now return DFBResult (before void)
	lite_window_event_loop, lite_update_window, lite_set_window_title,
	lite_set_window_opacity, lite_set_window_background,
	lite_set_window_background_color, lite_set_window_blend_mode,
	lite_resize_window, lite_minimize_window, lite_restore_window,
	lite_flush_window_events, lite_close_window, lite_destroy_window.
----------------------------
revision 1.38
date: 2005-02-15 19:43:35 +0000;  author: kent;  state: Exp;  lines: +4 -4;

Default window background colors are defined in lite_config.h
----------------------------
revision 1.37
date: 2005-02-15 19:34:37 +0000;  author: kent;  state: Exp;  lines: +11 -6;

Contributions from Andy Stewart (andy.andy.stewart@gmail.com)

Add defined strings in lite_config.h for the default font names.

Add a DFBFontAttributes argument to both lite_get_font and lite_get_font_from_file.
Add lite_set_active_font and lite_get_active_font functions.

Follow the DirectFB convention of returning DFBResult from the public APIs,
and add the old return value as an additional argument.

Use macros patterned after DirectFB's D_BREAK and D_INFO instead of fprintf
for error or status messages.  This will be an incremental conversion,
since at this point, only font.c uses this convention.

Modify the callers to lite_get_font in label.c, textline.c, and window.c accordingly.
----------------------------
revision 1.36
date: 2005-02-15 18:48:50 +0000;  author: kent;  state: Exp;  lines: +12 -11;

New internal configuration file where all the default configuration values
are defined -- if there's a need to change something globally, this file
could be patched or copied over. First case are the theme file names
defined in window.c tha are now defined in lite_config.h.
----------------------------
revision 1.35
date: 2005-02-03 07:22:36 +0000;  author: kent;  state: Exp;  lines: +49 -3;


Three new global callbacks (inspired by GLUT):

WindowMouseFunc/lite_on_window_mouse() could be used to install
a global mouse callback that receives DFBEvents after the LiTE
framework has processed the mouse events.

WindowKeyboardFunc/lite_on_window_keyboard() could be used to
install a global keyevent callback to receive DFBEvents after
the LiTE framework has processed these.

WindowIdleFunc/lite_on_window_idle could be used to install an
idle handler as part of the event handling. Note that this
handler is only triggered if there are events in the window event
queue. Some systems might not generate generic events (throttling), so
there's no guarantee that this idle handler runs all the time.
----------------------------
revision 1.34
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +10 -2;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.33
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.32
date: 2004-11-13 01:02:41 +0000;  author: dok;  state: Exp;  lines: +6 -0;
Added lite_theme_loaded().
----------------------------
revision 1.31
date: 2004-11-11 16:03:23 +0000;  author: klan;  state: Exp;  lines: +2 -1;
Use the DWCAPS_NODECORATION flag only if LITE_NO_THEME is not set.
----------------------------
revision 1.30
date: 2004-11-02 12:19:18 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Use DWCAPS_NODECORATION as long as LiTE is still providing own borders.
----------------------------
revision 1.29
date: 2004-07-27 15:48:16 +0000;  author: dok;  state: Exp;  lines: +1 -1;
Return DFB_DESTROYED after destroying it, i.e. don't wait for DWET_DESTROYED event.
----------------------------
revision 1.28
date: 2004-07-27 15:39:30 +0000;  author: dok;  state: Exp;  lines: +5 -2;
Allow negative timeout for lite_window_event_loop() causing the function to
exit after handling all events without waiting for such.
----------------------------
revision 1.27
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +49 -15;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.26
date: 2004-02-19 13:13:16 +0000;  author: dok;  state: Exp;  lines: +33 -33;
Call custom resize handler earlier.
----------------------------
revision 1.25
date: 2003-07-28 22:08:31 +0000;  author: dok;  state: Exp;  lines: +5 -0;
Use DWOP_SHAPE.
----------------------------
revision 1.24
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +26 -7;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.23
date: 2003-06-27 20:41:39 +0000;  author: dok;  state: Exp;  lines: +24 -17;
Added lite_minimize_window() and lite_restore_window() that does the same as
double clicking on the title bar.
----------------------------
revision 1.22
date: 2003-06-27 20:08:53 +0000;  author: dok;  state: Exp;  lines: +10 -3;
Horizontally center align minimized and full size.
----------------------------
revision 1.21
date: 2003-06-27 19:41:57 +0000;  author: dok;  state: Exp;  lines: +41 -8;
Double click on the title bar now shades/unshades the window
(set minimum width/height or restore).
----------------------------
revision 1.20
date: 2003-06-27 18:41:42 +0000;  author: dok;  state: Exp;  lines: +3 -0;
Reget sub surfaces on resize, fixes components rendering to the border.
----------------------------
revision 1.19
date: 2003-06-27 16:07:45 +0000;  author: dok;  state: Exp;  lines: +55 -13;
Implemented bottom-right-corner-resizing with a fancy look.

Implemented minimum size which is automatically calculated based on
the borders and the title string width ;)

Implemented aligned resizing (x/y steps), e.g. for a terminal ;)
----------------------------
revision 1.18
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +102 -9;
Added a simple slider with a nice example.
----------------------------
revision 1.17
date: 2003-05-07 15:35:48 +0000;  author: dok;  state: Exp;  lines: +59 -1;
Added lite_set_window_blend_mode() which gets two arguments. The first
specifies the content blend mode, the second specifies the opacity blend
mode.

The blend mode is a hint to enable/disable blending of the content or
window opacity values between 0 and 255. Blend mode can be "always", "never"
or "auto" (choosing via hardware capabilities).
----------------------------
revision 1.16
date: 2003-04-17 11:30:48 +0000;  author: dok;  state: Exp;  lines: +2 -2;
CFLAGS and Makefile cleanup, fixed a warning.
----------------------------
revision 1.15
date: 2003-01-16 16:12:55 +0000;  author: dok;  state: Exp;  lines: +24 -12;
Raise window to top if left button is pressed on the window border.
Lower to bottom in case of the right button.
----------------------------
revision 1.14
date: 2003-01-15 19:21:59 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Minor fix.
----------------------------
revision 1.13
date: 2003-01-15 14:57:51 +0000;  author: dok;  state: Exp;  lines: +25 -18;
Load cursor even if themes are disabled.
----------------------------
revision 1.12
date: 2002-12-18 20:39:53 +0000;  author: dok;  state: Exp;  lines: +19 -12;
Center windows by default.
----------------------------
revision 1.11
date: 2002-12-12 18:44:16 +0000;  author: dok;  state: Exp;  lines: +36 -5;
Added lite_set_window_background() which takes a DFBColor*.
If NULL is passed clearing of the window is disabled.
----------------------------
revision 1.10
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +727 -702;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.9
date: 2002-12-11 16:10:19 +0000;  author: dok;  state: Exp;  lines: +9 -0;
Added optional pixelformat parameter to lite_util_load_image().
----------------------------
revision 1.8
date: 2002-12-02 17:05:41 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Fixed segfault with theme disabled.
----------------------------
revision 1.7
date: 2002-11-20 20:31:05 +0000;  author: dok;  state: Exp;  lines: +10 -11;
Added lite_get_font_from_file() and did some name changes.
----------------------------
revision 1.6
date: 2002-11-18 22:47:33 +0000;  author: dok;  state: Exp;  lines: +18 -0;
Added cursor shape.
----------------------------
revision 1.5
date: 2002-11-12 01:27:48 +0000;  author: dok;  state: Exp;  lines: +3 -36;
Fixed fixed font descender (now '[{}]' are correct again).

Removed unnecessary stuff.
----------------------------
revision 1.4
date: 2002-11-02 04:55:30 +0000;  author: dok;  state: Exp;  lines: +426 -107;
Added resize handling and motion/resize event compression.
----------------------------
revision 1.3
date: 2002-11-02 03:45:08 +0000;  author: dok;  state: Exp;  lines: +3 -3;
Use white rabbit for title, too.
----------------------------
revision 1.2
date: 2002-10-29 13:41:08 +0000;  author: dok;  state: Exp;  lines: +2 -1;
Font attributes can be specified for lite_get_font().
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/lite/window.h,v
Working file: lite/window.h
head: 1.76
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.76
	VERSION_0_8_2: 1.74
	VERSION_0_8_1: 1.73
	VERSION_0_8_0: 1.72
	VERSION_0_7_2: 1.69
	VERSION_0_7_1: 1.67
	VERSION_0_7_0: 1.66
	VERSION_0_6_5: 1.65
	VERSION_0_6_3: 1.60
	VERSION_0_6_2: 1.60
	VERSION_0_6_1: 1.58
	VERSION_0_4_3: 1.44
	VERSION_0_4_2: 1.37
	VERSION_0_3_1: 1.26
	VERSION_0_3_0: 1.24
	VERSION_0_2_2: 1.19
	VERSION_0_1: 1.14
	DIRECTFB_0_9_18: 1.5
keyword substitution: kv
total revisions: 76;	selected revisions: 76
description:
----------------------------
revision 1.76
date: 2006-12-13 19:33:57 +0000;  author: bcombee;  state: Exp;  lines: +37 -2;  commitid: SfgwT0mNUrJHGoYr;
Updates for version 0.8.3

0.8.3 (December 13, 2006)
-----

- New API: lite_destroy_all_windows - calls lite_destroy_window
  on all windows in system from newest to oldest

- New API: lite_rebase_window_timeouts - used to adjust all window
  timeouts when the system time changes

- New API: lite_window_event_available - returns true if any
  events are queued up or any timeouts are ready.

- New API: lite_set_window_bounds - used to move and resize a
  window in one on-screen operation

- Const correctness parameter changes for lite_get_font_filename(),
  lite_set_window_background()

- lite_update_box() and internal find_child() rewritten to be
  non-recursive for speed purposes

- more fixes around window destruction and properly releasing
  interfaces and freeing memory

- lite_init_box now disallows boxes with negative height or width

- modified update code to use memmove instead of memcpy to fix overlap
  problem

- lite_window_event_loop will force an update at least once every 200
  milliseconds if one is needed and hasn't happened yet
----------------------------
revision 1.75
date: 2006-10-16 13:28:45 +0000;  author: dok;  state: Exp;  lines: +115 -113;  commitid: 3G8AWgRTgjXPyUQr;
Fix types.
----------------------------
revision 1.74
date: 2006-10-14 06:24:42 +0000;  author: bcombee;  state: Exp;  lines: +3 -1;  commitid: Gts8liCmoAXahCQr;
Updates for version 0.8.2

0.8.2 (October 14, 2006)
-----

- expanded the LiteBoxType enumeration to have different items for
  each LiteBox and LiteWindow type defined in the library, with
  special ranges for expanding the number of types for client
  libraries
- updated code to fix stdbool.h warnings (Ville Syrjala)
- patch to support vertical sliders (Pierre-Hugues Husson)
- changed window update loop to be more efficient
- fixed bugs with new window destruction code
- fixed bug with routing of resize events to not-yet-displayed windows
- fixed a memory leak with freeing window memory on DWET_DESTROYED
- fixed a IDirectFBLayer reference leak in lite_change_cursor_opacity
- changed lite_enqueue_window_timeout and lite_enqueue_idle_callback
  to never return the value 0 as the ID
- fixed bad return value for lite_remove_window_timeout
----------------------------
revision 1.73
date: 2006-09-20 21:15:39 +0000;  author: bcombee;  state: Exp;  lines: +44 -14;  commitid: XqzadkF9saoyYBNr;
checkins for LITE 0.8.1
- new API: lite_set_window_enabled - this function will tell a window
  if it should handle events that are sent to it.  DESTROYED events
  will always be handled.
- fix to handle_wheel to ignore wheel events for a box if it ignores
  keyboard events
- optimized shared library lookup tables by using -Wl,-O1 option for gnu ld
- optimized lite_set_active_font call by having it avoid a cache lookup
  just to validate that a font has been loaded
- reworked window destruction extensively to work correctly with DFB's
  window destruction model.  You should use the window's box->Destroy
  callback for cleanup code, while window->OnDestroy is just used to
  catch the DWET_DESTROYED message that will get sent later
- removed the nesting level concept from window timeouts, as it led to
  hard to fix cases.  If you want a timeout to not be called, make sure
  to remove it before opening a new window.
----------------------------
revision 1.72
date: 2006-08-30 16:38:28 +0000;  author: bcombee;  state: Exp;  lines: +11 -3;  commitid: xwKP70lx4nKr7TKr;
Large set of updates to prepare LiTE 0.8.0 release -- see updated NEWS file for details.
----------------------------
revision 1.71
date: 2006-06-20 20:38:54 +0000;  author: dok;  state: Exp;  lines: +3 -2;
Allow queuing an update while processing one.
----------------------------
revision 1.70
date: 2006-06-20 20:12:58 +0000;  author: dok;  state: Exp;  lines: +7 -0;
Added lite_update_all_windows() for rendering the border & title and queuing
an update for each window.
----------------------------
revision 1.69
date: 2006-05-03 01:23:38 +0000;  author: bcombee;  state: Exp;  lines: +24 -9;
- updated version number to 0.7.2
- fix to correctly restore modal windows and to deal with windows created
  while we're tracking a mouse event
- fix to not update boxes when they are invisible
- fix for drawing windows with correct opacity
- New API, lite_get_font_filename, to get the filename associated
  with a font
- rewrote lite_event_loop to add support for idle callbacks and to fix
  problems with timeout callbacks
----------------------------
revision 1.68
date: 2006-02-05 18:04:39 +0000;  author: dok;  state: Exp;  lines: +5 -3;
Keep up to four non-overlapping regions before merging updates into a big one.

This greatly improves speed on pixel rate limited systems, e.g. embedded.


Added debug domain for queuing/dequeuing/processing updates: Lite/Updates.


Added configure option "--enable-debug" which enables building with
all debug messages, assertions etc. compiled in
----------------------------
revision 1.67
date: 2006-02-03 03:15:00 +0000;  author: kent;  state: Exp;  lines: +22 -1;

New API, lite_on_raw_window_mouse_moved(), this will install a callback
that is triggered with mouse moved events before these events are processed
by LiTE.
----------------------------
revision 1.66
date: 2006-01-23 06:33:02 +0000;  author: kent;  state: Exp;  lines: +19 -1;

To be complete, the raw wheel events could be intercepted now by
installing a callback using the lilte_on_raw_window_wheel() API.
----------------------------
revision 1.65
date: 2005-12-21 01:04:23 +0000;  author: kent;  state: Exp;  lines: +58 -0;

New functionality from Ben Combee:

New feature to add LiteTimoutFunc callbacks into the timeout queue, enqueue
and remove them with lite_enqueu_window_timeout() and lite_remove_window_timeout().
These callbacks could be used for periodically checking for events, indicate
if they are double-clicks, or other similar specific cases where we need additional
time to find out what the event really is.
----------------------------
revision 1.64
date: 2005-12-19 21:39:59 +0000;  author: dok;  state: Exp;  lines: +4 -1;
Defer opacity change of a window (making it visible) until it has been updated once.
Removed clear of the window content during creation, instead just enqueue an update.
----------------------------
revision 1.63
date: 2005-11-19 07:10:41 +0000;  author: kent;  state: Exp;  lines: +33 -33;

Rename the other LiteWindow callback func typedefs so they also start with
prefix Lite.
----------------------------
revision 1.62
date: 2005-11-19 06:59:35 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Start of renaming the callback functions so they start with Lite, this in
order to avoid linking clashes when linking against other libraries.
First the WindowEventFunc is renamed to LiteWindowEventFunc.
----------------------------
revision 1.61
date: 2005-11-19 06:54:58 +0000;  author: kent;  state: Exp;  lines: +2 -1;

New LiteWindow flag, LITE_WINDOW_FIXED, when set the window can't be moved
or collapsed, neither pushed to background, with the mouse left and right
clicks. This is useful if the LiteWindow has chrome and is a fixed window that
should not be moved or resized.
----------------------------
revision 1.60
date: 2005-10-29 02:28:55 +0000;  author: kent;  state: Exp;  lines: +5 -3;

Two new LiteWindowFlags, LITE_WINDOW_HANDLING_EVENTS indicating that the window
handles events, and LITE_WINDOW_DESTROYED to indicate the window will be destroyed/removed
later in the event cycle.
----------------------------
revision 1.59
date: 2005-10-28 19:49:47 +0000;  author: kent;  state: Exp;  lines: +57 -55;

Better LiteWindow documentation.
----------------------------
revision 1.58
date: 2005-10-11 18:03:25 +0000;  author: kent;  state: Exp;  lines: +0 -13;

Move the lite_exit_loop_idle() functionality from window.c into event.c.
----------------------------
revision 1.57
date: 2005-10-10 21:23:30 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Changed name of lite_on_univeral_event() to lite_on_window_univeral_event() to reflect
that this callback is installed per window instance, and that there might be in future
a global universal event handler outside the window itself.
----------------------------
revision 1.56
date: 2005-10-10 21:21:03 +0000;  author: kent;  state: Exp;  lines: +3 -3;

Changed lite_on_user_event() to lite_on_window_user_event() to reflect that the user event
callback is tied to a specific window instance, not globally, as there might soon be another
way to register for user events outside any window.
----------------------------
revision 1.55
date: 2005-10-07 01:20:19 +0000;  author: kent;  state: Exp;  lines: +13 -0;

New API, lite_get_window_size(), this as the LiteWindow internal window
size struct values are not reliable if someone changes the underlying IDirectFBWindow
directly. Now, one could always use the IDirectFBWindow::GetSize() directly, as this API
does, but just to adversize not to look at the LiteWindow size values (that should be
eventually phased out...).
----------------------------
revision 1.54
date: 2005-09-09 01:37:09 +0000;  author: kent;  state: Exp;  lines: +31 -2;

New callback installer API, lite_on_universal_events() to install a callback
for receiving DFBUniversalEvents.
----------------------------
revision 1.53
date: 2005-09-08 00:25:28 +0000;  author: kent;  state: Exp;  lines: +28 -0;

New API, lite_window_set_creator() and lite_window_get_creator() that will
set and get from the LiteWindow structure a reference to a window that
originally created a specific window. This is used in modal window cases
so that some windows created from a modal window could receive all
events.
----------------------------
revision 1.52
date: 2005-09-08 00:13:58 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Move the theme globals into .c files and use extern definitions in
the .h files so C++ compilers are happy.
----------------------------
revision 1.51
date: 2005-08-27 02:01:59 +0000;  author: kent;  state: Exp;  lines: +39 -0;

New global callback that can be installed via lite_on_window_event(),
this callback is triggered *before* the window handling is done in the
event loop, and it could be used for filtering or processing window
events before they go into the loop. If the WindowEventFunc callback
returns a value not DFB_OK, then the event is not forwarded to the
toolbox window event handling routines.
----------------------------
revision 1.50
date: 2005-08-27 01:40:06 +0000;  author: kent;  state: Exp;  lines: +10 -0;

Put extern "C" wrappers around all header files for C++ linking.
----------------------------
revision 1.49
date: 2005-08-24 00:34:09 +0000;  author: kent;  state: Exp;  lines: +1 -1;

liteNoWindowOpacity should be 0x00
----------------------------
revision 1.48
date: 2005-08-19 01:51:10 +0000;  author: kent;  state: Exp;  lines: +14 -1;

New function, lite_set_exit_idle_loop(), if this sets
the idle loop exit to true, the event loop will exit
if there are no pending events in the event queue.
----------------------------
revision 1.47
date: 2005-07-01 19:24:29 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Rearranging header file dependencies.
----------------------------
revision 1.46
date: 2005-07-01 19:08:26 +0000;  author: kent;  state: Exp;  lines: +73 -0;

Moved the window theme structs and prototypes to window.h.
----------------------------
revision 1.45
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +13 -3;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.44
date: 2005-06-24 23:06:35 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Changed function name from lite_window_setmodal to lite_window_set_modal.
----------------------------
revision 1.43
date: 2005-06-24 23:04:45 +0000;  author: kent;  state: Exp;  lines: +4 -8;

lite_init_window() API changed so it also takes a DFBRectangle and
a LiteWindowTheme.
----------------------------
revision 1.42
date: 2005-06-20 04:23:47 +0000;  author: kent;  state: Exp;  lines: +67 -75;

Changed the file header function prototypes to use the 'tight standard'
format so they all look the same.
----------------------------
revision 1.41
date: 2005-06-20 03:42:02 +0000;  author: kent;  state: Exp;  lines: +61 -66;

Further Doxygen documentation work so all header files have the same
style.
----------------------------
revision 1.40
date: 2005-06-20 03:02:07 +0000;  author: kent;  state: Exp;  lines: +296 -8;

Doxygen documentation for the window APIs.
----------------------------
revision 1.39
date: 2005-06-20 02:19:15 +0000;  author: kent;  state: Exp;  lines: +40 -2;

Provide Doxygen documentation for LiteWindow structs, typedefs and constants.
----------------------------
revision 1.38
date: 2005-06-20 02:14:01 +0000;  author: kent;  state: Exp;  lines: +16 -14;

Remove the WindowIdleFunc callback prototype as this callback is
no longer supported.
----------------------------
revision 1.37
date: 2005-06-17 22:37:41 +0000;  author: kent;  state: Exp;  lines: +9 -0;

To be symmetrical, lite_on_raw_keyboard() provides a hook to intercept
keyboard messages before the modal test or the processing inside
various LiteBoxes has happened.
----------------------------
revision 1.36
date: 2005-06-17 22:30:41 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New user callback that can be installed, lite_on_raw_mouse(), this
callback triggers before any processing is done on the mouse event
in the window's event handling. This makes it possible to for example
pick up mouse events in another window and close the window based
on mouse clicks in the parent window.
----------------------------
revision 1.35
date: 2005-06-17 22:16:25 +0000;  author: kent;  state: Exp;  lines: +5 -5;

The user-provided callback functions now all have a new prototype
returning DFBResult (was void). This because there will be cases
where the return value might stop something from happening...
----------------------------
revision 1.34
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +5 -7;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.33
date: 2005-06-16 20:46:50 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Renamed WindowTheme to LiteWindowTheme.
----------------------------
revision 1.32
date: 2005-06-16 01:03:56 +0000;  author: kent;  state: Exp;  lines: +7 -0;

First steps towards Doxygen documentation. Each header file now
has a @brief statement telling what the file contains.
----------------------------
revision 1.31
date: 2005-06-16 00:51:57 +0000;  author: kent;  state: Exp;  lines: +11 -10;

LiteWindow has a new theme slot that will be used shortly.
----------------------------
revision 1.30
date: 2005-06-11 01:26:02 +0000;  author: kent;  state: Exp;  lines: +1 -0;

New API, lite_get_event_buffer() to return the DirectFB event buffer
for possible direct access for posting and peeking.
----------------------------
revision 1.29
date: 2005-05-18 06:46:34 +0000;  author: dok;  state: Exp;  lines: +2 -0;
Include <direct/types.h> for bool.
----------------------------
revision 1.28
date: 2005-05-18 00:14:06 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Code from Damian Kowalewski to enable modal state in LiteWindows, when
the modal flag is set in the LiteWindow, it is the only one receiving
its events.
----------------------------
revision 1.27
date: 2005-05-16 23:48:41 +0000;  author: kent;  state: Exp;  lines: +8 -0;

Patch from Damian and Kent
New LiteWindowFlag variable in LiteWindow, controls if the window
could be resized and minimized, and soon if it had modal behavior.
By default windows could be resized and minimized.
----------------------------
revision 1.26
date: 2005-05-13 00:29:43 +0000;  author: kent;  state: Exp;  lines: +6 -0;

New OnBoxAdded() and OnBoxToBeRemoved() function callbacks (not fully
tested yet). They should trigger when a box has been added to the
window, or if a box is removed from the window, providing a way
to intercept and do something with the LiteBox structures.
----------------------------
revision 1.25
date: 2005-05-12 22:32:51 +0000;  author: kent;  state: Exp;  lines: +9 -0;

LiteWindow now has a separate init call, this makes it possible to
subclass LiteWindows with a separate memory allocation part (compare this
with LiteBox and lite_box_init()).
----------------------------
revision 1.24
date: 2005-03-31 23:26:30 +0000;  author: kent;  state: Exp;  lines: +0 -6;

Removed lite_on_window_idle() callback installer, there's no guarantee
to get periodic idle events unless the underlying system provides them;
it's better to write a wrapper around lite_window_event_loop with a
timeout and let the event_loop come out, do processing, and go back into
the event loop.
----------------------------
revision 1.23
date: 2005-03-31 23:23:07 +0000;  author: kent;  state: Exp;  lines: +4 -4;

lite_on* APIs now return DFBResult values.
----------------------------
revision 1.22
date: 2005-03-31 23:13:20 +0000;  author: kent;  state: Exp;  lines: +14 -5;

lite_on_window_wheel() in which global callbacks could be installed to catch
any possible wheel movements independently of the focused box.
----------------------------
revision 1.21
date: 2005-03-31 04:57:14 +0000;  author: kent;  state: Exp;  lines: +2 -0;

lite_release_window_resources(), just now it will UngrabPointer any
concurrent window that has the pointer grabbed. This is needed for special
cases such as when creating additional windows with a mouse-down event.
----------------------------
revision 1.20
date: 2005-03-30 06:34:45 +0000;  author: kent;  state: Exp;  lines: +0 -1;

Important change: Switching from a per-window event buffer to a global
event buffer, this for easier handling of events concerning modal LiteWindows
so that only one window is serviced the event. The other model required
multiple threads running, in this model there's just one GUI thread that
handles the events from a single source.
----------------------------
revision 1.19
date: 2005-03-25 01:27:48 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_window API changed, now returns a DFBResult and as a first param takes
a LiteWindow**. This is in line with the DFB APIs of always returning DFBResult
values, and also makes it possible to inline the LiteWindow structure and pass
in (later) an already allocated LiteWindow for subclassing purposes.
----------------------------
revision 1.18
date: 2005-03-17 02:16:13 +0000;  author: kent;  state: Exp;  lines: +1 -1;

lite_post_event_to_window() should return DFBResult.
----------------------------
revision 1.17
date: 2005-03-17 01:39:12 +0000;  author: kent;  state: Exp;  lines: +7 -0;

* lite_on_user_event() to register for an incoming user event
* rearrangement of the lite_window_event_loop so now it handles
  generic DFBEvents, and dispatches based on event type, DFBWindowEvent
  and DFBUserEvent being the first two cases.
----------------------------
revision 1.16
date: 2005-03-17 00:35:27 +0000;  author: kent;  state: Exp;  lines: +2 -0;

lite_post_event_to_window() posts an event to the existing LiteWindow
event queue. This could be used for posting window events, user events,
and so on...
----------------------------
revision 1.15
date: 2005-02-16 08:38:06 +0000;  author: kent;  state: Exp;  lines: +13 -13;

The following functions now return DFBResult (before void)
	lite_window_event_loop, lite_update_window, lite_set_window_title,
	lite_set_window_opacity, lite_set_window_background,
	lite_set_window_background_color, lite_set_window_blend_mode,
	lite_resize_window, lite_minimize_window, lite_restore_window,
	lite_flush_window_events, lite_close_window, lite_destroy_window.
----------------------------
revision 1.14
date: 2005-02-03 07:22:36 +0000;  author: kent;  state: Exp;  lines: +23 -0;


Three new global callbacks (inspired by GLUT):

WindowMouseFunc/lite_on_window_mouse() could be used to install
a global mouse callback that receives DFBEvents after the LiTE
framework has processed the mouse events.

WindowKeyboardFunc/lite_on_window_keyboard() could be used to
install a global keyevent callback to receive DFBEvents after
the LiTE framework has processed these.

WindowIdleFunc/lite_on_window_idle could be used to install an
idle handler as part of the event handling. Note that this
handler is only triggered if there are events in the window event
queue. Some systems might not generate generic events (throttling), so
there's no guarantee that this idle handler runs all the time.
----------------------------
revision 1.13
date: 2005-01-26 06:59:02 +0000;  author: kent;  state: Exp;  lines: +7 -0;


lite_new_window() now takes two params, x and y, for the initial positioning
of the window. This makes it possible to position a window at a specified
coordinate position.

The old behavior of automatic centering is still preserved, by
specifying LITE_CENTER_HORIZONTALLY and LITE_CENTER_VERTICALLY the
window is centered. Updated the examples to use this modified API.
----------------------------
revision 1.12
date: 2005-01-26 05:38:54 +0000;  author: kent;  state: Exp;  lines: +23 -19;


Changing the header files so they comform to the DirectFB header files,
and changing the license to LPGL as per discussions with Denis (same
license as DirectFB).
----------------------------
revision 1.11
date: 2004-05-18 22:22:36 +0000;  author: dok;  state: Exp;  lines: +9 -1;
Implemented queuing and compression of repaints.

Added new example dfbspy showing the Fusion load from /proc/fusion/0/stat.
----------------------------
revision 1.10
date: 2003-07-07 12:55:25 +0000;  author: dok;  state: Exp;  lines: +6 -4;
Default event loop function can be called in a loop with an optional timeout.
----------------------------
revision 1.9
date: 2003-06-27 20:41:39 +0000;  author: dok;  state: Exp;  lines: +4 -0;
Added lite_minimize_window() and lite_restore_window() that does the same as
double clicking on the title bar.
----------------------------
revision 1.8
date: 2003-06-27 19:41:57 +0000;  author: dok;  state: Exp;  lines: +5 -0;
Double click on the title bar now shades/unshades the window
(set minimum width/height or restore).
----------------------------
revision 1.7
date: 2003-06-27 16:07:45 +0000;  author: dok;  state: Exp;  lines: +7 -0;
Implemented bottom-right-corner-resizing with a fancy look.

Implemented minimum size which is automatically calculated based on
the borders and the title string width ;)

Implemented aligned resizing (x/y steps), e.g. for a terminal ;)
----------------------------
revision 1.6
date: 2003-06-12 17:49:24 +0000;  author: dok;  state: Exp;  lines: +9 -2;
Added a simple slider with a nice example.
----------------------------
revision 1.5
date: 2003-05-07 15:35:48 +0000;  author: dok;  state: Exp;  lines: +12 -0;
Added lite_set_window_blend_mode() which gets two arguments. The first
specifies the content blend mode, the second specifies the opacity blend
mode.

The blend mode is a hint to enable/disable blending of the content or
window opacity values between 0 and 255. Blend mode can be "always", "never"
or "auto" (choosing via hardware capabilities).
----------------------------
revision 1.4
date: 2002-12-12 18:44:16 +0000;  author: dok;  state: Exp;  lines: +29 -21;
Added lite_set_window_background() which takes a DFBColor*.
If NULL is passed clearing of the window is disabled.
----------------------------
revision 1.3
date: 2002-12-11 16:21:16 +0000;  author: dok;  state: Exp;  lines: +7 -0;
Some fixes and some redraw related functions added, two test applications.
----------------------------
revision 1.2
date: 2002-11-02 04:55:30 +0000;  author: dok;  state: Exp;  lines: +26 -2;
Added resize handling and motion/resize event compression.
----------------------------
revision 1.1
date: 2002-10-23 12:35:46 +0000;  author: dok;  state: Exp;
LiTE is a toolkit engine. First checkin of a library
that has been sleeping on my disk for almost a year now.
=============================================================================

RCS file: /cvs/directfb/lite/tests/Makefile.am,v
Working file: tests/Makefile.am
head: 1.7
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.7
	VERSION_0_8_2: 1.7
	VERSION_0_8_1: 1.7
	VERSION_0_8_0: 1.7
	VERSION_0_7_2: 1.7
	VERSION_0_7_1: 1.7
	VERSION_0_7_0: 1.7
	VERSION_0_6_5: 1.7
	VERSION_0_6_3: 1.7
	VERSION_0_6_2: 1.7
	VERSION_0_6_1: 1.7
	VERSION_0_4_3: 1.2
	VERSION_0_4_2: 1.2
keyword substitution: kv
total revisions: 7;	selected revisions: 7
description:
----------------------------
revision 1.7
date: 2005-08-16 02:41:05 +0000;  author: kent;  state: Exp;  lines: +5 -5;

Include testutils.h in the Makefile.am file so it's included in the
distribution (make dist).
----------------------------
revision 1.6
date: 2005-07-06 03:42:53 +0000;  author: kent;  state: Exp;  lines: +8 -2;

New unit test for LiteSlider widgets.
----------------------------
revision 1.5
date: 2005-07-06 00:39:06 +0000;  author: kent;  state: Exp;  lines: +3 -1;

New unit test for Lite cursor support.
----------------------------
revision 1.4
date: 2005-07-02 01:24:11 +0000;  author: kent;  state: Exp;  lines: +3 -1;

New unit test for LiteLabel.
----------------------------
revision 1.3
date: 2005-07-01 23:18:42 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Make the inlines static so they could be used across multiple implementation
files. New file to place all test utility functions into.
----------------------------
revision 1.2
date: 2005-06-17 21:36:11 +0000;  author: kent;  state: Exp;  lines: +5 -3;

New unit test, nothemewindow, to test windows with no themes.
----------------------------
revision 1.1
date: 2005-06-16 01:35:12 +0000;  author: kent;  state: Exp;

New unit test directory called tests, will have LiTE unit tests that
need to pass in order for the code to be checked in. First simple
case, plain window creation test.
=============================================================================

RCS file: /cvs/directfb/lite/tests/nothemewindow.c,v
Working file: tests/nothemewindow.c
head: 1.8
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.8
	VERSION_0_8_2: 1.8
	VERSION_0_8_1: 1.7
	VERSION_0_8_0: 1.7
	VERSION_0_7_2: 1.7
	VERSION_0_7_1: 1.7
	VERSION_0_7_0: 1.7
	VERSION_0_6_5: 1.7
	VERSION_0_6_3: 1.7
	VERSION_0_6_2: 1.7
	VERSION_0_6_1: 1.7
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
keyword substitution: kv
total revisions: 8;	selected revisions: 8
description:
----------------------------
revision 1.8
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.7
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.6
date: 2005-07-02 00:17:39 +0000;  author: kent;  state: Exp;  lines: +27 -0;

Place the unit test code under the MIT license, so anyone could have
fun with it.
----------------------------
revision 1.5
date: 2005-06-30 22:29:37 +0000;  author: kent;  state: Exp;  lines: +2 -1;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.4
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.3
date: 2005-06-17 22:07:36 +0000;  author: kent;  state: Exp;  lines: +46 -46;

Coding style convention is five spaces, not four.
----------------------------
revision 1.2
date: 2005-06-17 22:04:14 +0000;  author: kent;  state: Exp;  lines: +0 -1;

Removed unused variable.
----------------------------
revision 1.1
date: 2005-06-17 21:36:11 +0000;  author: kent;  state: Exp;

New unit test, nothemewindow, to test windows with no themes.
=============================================================================

RCS file: /cvs/directfb/lite/tests/runtests.sh,v
Working file: tests/runtests.sh
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.5
	VERSION_0_8_0: 1.5
	VERSION_0_7_2: 1.5
	VERSION_0_7_1: 1.5
	VERSION_0_7_0: 1.5
	VERSION_0_6_5: 1.5
	VERSION_0_6_3: 1.5
	VERSION_0_6_2: 1.5
	VERSION_0_6_1: 1.5
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2005-07-06 03:54:58 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Add utslider to unit tests run.
----------------------------
revision 1.4
date: 2005-07-06 00:47:54 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Added utcursor to the run tests.
----------------------------
revision 1.3
date: 2005-07-06 00:29:28 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Add utlabel unit test to the runtests script.
----------------------------
revision 1.2
date: 2005-07-04 23:52:49 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Test program accepts a timeout argument to run the test with a quick
timeout from the event loop, or with no timeout to run as a standalone
application terminated by the user.
----------------------------
revision 1.1
date: 2005-07-01 22:11:20 +0000;  author: kent;  state: Exp;

New script to run all the official unit tests.
=============================================================================

RCS file: /cvs/directfb/lite/tests/template.c,v
Working file: tests/template.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.3
	VERSION_0_8_2: 1.3
	VERSION_0_8_1: 1.2
	VERSION_0_8_0: 1.2
	VERSION_0_7_2: 1.2
	VERSION_0_7_1: 1.2
	VERSION_0_7_0: 1.2
	VERSION_0_6_5: 1.2
	VERSION_0_6_3: 1.2
	VERSION_0_6_2: 1.2
	VERSION_0_6_1: 1.2
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.2
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.1
date: 2005-07-06 02:39:24 +0000;  author: kent;  state: Exp;

C file template for quickly adding in new unit tests.
=============================================================================

RCS file: /cvs/directfb/lite/tests/testutils.c,v
Working file: tests/testutils.c
head: 1.9
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.9
	VERSION_0_8_2: 1.9
	VERSION_0_8_1: 1.8
	VERSION_0_8_0: 1.8
	VERSION_0_7_2: 1.8
	VERSION_0_7_1: 1.8
	VERSION_0_7_0: 1.8
	VERSION_0_6_5: 1.8
	VERSION_0_6_3: 1.8
	VERSION_0_6_2: 1.8
	VERSION_0_6_1: 1.8
keyword substitution: kv
total revisions: 9;	selected revisions: 9
description:
----------------------------
revision 1.9
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.8
date: 2005-07-06 02:36:27 +0000;  author: kent;  state: Exp;  lines: +2 -2;

Fix the iteration of num timestamps.
----------------------------
revision 1.7
date: 2005-07-02 01:32:27 +0000;  author: kent;  state: Exp;  lines: +15 -0;

New utility function, ltest_create_main_window() for creating the
main test window environment.
----------------------------
revision 1.6
date: 2005-07-02 01:09:01 +0000;  author: kent;  state: Exp;  lines: +1 -14;

Removed unneeded utility function.
----------------------------
revision 1.5
date: 2005-07-02 01:07:08 +0000;  author: kent;  state: Exp;  lines: +19 -2;

Show timestamps in the timestamp window.
----------------------------
revision 1.4
date: 2005-07-02 00:53:26 +0000;  author: kent;  state: Exp;  lines: +67 -0;

Had to unroll all inlines and make them normal function leaf nodes
due to global name space issues, hopefully the compiler optimizes away
the functions so there's little overhead for the timer calls.
----------------------------
revision 1.3
date: 2005-07-02 00:17:39 +0000;  author: kent;  state: Exp;  lines: +28 -1;

Place the unit test code under the MIT license, so anyone could have
fun with it.
----------------------------
revision 1.2
date: 2005-07-02 00:06:53 +0000;  author: kent;  state: Exp;  lines: +11 -1;

First rough take on opening up a window with timestamp info (timestamps
not yet shown).
----------------------------
revision 1.1
date: 2005-07-01 23:18:42 +0000;  author: kent;  state: Exp;

Make the inlines static so they could be used across multiple implementation
files. New file to place all test utility functions into.
=============================================================================

RCS file: /cvs/directfb/lite/tests/testutils.h,v
Working file: tests/testutils.h
head: 1.12
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.12
	VERSION_0_8_2: 1.12
	VERSION_0_8_1: 1.12
	VERSION_0_8_0: 1.12
	VERSION_0_7_2: 1.12
	VERSION_0_7_1: 1.12
	VERSION_0_7_0: 1.12
	VERSION_0_6_5: 1.12
	VERSION_0_6_3: 1.12
	VERSION_0_6_2: 1.12
	VERSION_0_6_1: 1.12
keyword substitution: kv
total revisions: 12;	selected revisions: 12
description:
----------------------------
revision 1.12
date: 2005-07-02 01:32:27 +0000;  author: kent;  state: Exp;  lines: +9 -8;

New utility function, ltest_create_main_window() for creating the
main test window environment.
----------------------------
revision 1.11
date: 2005-07-02 01:09:01 +0000;  author: kent;  state: Exp;  lines: +0 -6;

Removed unneeded utility function.
----------------------------
revision 1.10
date: 2005-07-02 01:07:08 +0000;  author: kent;  state: Exp;  lines: +0 -2;

Show timestamps in the timestamp window.
----------------------------
revision 1.9
date: 2005-07-02 00:53:26 +0000;  author: kent;  state: Exp;  lines: +7 -61;

Had to unroll all inlines and make them normal function leaf nodes
due to global name space issues, hopefully the compiler optimizes away
the functions so there's little overhead for the timer calls.
----------------------------
revision 1.8
date: 2005-07-02 00:24:32 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Remove warnings. use inline ltest_get_num_timestamps rather than
global variable.
----------------------------
revision 1.7
date: 2005-07-02 00:17:39 +0000;  author: kent;  state: Exp;  lines: +25 -22;

Place the unit test code under the MIT license, so anyone could have
fun with it.
----------------------------
revision 1.6
date: 2005-07-01 23:18:42 +0000;  author: kent;  state: Exp;  lines: +8 -6;

Make the inlines static so they could be used across multiple implementation
files. New file to place all test utility functions into.
----------------------------
revision 1.5
date: 2005-07-01 22:27:02 +0000;  author: kent;  state: Exp;  lines: +9 -27;

Changed the timer APIs to use a ltest_start_timer() and ltest_stop_timer()
for better handling the granularity of defining that time values are
measured.
----------------------------
revision 1.4
date: 2005-07-01 21:52:03 +0000;  author: kent;  state: Exp;  lines: +70 -0;

Lots of new test functions to create time stamps and show the results
for performance testing purposes.
----------------------------
revision 1.3
date: 2005-07-01 21:12:51 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Renamed test macro to LTEST, now also taking a label for the output
to know what test was run.
----------------------------
revision 1.2
date: 2005-07-01 20:45:25 +0000;  author: kent;  state: Exp;  lines: +15 -0;

LTEST_IF_FAILS unit test macro, window.c using it now.
----------------------------
revision 1.1
date: 2005-07-01 20:10:29 +0000;  author: kent;  state: Exp;

New test utils file for testing utility functions and so on.
ltest_number_to_label() implemented. window test program using it.
=============================================================================

RCS file: /cvs/directfb/lite/tests/utcursor.c,v
Working file: tests/utcursor.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.5
	VERSION_0_8_2: 1.5
	VERSION_0_8_1: 1.4
	VERSION_0_8_0: 1.4
	VERSION_0_7_2: 1.4
	VERSION_0_7_1: 1.4
	VERSION_0_7_0: 1.4
	VERSION_0_6_5: 1.4
	VERSION_0_6_3: 1.4
	VERSION_0_6_2: 1.4
	VERSION_0_6_1: 1.4
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.4
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.3
date: 2005-07-06 03:56:19 +0000;  author: kent;  state: Exp;  lines: +1 -2;

Take down the timeout to show hidden cursor to 1 second.
----------------------------
revision 1.2
date: 2005-07-06 00:46:19 +0000;  author: kent;  state: Exp;  lines: +8 -0;

Hide and show cursor API testing in the cursor unit test.
----------------------------
revision 1.1
date: 2005-07-06 00:39:06 +0000;  author: kent;  state: Exp;

New unit test for Lite cursor support.
=============================================================================

RCS file: /cvs/directfb/lite/tests/utlabel.c,v
Working file: tests/utlabel.c
head: 1.9
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.9
	VERSION_0_8_2: 1.9
	VERSION_0_8_1: 1.8
	VERSION_0_8_0: 1.8
	VERSION_0_7_2: 1.8
	VERSION_0_7_1: 1.8
	VERSION_0_7_0: 1.8
	VERSION_0_6_5: 1.8
	VERSION_0_6_3: 1.8
	VERSION_0_6_2: 1.8
	VERSION_0_6_1: 1.7
keyword substitution: kv
total revisions: 9;	selected revisions: 9
description:
----------------------------
revision 1.9
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.8
date: 2005-10-21 22:20:35 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Fixed another compiler warning.
----------------------------
revision 1.7
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.6
date: 2005-07-06 02:36:27 +0000;  author: kent;  state: Exp;  lines: +1 -0;

Fix the iteration of num timestamps.
----------------------------
revision 1.5
date: 2005-07-05 00:49:48 +0000;  author: kent;  state: Exp;  lines: +24 -0;

Do performance tests in the unit test.
----------------------------
revision 1.4
date: 2005-07-05 00:14:36 +0000;  author: kent;  state: Exp;  lines: +41 -0;

Basic LiteLabel unit tests in place.
----------------------------
revision 1.3
date: 2005-07-04 23:57:05 +0000;  author: kent;  state: Exp;  lines: +9 -1;

utlabel also using the timeout param for running automatic tests.
----------------------------
revision 1.2
date: 2005-07-02 01:32:27 +0000;  author: kent;  state: Exp;  lines: +8 -0;

New utility function, ltest_create_main_window() for creating the
main test window environment.
----------------------------
revision 1.1
date: 2005-07-02 01:24:11 +0000;  author: kent;  state: Exp;

New unit test for LiteLabel.
=============================================================================

RCS file: /cvs/directfb/lite/tests/utslider.c,v
Working file: tests/utslider.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.4
	VERSION_0_8_2: 1.4
	VERSION_0_8_1: 1.3
	VERSION_0_8_0: 1.3
	VERSION_0_7_2: 1.3
	VERSION_0_7_1: 1.3
	VERSION_0_7_0: 1.3
	VERSION_0_6_5: 1.3
	VERSION_0_6_3: 1.3
	VERSION_0_6_2: 1.3
	VERSION_0_6_1: 1.3
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.3
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +3 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.2
date: 2005-07-06 03:51:33 +0000;  author: kent;  state: Exp;  lines: +16 -0;

Basic slider tests.
----------------------------
revision 1.1
date: 2005-07-06 03:42:53 +0000;  author: kent;  state: Exp;

New unit test for LiteSlider widgets.
=============================================================================

RCS file: /cvs/directfb/lite/tests/window.c,v
Working file: tests/window.c
head: 1.20
branch:
locks: strict
access list:
symbolic names:
	VERSION_0_8_3: 1.20
	VERSION_0_8_2: 1.20
	VERSION_0_8_1: 1.19
	VERSION_0_8_0: 1.19
	VERSION_0_7_2: 1.19
	VERSION_0_7_1: 1.19
	VERSION_0_7_0: 1.19
	VERSION_0_6_5: 1.19
	VERSION_0_6_3: 1.19
	VERSION_0_6_2: 1.19
	VERSION_0_6_1: 1.19
	VERSION_0_4_3: 1.3
	VERSION_0_4_2: 1.3
keyword substitution: kv
total revisions: 20;	selected revisions: 20
description:
----------------------------
revision 1.20
date: 2006-10-10 00:16:23 +0000;  author: syrjala;  state: Exp;  lines: +2 -0;  commitid: Ck9MONhcCXQYm4Qr;
Fix stdbool.h warnings.
----------------------------
revision 1.19
date: 2005-08-16 02:45:50 +0000;  author: kent;  state: Exp;  lines: +2 -1;

Change timeout value from existing test program loops from 10 seconds
to 1 second.
----------------------------
revision 1.18
date: 2005-07-04 23:57:05 +0000;  author: kent;  state: Exp;  lines: +3 -3;

utlabel also using the timeout param for running automatic tests.
----------------------------
revision 1.17
date: 2005-07-04 23:52:49 +0000;  author: kent;  state: Exp;  lines: +8 -1;

Test program accepts a timeout argument to run the test with a quick
timeout from the event loop, or with no timeout to run as a standalone
application terminated by the user.
----------------------------
revision 1.16
date: 2005-07-02 01:15:07 +0000;  author: kent;  state: Exp;  lines: +0 -23;

Cleanup of unused code.
----------------------------
revision 1.15
date: 2005-07-02 00:24:32 +0000;  author: kent;  state: Exp;  lines: +5 -6;

Remove warnings. use inline ltest_get_num_timestamps rather than
global variable.
----------------------------
revision 1.14
date: 2005-07-02 00:17:39 +0000;  author: kent;  state: Exp;  lines: +29 -0;

Place the unit test code under the MIT license, so anyone could have
fun with it.
----------------------------
revision 1.13
date: 2005-07-02 00:06:53 +0000;  author: kent;  state: Exp;  lines: +2 -0;

First rough take on opening up a window with timestamp info (timestamps
not yet shown).
----------------------------
revision 1.12
date: 2005-07-01 22:27:02 +0000;  author: kent;  state: Exp;  lines: +11 -9;

Changed the timer APIs to use a ltest_start_timer() and ltest_stop_timer()
for better handling the granularity of defining that time values are
measured.
----------------------------
revision 1.11
date: 2005-07-01 22:11:20 +0000;  author: kent;  state: Exp;  lines: +3 -6;

New script to run all the official unit tests.
----------------------------
revision 1.10
date: 2005-07-01 21:52:03 +0000;  author: kent;  state: Exp;  lines: +14 -48;

Lots of new test functions to create time stamps and show the results
for performance testing purposes.
----------------------------
revision 1.9
date: 2005-07-01 21:16:26 +0000;  author: kent;  state: Exp;  lines: +6 -1;

Unit test window opacity settings.
----------------------------
revision 1.8
date: 2005-07-01 21:12:51 +0000;  author: kent;  state: Exp;  lines: +6 -6;

Renamed test macro to LTEST, now also taking a label for the output
to know what test was run.
----------------------------
revision 1.7
date: 2005-07-01 20:45:25 +0000;  author: kent;  state: Exp;  lines: +8 -7;

LTEST_IF_FAILS unit test macro, window.c using it now.
----------------------------
revision 1.6
date: 2005-07-01 20:10:29 +0000;  author: kent;  state: Exp;  lines: +4 -4;

New test utils file for testing utility functions and so on.
ltest_number_to_label() implemented. window test program using it.
----------------------------
revision 1.5
date: 2005-06-30 22:29:37 +0000;  author: kent;  state: Exp;  lines: +5 -3;

lite_new_label() API changed, now takes a DFBRectangle and a LiteLabelTheme.
As a lot of test apps use labels, they all had to be changed.
----------------------------
revision 1.4
date: 2005-06-30 19:08:29 +0000;  author: kent;  state: Exp;  lines: +1 -1;

Two new window constants, liteFullWindowOpacity and liteNoWindowOpacity,
corresponding to the 0xff and 0x00 values. They both have Doxygen documentation.
----------------------------
revision 1.3
date: 2005-06-17 22:07:36 +0000;  author: kent;  state: Exp;  lines: +66 -66;

Coding style convention is five spaces, not four.
----------------------------
revision 1.2
date: 2005-06-16 22:13:39 +0000;  author: kent;  state: Exp;  lines: +8 -1;

lite_new_window has a new API, now takes a DFBRectangle and a LiteWindowTheme.
Example and test code changed to reflect the API change.
----------------------------
revision 1.1
date: 2005-06-16 01:35:12 +0000;  author: kent;  state: Exp;

New unit test directory called tests, will have LiTE unit tests that
need to pass in order for the code to be checked in. First simple
case, plain window creation test.
=============================================================================
