Page 3 of 11 FirstFirst 1234567891011 LastLast
Results 21 to 30 of 107

Thread: RR 10-26-2007.. iLists & Custom stuff..

  1. #21
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by monkeyracer View Post
    ok, having some trouble with the custom sliders...

    In my skin I have

    Code:
    "SETVAR;Red Slider"
    and then on the slider:
    Code:
    S,195,106,20,255,195,106,20,255,v,01,"slider 2.GIF",11,"$Red Slider$",
    I'm obviously missing something here. (maybe after SETVAR;Red Slider)
    How do I tell the code that I only want 256 positions for the slider (0-255) and then how can I show this in a label?

    Basically, I want three sliders that have limits from 0-255 that show it's position below the slider, which I will use for my text color changer...
    You'll need to use Eval to convert your ranges:

    To set the default value of the slider:
    "EVAL;Red Slider;$REDSLIDER$*256"

    To read the value from the slider:
    "EVAL;REDSLIDER;$Red Slider$/256"

    Examples:

    if you make the slider with the "$Red Slider$" code:

    To Set Default RED value:
    "SETVAR;REDSLIDER;126||EVAL;Red Slider;$REDSLIDER$*256"

    To Save Selected slider value to file:
    "EVAL;REDSLIDER;$Red Slider$/256||WRITETOFILE;C:\t.txt;$REDSLIDER$"

    To Display it on a label:
    "=$REDSLIDER$"
    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."

  2. #22
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,291
    Quote Originally Posted by guino View Post
    I'll check the colors.. maybe I mixed up something..

    DL-iLists can be filename OR tag based -- just make sure you set it up correctly in the config.
    ok thanks.
    it is set up correctly in the config. when standard DL is used, tags are displayed, but when the "IL,PL,RGB000000,RGBFF0000,************,0,20,7 0", line is added, with no other change made, the filenames are displayed instead of the tags. this only happens in DL (PL is displayed OK)

    and can you explain how to define the folder/media icons in the 3d line of the .skin file?

  3. #23
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,291
    the bugs i have found only occur in TEXT MODE
    1. the colors (blue/red) are mixed up
    2. filenames are read instead of tags
    3. icons don't work in text mode

    and one more question (the last i hope )
    why does when you go back to the previous path in a DL (one folder up) the list scrolls from the beginning of the list untill it reaches the previously selected folder?? (do i make sense?)

  4. #24
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    1-Which colors are mixed up exactly ? All of them ?
    2-I have to look into this.
    3-Icond DO work text mode, make sure the BMPs are in the header (only BMP files work), and make sure showicons=true in RR.INI

    The list has to be redrawn from some point when you browse different folder, this point is the beginning of the list OR about 50 items above it whichever is closer.
    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."

  5. #25
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    One more note: Don't fool yourself -- Bitmap mode is FASTER than TEXT MODE (which I only considered offering for customization purposes).
    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."

  6. #26
    FLAC Nomader's Avatar
    Join Date
    Apr 2006
    Location
    Greece
    Posts
    1,291
    Quote Originally Posted by guino View Post
    1-Which colors are mixed up exactly ? All of them ?
    2-I have to look into this.
    3-Icond DO work text mode, make sure the BMPs are in the header (only BMP files work), and make sure showicons=true in RR.INI

    The list has to be redrawn from some point when you browse different folder, this point is the beginning of the list OR about 50 items above it whichever is closer.
    1. jsut the unselected text color (blue is red and red is blue - in the RGB)

    EDIT:
    by the way i found out that if one uses a solid color (in bitmap mode) for the unselected items..then that color if it exists anywhere on the icon used for media/folder, it is considered transparant (on the icon)!!!!!
    this is prety cool

  7. #27
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    Quote Originally Posted by guino View Post
    You'll need to use Eval to convert your ranges:

    To set the default value of the slider:
    "EVAL;Red Slider;$REDSLIDER$*256"

    To read the value from the slider:
    "EVAL;REDSLIDER;$Red Slider$/256"

    Examples:

    if you make the slider with the "$Red Slider$" code:

    To Set Default RED value:
    "SETVAR;REDSLIDER;126||EVAL;Red Slider;$REDSLIDER$*256"

    To Save Selected slider value to file:
    "EVAL;REDSLIDER;$Red Slider$/256||WRITETOFILE;C:\t.txt;$REDSLIDER$"

    To Display it on a label:
    "=$REDSLIDER$"

    Ok, sorta got it working, I can select a color on each slider, and click test text and it will show "Test New Color Here" correctly, but, the labels under the slider won't show until I first click my "Test Text" button and they show in the label with decimals. How would I round those numbers up to the nearest whole number? And how do I show the labels before I click "Test Text"

    Here's the pertinent info from my .skin:

    Code:
    /, S, x, y, w, h, x1, y1, w1, h1, O, Style, Pointer file path, h2, Code;SLIDERCODES, Tooltip
    S,195,106,20,255,195,106,20,255,v,01,"slider 2.GIF",11,"$Red Slider$",
    S,334,112,20,255,334,112,20,255,v,01,"slider 2.GIF",11,"$Green Slider$",
    S,495,112,20,255,495,112,20,255,v,01,"slider 2.GIF",11,"$Blue Slider$",
    
    B005,672,76,105,58,"EVAL;REDSLIDER;$Red Slider$/256||WRITETOFILE;$skinpath$test.skin;=/DEFINE TRed $REDSLIDER$||EVAL;GREENSLIDER;$Green Slider$/256||ADDTOFILE;$skinpath$test.skin;=/DEFINE TGreen $GREENSLIDER$||EVAL;BLUESLIDER;$Blue Slider$/256||ADDTOFILE;$skinpath$test.skin;=/DEFINE TBlue $BLUESLIDER$||RELOADSKIN||ADDTOFILE;$skinpath$Test.skin;=END||Load;TextColor.skin",
    
    L,469,375,174,31,255,255,255,16,"Arial","=$BLUESLIDER$","CENTER"
    L,286,374,160,31,255,255,255,16,"Arial","=$GREENSLIDER$","CENTER"
    L,132,373,147,31,255,255,255,16,"Arial","=$REDSLIDER$","CENTER"
    Screenshots:
    Upon First opening the TextColor.skin:

    After moving the sliders and clicking "test" on the right:

    Moving sliders more and clicking "test" again:


    Getting closer...
    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!

  8. #28
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,156
    Blog Entries
    51
    Quote Originally Posted by guino View Post
    Works with all Items in the playlist, regardless of them being in view or not -- note that this has nothing to do with the description for the items (which are normally loaded when in view).
    thats awesome.. i can now do what i've been trying to do all along with the "LISTPOS#TRACKPATH" labels i added awhile back. I can display album art for each item in the playlist. I guess those labels can now be removed. I should have a "ilist" flash list done on monday.. cant wait to see the results.


    BTW.. I'll be updating Webmasters (steve's) updater and installer in a few mins
    EDIT: nevermind.. the password seems to have changed



    Lastly, i refuse to congratulate John... outta pure jealousy!!!!!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  9. #29
    Variable Bitrate Ramanator's Avatar
    Join Date
    Feb 2007
    Location
    Motor City
    Posts
    289

    What's the Diffrence....

    Btw the Source code and the Binary code?
    If you cant DODGE em, RAM em.

  10. #30
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,156
    Blog Entries
    51
    Quote Originally Posted by Ramanator View Post
    Btw the Source code and the Binary code?
    The source code is the uncompiled version of rr.. it allows end-users to modify/add code to road runner.. the binary is the compiled source code with all other requirements. Unless you plan on modifying RR's code you want the binary.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Similar Threads

  1. GoogleEarth GPSR Tracking
    By briefnotion in forum GPS
    Replies: 117
    Last Post: 09-11-2007, 07:32 PM
  2. Indexing music in 1.0.9.8 Failed
    By hovalistic in forum StreetDeck
    Replies: 0
    Last Post: 07-07-2007, 11:19 AM
  3. RR doesn't start Phoco on initial load..
    By DutchBurner in forum Road Runner
    Replies: 16
    Last Post: 11-04-2005, 01:17 PM
  4. RR 09-28-05... EQ stuff...
    By guino in forum Road Runner
    Replies: 38
    Last Post: 10-01-2005, 01:08 AM
  5. status update....
    By 0l33l in forum PowerVoice
    Replies: 17
    Last Post: 05-05-2005, 12:22 PM

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
  •