Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
LexMenu
Source Directory » Libraries » GUI » LexMenu
Author:
spellcaster 
Version:
1.2 
URL:
http://spellcaster.de/coding/?page_id=37
LexMenu is a pretty basic GUI system. Basically it mimics how image buttons with roll-overs work in HTML. The idea is that you define a couple of "items" run the menu and continue based on the item that got clicked on.

The lastest version allows you to load menu screens from an INI file.

menu = lexLoadMenuFromFile("menu.ini", "mainmenu");
int item = lexMenuRun(menu, doubleBuffer);

Example INI file:

[mainmenu.options]
x=100
y=130
image=mainmenu/options.tga
sound=button.wav
Poll
Is grammer and spelling important?
View Results