Allegro.cc
Projects
Resource Directory
|
LS Button
Source Directory
» Libraries
» GUI
» LS Button
LS Button offers a wide range of functions which can be used to manipulate and create buttons. Most of all, it is fully customizable, and allows for the user to use any bitmap and/or sound of their choice to be used as the visual appearance of a button. LS Button is a completely open-source freeware class. It consists of a simple header and source file combination. No libraries are required to be downloaded. Simply add the files to your allegro project, and start using them right away. Quick Feature List: -Custom bitmaps for each button "instance" -Custom sounds for each button "instance" -Only use bitmaps and sound if you want. You have the option to use neither (although a button won't be very effective if you can't see it)! -Option of bounding-box or pixel-perfect "collision detection" -Manipulate the bounding box -Manipulate the pixel perfect "detection" color -Turn buttons "on" or "off" -Use buttons within an "allegro style" timer (ie: logic and drawing functions are separate from eachother) -Two different methods of actual "button click" detection. |
Poll
|