Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
01-25-2008, 12:39 AM
|
#1
|
|
Maximum Bitrate
Join Date: Mar 2006
Location: south bend, indiana
Vehicle: 2004 Ford F150 FX4
Posts: 512
|
custom variable sliders
they dont update. if i have a variable slider which is currently equal to the master volume, and i increase the master volume with a button or some other external stimulus, the slider does not update.
however, you can use the slider as a normal slider. (i.e. you can slide it up and down and + and - the volume.
|
|
|
01-26-2008, 07:14 AM
|
#2
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
|
give examples... a variable slider is meant to work only as a variable slider, it won't work as two things at once.
__________________
Road Runner,RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
|
|
|
01-26-2008, 10:02 AM
|
#3
|
|
Maximum Bitrate
Join Date: Mar 2006
Location: south bend, indiana
Vehicle: 2004 Ford F150 FX4
Posts: 512
|
umm, well if i have a variable slider for example equal to SONGPOS, it does not move. the master volume example above i thought was okay... im not asking it to do more than it should, but if i have a slider that is equal to volume and i increase the volume without using the slider, the slider does not move even though the volume goes up.
|
|
|
03-04-2008, 01:32 AM
|
#4
|
|
Maximum Bitrate
Join Date: Mar 2006
Location: south bend, indiana
Vehicle: 2004 Ford F150 FX4
Posts: 512
|
bump? custom sliders still do not update themselves..... will this ever be accomplished? also, sliders and BYVAR? dont mean to bother, but these would be extremely handy features.
|
|
|
04-20-2008, 10:55 AM
|
#5
|
|
Wants to make it harder
Join Date: May 2007
Location: Lakehood, CO
Vehicle: 2007 PT Cruiser Touring
Posts: 1,185
|
Here's what I had to do for the Custom Font Color sliders:
Each slider (Red, Green, Blue, songpos)
Code:
/, S, x, y, w, h, x1, y1, w1, h1, O, Style, Pointer file path, h2, Code;SLIDERCODES, Tooltip
S,218,97,41,307,218,97,41,307,v,01,"slider2.PNG",41,"$Red$",
S,363,97,41,307,363,97,41,307,v,01,"slider2.PNG",41,"$Green$",
S,507,97,41,307,507,97,41,307,v,01,"slider2.PNG",41,"$Blue$",
S01,129,419,530,7,129,415,530,15,h,"bar.png","Slider.png",21,"SONGPOS",
These buttons check where the sliders are positioned, and converts the number to a whole number between 0 and 255, then saves the result to a file. First button tests the result, the second saves it to the skin.
Code:
/, B, x, y, w, h, Command;COMMANDCODES, Tooltip
B005,680,261,120,60,"EVAL;REDSLIDER;$Red$\257||WRITETOFILE;$skinpath$test.skin;=/DEFINE TRed $REDSLIDER$||EVAL;GREENSLIDER;$Green$\257||ADDTOFILE;$skinpath$test.skin;=/DEFINE TGreen $GREENSLIDER$||EVAL;BLUESLIDER;$Blue$\257||ADDTOFILE;$skinpath$test.skin;=/DEFINE TBlue $BLUESLIDER$||ADDTOFILE;$skinpath$Test.skin;=END||RELOADSKIN||Load;TextColor.skin",
B005,680,322,120,60,"EVAL;REDSLIDER;$Red$\257||WRITETOFILE;$skinpath$color.skin;=/DEFINE FRed $REDSLIDER$||EVAL;GREENSLIDER;$Green$\257||ADDTOFILE;$skinpath$color.skin;=/DEFINE FGreen $GREENSLIDER$||EVAL;BLUESLIDER;$Blue$\257||ADDTOFILE;$skinpath$color.skin;=/DEFINE FBlue $BLUESLIDER$||ADDTOFILE;$skinpath$Test.skin;=END||RELOADSKIN||Load;TextColor.skin",
These buttons allow me to fine adjust the sliders so that it increases or decreases by just one.
Code:
B001,131,137,72,58,"EVAL;Red;$Red$+257||EVAL;REDSLIDER;$Red$\257",
B001,131,306,72,58,"EVAL;Red;$Red$-257||EVAL;REDSLIDER;$Red$\257",
B001,274,137,72,58,"EVAL;Green;$Green$+257||EVAL;GREENSLIDER;$Green$\257",
B001,273,306,72,58,"EVAL;Green;$Green$-257||EVAL;GREENSLIDER;$Green$\257",
B001,418,137,72,58,"EVAL;Blue;$Blue$+257||EVAL;BLUESLIDER;$Blue$\257",
B001,419,306,72,58,"EVAL;Blue;$Blue$-257||EVAL;BLUESLIDER;$Blue$\257",
These labels show the mathematical result of the slider's position:
Code:
L,423,237,65,31,#FRed#,#FGreen#,#FBlue#,18,"BankGothic Md BT","=$BLUESLIDER$","CENTER"
L,278,236,65,31,#FRed#,#FGreen#,#FBlue#,18,"BankGothic Md BT","=$GREENSLIDER$","CENTER"
L,135,236,65,31,#FRed#,#FGreen#,#FBlue#,18,"BankGothic Md BT","=$REDSLIDER$","CENTER"
from my exectbl.ini:
These are necessary so that when I move each slider, it automatically refreshes the code to update all the labels and codes necessary:
Code:
"ONSLDRed","EVAL;REDSLIDER;$Red$\257"
"ONSLDBlue","EVAL;BLUESLIDER;$Blue$\257"
"ONSLDGreen","EVAL;GREENSLIDER;$Green$\257"
I hope this helps with what you were looking to do with your sliders.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:28 AM.
|
|