Results 1 to 5 of 5

Thread: custom variable sliders

  1. #1
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551

    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.

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    give examples... a variable slider is meant to work only as a variable slider, it won't work as two things at once.
    Ride 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."

  3. #3
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551
    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.

  4. #4
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551
    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.

  5. #5
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    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.
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

Similar Threads

  1. custom lists - custom saving?
    By tundra2000 in forum Road Runner
    Replies: 4
    Last Post: 01-25-2008, 12:44 AM
  2. RR 10-26-2007.. iLists & Custom stuff..
    By guino in forum Road Runner
    Replies: 106
    Last Post: 12-28-2007, 11:23 PM
  3. Replies: 3
    Last Post: 10-29-2007, 11:14 PM
  4. found in fperrorlog
    By 510SX in forum FP Bug Reports
    Replies: 3
    Last Post: 09-21-2006, 08:01 AM
  5. yet another frodo install with problems.
    By Marsupial in forum FrodoPlayer
    Replies: 10
    Last Post: 08-27-2004, 06:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •