SDL_gui 0.10.3 review

Download
by rbytes.net on

SDL_gui is a library written in C++ for displaying and controlling user interface elements in an SDL application

License: LGPL (GNU Lesser General Public License)
File size: 113K
Developer: Ray Kelm
0 stars award from rbytes.net

SDL_gui is a library written in C++ for displaying and controlling user interface elements in an SDL application. SDL_gui has the following set of widgets: Screen, ToggleButton, Button, Label, Picture, Panel, TextEntry, CardStack and ProgressBar.

Older versions of SDL_gui were written in C, and the C api has been preserved in version 0.10.0. Versions beyond 0.11.0 may not include the older API in its current form.

It also provides wrapper objects for SDL_Surface, TTF_Font, and a callback mechanism. The wrapper objects allow reference counting, so that the widgets can share these resources easily.

One interesting note - this library does no drawing of its own. It expects you to provide all the graphics. It provides a hierarchy of objects which you can feed surfaces into for drawing, and the event handling and behavior.

The primary focus is the behavior. I don't want to tie it to a specific look and feel, since that would make it useless for games. For example, you give it images of what you want the buttons to look like when pressed, highlighted, normal, and disabled, and it manages the events and displays the appropriate image. It is intended to be a mid-level interface to SDL.

Requirements:
SDL >= 1.1.4
SDL_image >= 1.0.9
SDL_ttf >= 1.2.1

SDL_gui 0.10.3 keywords