Results 1 to 8 of 8

Thread: How to show a preview of a list if images

  1. #1
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,699
    Blog Entries
    1

    Question How to show a preview of a list if images

    Is there a way to have an image show, when browsing a directory of images? I am trying to change my background chooser for the skin, and cant find a way to show the image in the list.

    I tried the J tag, and that does not work.

    Basically I have an SD list showing the $BACKGROUNDPATH$ images, and want to see a preview of the selected image in the list, to the left of the list.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  2. #2
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Yup.

    Code:
    SD,0,0,0,0,"$backpathgroundpath$","*.jpg;*.png;*.gif;*.bmp",TRUE
    
    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B21,0,550,89,50,"EXIT",""
    B09,600,121,113,50,"PGUP||SETVARBYCODE;imgfilename;LISTTEXT",
    B10,600,171,113,50,"UP||SETVARBYCODE;imgfilename;LISTTEXT",
    B13,600,372,114,50,"DOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    B14,600,422,114,50,"PGDOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    
    /, S, x, y, w, h, fore R;RGB, G, B,  back R;RGB, G, B,  folder R;RGB, G, B,  file R;RGB, G, B, selected R;RGB, G, B, select R;RGB, G, B, trs, font pt;FONT, font name
    S01,310,135,286,326,#FORER#,#FOREG#,#FOREB#,#DUMMYR#,#DUMMYG#,#DUMMYB#,#FOLDERR#,#FOLDERG#,#FOLDERB#,#FILER#,#FILEG#,#FILEB#,#SELECTEDFORER#,#SELECTEDFOREG#,#SELECTEDFOREB#,#SELECTEDFONTR#,#SELECTEDFONTG#,#SELECTEDFONTB#,true,#LISTSIZE01#,#LISTFONT01#
    
    /, J, x, y, w, h
    I01,155,211,138,148,"FILE;$backgroundpath$$imgfilename$:A"
    In ExecTBL.ini
    Code:
    "ONFILECLICK","SETVARBYCODE;imgfilename;LISTTEXT",<skinfilename>
    
    
    .
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  3. #3
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Ja, you can also overlay a transparent MENU to see a complete preview of the skin.
    Attached Images Attached Images  

  4. #4
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,699
    Blog Entries
    1

    Thanks!

    Thanks for the help! I was using the PICVIEWER.SKIN for this, and it did not let me set that up for its intended purpose.

    The only drawback now is that you have to use the arrow keys, or select in the list. WIth the pic viewer you could use the arrow keys or another device to scroll the list and the image would update. Also the nice fade transitions are gone as well

    I tried the overlay some time ago before RR worked with transparencies, and wrote a small flash file that overlays a transparent menu image, minus any background.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by JohnWPB View Post
    The only drawback now is that you have to use the arrow keys, or select in the list. WIth the pic viewer you could use the arrow keys or another device to scroll the list and the image would update. Also the nice fade transitions are gone as well
    Yeah, haven't worked around that yet.

    As for the fade transitions, guino is aware. I hope that it makes an update.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Fade transitions for custom indicators and file indicators will be in the next update.

    As for a more generic update that works with everything.. also add a timer of 1 second like this:
    Code:
    "TIMER","SETVARBYCODE;imgfilename;LISTTEXT",<skinfilename>
    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."

  7. #7
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,267
    Blog Entries
    1
    I finished my new background.skin with Sal's code.

    Here is my working example that is going to be released in shock v6

    In my background.skin

    Code:
    I01,536,110,247,168,"FILE;$backgroundpath$/$imgfilename$:a"
    Entry in ExecTBL.ini

    Code:
    "ONFILECLICK","SETVARBYCODE;imgfilename;LISTTEXT",background.skin
    I am going to try replacing the "ONFILECLICK" with "TIMER" see how it works.

    Also this may be a good time to bring up the fact that RRconfig writes background=xxx in rr.ini, while it should be written as backgroundpath=xxx I had to manually edit the rr.ini for the background variable to work correctly.
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  8. #8
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by blk02si View Post
    I finished my new background.skin with Sal's code.

    Here is my working example that is going to be released in shock v6

    In my background.skin

    Code:
    I01,536,110,247,168,"FILE;$backgroundpath$/$imgfilename$:a"
    Entry in ExecTBL.ini

    Code:
    "ONFILECLICK","SETVARBYCODE;imgfilename;LISTTEXT",background.skin
    I am going to try replacing the "ONFILECLICK" with "TIMER" see how it works.

    Also this may be a good time to bring up the fact that RRconfig writes background=xxx in rr.ini, while it should be written as backgroundpath=xxx I had to manually edit the rr.ini for the background variable to work correctly.
    I, now, have both on the preview skin. Skin works as it should now w/ the iList "flicking."

    I don't know why I didn't think of it before as that was how it was set up before I found the "ONFILECLICK" command.

    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

Similar Threads

  1. N TENSE 2nd ANNUAL CAR AND BIKE SHOW JUNE 9th
    By twotone in forum Car Audio
    Replies: 1
    Last Post: 04-14-2007, 12:07 PM
  2. Bootskin problem, doesn't show up
    By guizai in forum Newbie
    Replies: 0
    Last Post: 01-29-2007, 01:13 AM
  3. "state of the art" parts list?
    By kbyrd in forum Newbie
    Replies: 13
    Last Post: 04-29-2005, 11:35 AM
  4. MP3 list
    By Tha Hombre in forum MediaCar
    Replies: 3
    Last Post: 01-19-2004, 06:09 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
  •