Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Slider Bars with returned values

Author
Message
XpMe
20
Years of Service
User Offline
Joined: 8th Jul 2004
Location: Dallas Texas
Posted: 18th Jul 2004 05:57
The source code posted is an example of 6 slider bars which may be used for volume control or other things. I figure that some people may need a good example.
It has onscreen information of press values as they occur.
The bars are coded for 0-100 OR 0-200(converts the returned
visual value to 0-100 and may be use for setting the
MUSIC volume in a game).
Set your screen at 640x480 or larger to fit the images to screen.
If you un-rem the lines near the end of the source code then you
may also save these images to disk to use later.
I have put comments in the source to help you.
I know that there is many ways to create code and that these
slider bars could be made to look different.
Created on DBpro v5.5 Tested several times before posting it.
...XpMe
XpMe
20
Years of Service
User Offline
Joined: 8th Jul 2004
Location: Dallas Texas
Posted: 18th Jul 2004 06:00
Loader for the above code.
This source code posted is an example to load the 6
slider bars if you saved the images while using the
above example.
It does not create any image.
It loads them and displays information plus shows the images.
...XpMe
Blazer
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: United States
Posted: 21st Jul 2004 10:08
thanks, I hope to be able to let the player set the mouse sensetivity in the future. This will come in handy

I discriminate against discriminating people....
tomazmb
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Slovenia
Posted: 22nd Jul 2004 21:32
Hello,

Nice source code. Thanks.

Have a nice day,

Tomaz

Why some people take programming so seriously ?

Login to post a reply

Server time is: 2024-11-23 19:23:42
Your offset time is: 2024-11-23 19:23:42