Prev Previous Post   Next Post Next
Old 03-03-2010, 10:47 PM
Tetrajak Tetrajak is offline
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default [ Tool ] RGB Slider Colour Select Library v1.0 + demo

This library was created to aid graphical apps on the X-Fi2, but also has uses in other apps (such as setting a player character's colour). This version of the library offers two varieties; one with images for the buttons, and one without. I have provided the one without images for those developers who do not want to have to also include the res.bin of button images with their programs.

The colour bars change as the values of each (red, green, blue) change to reflect what the selected colour would be if the user moved the slider to that position on that colour. This is to make colour selection easier for the user, although it does cause a little lag in the response time of the program. This lag, however, is not crippling and thus this feature has been left in the final build.

Attached are both the graphic and non-graphic versions of the library, differentiated by the "gfx" in the file name. In these files is also included a demo; main.lua.

The functions of the library are described below;

Displays colour slider interface (see screenshots)

colour = initial colour for sliders to display

Returns: colour variable as selected from slider interface.

Known Bugs:
  • None
Attached Images
File Type: png rgbslide_screen6.PNG (13.2 KB, 125 views)
File Type: png rgbslidegfx_screen1.PNG (18.1 KB, 101 views)
Attached Files
File Type: zip (2.7 KB, 65 views)
File Type: zip (6.1 KB, 111 views)

Last edited by Tetrajak; 03-24-2010 at 09:56 PM.
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 02:10 AM.