Changes
2000-Sep-24 SDL_gui-0.10.3
- fixed a problem in clipping. added code to uitest.c as a test case.
- improved the python binding, and the test script. pysdl is now used to initialize SDL before use of pySDL_gui will work.
2000-Sep-14 SDL_gui-0.10.2
- a minor change in packaging to get the python modules to work
2000-Aug-31 SDL_gui-0.10.1
- the demo files now are configured seperately, so you no longer need opengl to compile the library.
- made the error message for not having SDL_OPENGLBLIT more verbose in the testgl demo
- made the next/prev buttons work in the uitest_cxx demo
- a few files were missig from the dist in the demo directory. added.
- allow simpler access to size of a GUI_Drawable
- allow access to GUI_Surface within GUI_FastFont
- allow access to GUI_Surface within GUI_Screen
- allow access to SDL_Surface within GUI_Surface
- exposed SaveBMP for GUI_Surface
2000-Aug-5 SDL_gui-0.10.0
- added some new demos
- added the ability to draw the gui on a surface that is not the screen
- SDL and SDL_ttf initialization are now outside of GUI_Init. So is allocating the screen.
- major internal structure changes. GUI_Object is now the base of all other objects.
- added layout objects which are used by Panel. currently the only layout implementation is a vertically oriented box.
- added a function to set the position of a widget
- made a lot of functions and data structures private.
- use SDL_VideoModeOk to make sure that the requested depth is ok to use.
- window close causes GUI to exit.
- changed version numbering to be a little more sane
- added a function to get a child from a container
- fixed release script
- fixed truetype init problem.
- added a script for building releases.
- rewritten in C++. The old C binding is (mostly) preserved
2000-Jun-13 SDL_gui-0.9.8
- added support for cross compiling.
- merged ttf code back into main lib to aid cross compiling.
2000-Jun-09 SDL_gui-0.9.7
- updated RPM spec file to include the libtool .la file for the python module
- started making configure.in accept cross-compiling.
- made python module depend on libtool libraries, rather than linking directly
- made the Panel widget scrollable. This required changes to the clipping code and the background tiling code. the Panel can now be used as a part of a ListBox.
- added ScrollBar widget. updated the demo to show it off.
- improved the overall look of the demo.
2000-May-21 SDL_gui-0.9.6
- merged in python support. there are now options in the configure script to enable/disable these things. by default both ttf and python are enabled.
- split TTF support into a seperate library.
- oops. C++ including the headers was wrong. I guess that's what I get for not testing it. fixed.
- added a ProgressBar widget. It needs more error checking.
- added ProgressBar to the uitest demo. Also added code using a thread to update it.
2000-May-9 SDL_gui-0.9.5
- increased the size of the update rects array.
- when adding rects to the update list, check the following:
- if the new rect is inside one that is already being updated, then just ignore it.
- if the new rect contains a rect already being updated, then replace the new rect.
- changed compile options to treat warnings as errors. I dislike warnings, and will not tolerate them in my code :)
- added callbacks to TextEntry for Focus and Unfocus.
- minor change to Button widget SetClick - don't install callback if it's already there. (avoid extra incref/decref).
- added a function to get the text from a TextEntry widget.
- added a function to get/set the "state" of a widget. this is mainly for the ToggleButton widget, but may be used for others later. Change the demo to test it.
- when a widget has focus, other widgets are disabled.
- added a function to get the currently focused widget.
- added a function which will trigger an update. This is for use in multithreaded apps.
- updated the demo to disable some buttons.
- added a bit for widget enable/disable.
- Implemented the disable bit for the button widget.
- Played with blender - made cool transparent blue glass buttons. They even squish right when you press them.
- For consistancy, GUI_ScreenSetBackgroundColor now accepts a SDL_Color instead of r, g, and b.
- fixed a bug in the GUI_ScreenSetBackgroundColor routine. It was calling GUI_SurfaceMapRGB, but it did not have a GUI_Surface to work with.
- if there is already an update rect in the list that matches the one requested, it ignores the request. It's a slight optimization to prevent multiple updates to the same area. This could probably use more work.
- change compile to use -Wall and -pedantic. removed several warnings.
- removed the "Widget" WidgetType, since it was useless.
- added function in the WidgetType structure for filling an area in a widget.
- added background color option to CardStack and Panel. If they are NOT marked as transparent, and there is no background tile, it will fill the area with the background color.
2000-May-7 SDL_gui-0.9.4
- fixed the TextEntry_clicked function to have the correct parameters
- removed printing from clip routine
- added a function to set the screen background color, in cases where there is no background bitmap
- moved tiling code into a seperate function, since it is used in three places.
- Picture widget no longer event-starves it's caption
- added a function to change widget transparency.
- added a caption to the picture widget. This allows a single widget to be embedded inside a picture. The widget will be event-starved like the button caption.
- added a function to mark a widget as changed, so the next update pass will redraw it.
- split the web page into pieces for easier viewing.
- updated to use SDL_ttf-1.2.0
- added lock/unlock functions to help with multithreaded apps.
- major updates to the demo. it looks much cooler now.
2000-May-4 SDL_gui-0.9.3
- updated the demo to show off the TextEntry widget. the demo needs some work to make it nicer.
- fixed button image set functions (again).
- added focus widget to the screen object. it's not fully debugged, but it works adequately. for one thing, if you switch pages in a CardStack while a widget has focus, it keeps focus.
- labels now clip contents to the label area.
- move the rectangle clip routine to a central location, and fixed it too.
- added a TextEntry widget
- added a ToggleButton widget
- hid the library globals - use accessor functions now.
- moved python module to seperate project
- introduced the concept of font drivers. update the two existing font drivers to use the unified font object.
- fixed bugs in callbacks (freefunc was not being set right)
- fixed the error checking in truetype font load
2000-May-2 SDL_gui-0.9.2
- fixed setting of button images.
- added a pointer to a function that will free the data field in a callback when the callback is freed.
- added a function to set the background image in a panel
- added two debug flags for screen blits
- fixed cardstack and panel background drawing
- added a function to get the number of widgets in a container
- check to see if screen was actually created. the GUI_Init function can now fail and return -1.
- changed the screen update routines to add the new debug flags.
- Added a function reference to the docs.
- Added a python binding.
- Added a CardStack widget
- Updated the uitest app to use CardStack
2000-May-1 SDL_gui-0.9.1
- renamed Container widget to Panel
- created a generic Container interface which all containers can use
- added SetName/GetName for all widgets
- added a Picture widget for displaying pictures.
- made the include file more C++ friendly
- made the include file multiple-include safe
- added a little more error checking on font and image loading
- exposed MapRGB for surfaces
- moved screen size/depth/flags selection into application code
- added missing files for the distribution. got rid of arial.ttf, in favor of one that is freely distributable.
2000-Apr-30 SDL_gui-0.9.0