TSDL 0.1 RC3

A small widget and events library for SDL
The TSDL project was written for my turn-based strategy game 'Turious', but is a stand alone library. It provides a number of useful widgets, and event handling functions.

WIDGETS: container - provides a containing element for other widgets label - simple "draw text" label button - button is the base widget with click,mouseup,mousedown,mouseover, mouseout,mousemove events text - extension of the button widget, allows for text entry numbox - extension of the text widget to allow numeric entry only, with increment/decrement buttons on the side, and mouse scrollwheel increment/decrement checkbox - extension of the button widget, click toggles an int value 0/1 and updates the background to show checked/unchecked state console - provides a simple method of outputting messages to the user, automatically scrolls to maintain a maximum number of lines.

All of the widgets can be given individual background images, custom text, etc, containers and widgets can be shown and hidden individually, and will stay in their shown/unshown state across SDL_Flip calls.


last updated on:
February 24th, 2010, 14:13 GMT
price:
FREE!
developed by:
Darkrose
homepage:
sandbox.ltmnet.com
license type:
GPL v3 
category:
ROOT \ Games \ TBS

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

1 Screenshot
TSDL

Add your review!

SUBMIT