11.2.0: 2Sam Lantinga - Tue Apr 3 10:52:19 PDT 2007 3 * Placed in the public domain 4 51.1.2: 6Sam Lantinga - Mon May 1 00:42:02 PDT 2006 7 * Updated automake and libtool support 8 91.1.0: 10Rainer Loritz <rloritz@gwdg.de> - Wed Apr 5 21:17:58 PDT 2000 11- fixed bug in GUI_Image: First constructor called second one, both called 12inherited constructors -> messed up. No more. 13 14- added GUI_Button feature: One may specify a second image for a real click and 15release look and feel which is also reacting when moving the pointer off the 16button. 17 18- added another GUI_Button feature: With Disable() and Enable() one can 19tell a button to be clickable or not. It is then appropiately displayed. 20 21- modified GUI event behaviour: Before, GUI ran with full CPU workload even 22without given an idle procedure. Now it uses the idle-friendly WaitEvent if 23such a flag is given to the Run procedure. The calls to widget-idle 24procedures are sacrificed in this case :-(. 25 26- added GUI_Area feature: With another constructor one may specify a 27frame color and thickness for the edge of the area. 28 29- added GUI_Area feature: With an optional parameter a shape of the area can 30be determined. So far either a rectangular or an elliptic (adjusted to area) 31shape is possible. 32 33- added GUI_TermWin feature: With "SetColoring" one can specify a foreground 34and a background color where the background can be left transparent. 35 36- new GUI_Font object: Given either a BMP name or surface (or nothing), it 37represents a font with possibilities to plot colored text in opaque or 38transparent mode. 39 40- added GUI_button features: An additional constructor provides a way to 41specify a text from which a 3D or 2D button is generated (in gray colours). 42A new option allows to determine the text alignment. 43 44- added GUI_widget function: Redraw() redisplays ONLY the widget because 45complete GUI_REDRAW consumes much time. 46*** HERE I FOUND AN DOCUM. ERROR: the comments say the surface will be locked 47*** before a call to Display(). This is not true and it should be in no case, 48*** because otherwise inside Display() there wouldn't be allowed any SDL 49*** graphics functions as FillRect etc. 50 51- new GUI_Menu object: Pulldown menus in SDL! Very straightforward menu design, 52but may be a complicated way of internal coding. The GUI_Menu is using the 53GUI_Submenu and GUI_Menuitem classes to control the menu behaviour. It's all 54quite up and down design, but it works. The programmer has contact only with 55GUI_Menu and MUST NOT add the GUI_Submenu/items to the GUI himself. 56Everything is managed by GUI_Menu. 57 58- new button feature: check marks. Originally thought for menus, but should 59work generally. 60 61TO DO: - menu memory management is bad 62 - graphical functions for ellipse and boundary fill 63 - (improved keyboard functions as input focus, tab order etc.) 64 65TOUCHED FILES: GUI_image.cpp, GUI_widget.h/cpp, GUI_button.h/cpp, 66 GUI_output.h, GUI.cpp, GUI_area.h/cpp, GUI_TermWin.h/cpp, 67 hello.cpp 68 69NEW FILES: GUI_font.h/cpp, GUI_menu.h/cpp 70 711.0.1: 72Sam Lantinga - Wed Apr 5 21:12:17 PDT 2000 73 * Ported GUIlib to MacOS 74