Results 1 to 9 of 9

Thread: Label with word wrap

  1. #1
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671

    Label with word wrap

    Label with word wrap

    Guino would it be easy and possible to make a label with word wrap option for tall labels?


    L69,289,211,400,500,224,223,227,10,"Arial:B","=$TE XTHELP$","word wrap"
    2001 S10 ZR2

    Chucks Skin - to old

  2. #2
    Variable Bitrate
    Join Date
    Jun 2006
    Posts
    348
    Guino -

    Actually my PM as well as what Chuck mentions are kinda the needs. Both would be wonderful but know you are constrained sir. Just wanted to mention that this one as well as the MovieText params would be fantastic.

    Just let us know sir.
    Thx


    Quote Originally Posted by Chuck View Post
    Label with word wrap

    Guino would it be easy and possible to make a label with word wrap option for tall labels?


    L69,289,211,400,500,224,223,227,10,"Arial:B","=$TE XTHELP$","word wrap"

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Chuck, I've added a wrap option for next release, but the "Scroll-up" option is the only current option that wraps the text.
    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."

  4. #4
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Thx guino

    I guess I should have explained myself a little better

    I meant a label with multiple lines with word wrap
    2001 S10 ZR2

    Chucks Skin - to old

  5. #5
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Hey Chuck,

    a quick off topic . . . . Have you got any examples of a button swapping between 3 options. I want to create a menu button that when you press it, changes the button defs on the other 7 buttons. I can get it to work for 2 sets of options, but not for 3 !

    what I mean is

    b1 b2 b3 b4 b5 b6 b7 menu

    When the skin loads up b1 = PREVIOUSTRACK
    Press menu and b1 changes to GPS
    press menu again and b1 changes to GAMMA
    press it again and b1 goes back to PREVIOUSTRACK

    I am trying to get the whole skin managed by a single row of buttons, like my Alpine head unit. Any examples you got would be great.

    cheers master guru
    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

  6. #6
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    PHP Code:
    Single button to change the command for itself

    “BYVAR
    ;SETB1;PREV<<GPS<<GAMMA||BYVAR;SETB1;SETVAR;SETB1;1<<SETVAR;SETB1;2<<;SETVAR;SETB1;0”


    Separate button to change command to anther button
    Set button
    “BYVAR
    ;SETB1;SETVAR;SETB1;1<<SETVAR;SETB1;2<<;SETVAR;SETB1;0”
    command button
    “BYVAR
    ;SETB1;PREV<<GPS<<GAMMA”




    And if you want a text label for that button

    “BYVAR
    ;SETB1;Prev<<GPS<<Gamma”,"CENTER" 
    2001 S10 ZR2

    Chucks Skin - to old

  7. #7
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Also if you want it to save so when you restart RR

    Separate button to change command to anther button
    PHP Code:
    “BYVAR;SETB1;SETVAR;SETB1;1<<SETVAR;SETB1;2<<;SETVAR;SETB1;0||SAVETOINI;SETB1;$SETB1$” 
    2001 S10 ZR2

    Chucks Skin - to old

  8. #8
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Thanks Chuck,

    I knew you were the man to help out, apologies for hi-jacking your thread !

    I will give this a bat and see if I can get it going. I'll let you know

    Cheers Bud,

    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

  9. #9
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Nice 1 mate,

    I'm using the LOADIMG command to load small gif's for the Button "labels", and this is now working a treat, I just need to do the switchbuttons now and I'm sorted.

    For reference for anyone else trying this, here is method used.

    Button command set up in skin

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B01,3,0,99,66,"PREVTRACK","CENTER"
    B02,101,-2,101,68,"FRWD","CENTER"
    B03,199,-2,102,68,"PLAY","CENTER"
    B04,300,-2,101,68,"STOP","CENTER"
    B05,399,-2,102,68,"FFWD","CENTER"
    B06,500,-2,103,68,"NEXTTRACK","CENTER"
    B07,601,0,98,66,"OSK",""
    B08,701,0,98,66,"MNUSwap",""
    B99,687,548,114,49,"EXIT",Center

    Button 8 is a custom command that is defined in Exectbl.ini as follows.

    /, MenuSwap Commands

    "M2B1","LOADIMG;14;8;75;50;M3-B1.gif;Out||LOADIMG;14;8;75;50;M3-B1.gif;Off||LOADIMG;14;8;75;50;M3-B1d.gif;Down||LOADIMG;14;8;75;50;M3-B1d.gif;On"
    "M2B2","LOADIMG;114;8;75;50;M3-B2.gif;Out||LOADIMG;114;8;75;50;M3-B2.gif;Off||LOADIMG;114;8;75;50;M3-B2d.gif;Down||LOADIMG;114;8;75;50;M3-B2d.gif;On"
    "M2B3","LOADIMG;214;8;75;50;M3-B3.gif;Out||LOADIMG;214;8;75;50;M3-B3.gif;Off||LOADIMG;214;8;75;50;M3-B3d.gif;Down||LOADIMG;214;8;75;50;M3-B3d.gif;On"
    "M2B4","LOADIMG;314;8;75;50;M3-B4.gif;Out||LOADIMG;314;8;75;50;M3-B4.gif;Off||LOADIMG;314;8;75;50;M3-B4d.gif;Down||LOADIMG;314;8;75;50;M3-B4d.gif;On"
    "M2B5","LOADIMG;414;8;75;50;M3-B5.gif;Out||LOADIMG;414;8;75;50;M3-B5.gif;Off||LOADIMG;414;8;75;50;M3-B5d.gif;Down||LOADIMG;414;8;75;50;M3-B5d.gif;On"
    "M2B6","LOADIMG;514;8;75;50;M3-B6.gif;Out||LOADIMG;514;8;75;50;M3-B6.gif;Off||LOADIMG;514;8;75;50;M3-B6d.gif;Down||LOADIMG;514;8;75;50;M3-B6d.gif;On
    "M2B8","LOADIMG;714;8;75;50;M3-B8.gif;Out||LOADIMG;714;8;75;50;M3-B8.gif;Off||LOADIMG;714;8;75;50;M3-B8d.gif;Down||LOADIMG;714;8;75;50;M3-B8d.gif;On"
    "M1B1","LOADIMG;14;8;75;50;M2-B1.gif;Out||LOADIMG;14;8;75;50;M2-B1.gif;Off||LOADIMG;14;8;75;50;M2-B1d.gif;Down||LOADIMG;14;8;75;50;M2-B1d.gif;On"
    "M1B2","LOADIMG;114;8;75;50;M2-B2.gif;Out||LOADIMG;114;8;75;50;M2-B2.gif;Off||LOADIMG;114;8;75;50;M2-B2d.gif;Down||LOADIMG;114;8;75;50;M2-B2d.gif;On"
    "M1B3","LOADIMG;214;8;75;50;M2-B3.gif;Out||LOADIMG;214;8;75;50;M2-B3.gif;Off||LOADIMG;214;8;75;50;M2-B3d.gif;Down||LOADIMG;214;8;75;50;M2-B3d.gif;On"
    "M1B4","LOADIMG;314;8;75;50;M2-B4.gif;Out||LOADIMG;314;8;75;50;M2-B4.gif;Off||LOADIMG;314;8;75;50;M2-B4d.gif;Down||LOADIMG;314;8;75;50;M2-B4d.gif;On"
    "M1B5","LOADIMG;414;8;75;50;M2-B5.gif;Out||LOADIMG;414;8;75;50;M2-B5.gif;Off||LOADIMG;414;8;75;50;M2-B5d.gif;Down||LOADIMG;414;8;75;50;M2-B5d.gif;On"
    "M1B6","LOADIMG;514;8;75;50;M2-B6.gif;Out||LOADIMG;514;8;75;50;M2-B6.gif;Off||LOADIMG;514;8;75;50;M2-B6d.gif;Down||LOADIMG;514;8;75;50;M2-B6d.gif;On"
    "M1B8","LOADIMG;714;8;75;50;M2-B8.gif;Out||LOADIMG;714;8;75;50;M2-B8.gif;Off||LOADIMG;714;8;75;50;M2-B8d.gif;Down||LOADIMG;714;8;75;50;M2-B8d.gif;On"
    "M0B1","LOADIMG;14;8;75;50;M1-B1.gif;Out||LOADIMG;14;8;75;50;M1-B1.gif;Off||LOADIMG;14;8;75;50;M1-B1d.gif;Down||LOADIMG;14;8;75;50;M1-B1d.gif;On"
    "M0B2","LOADIMG;114;8;75;50;M1-B2.gif;Out||LOADIMG;114;8;75;50;M1-B2.gif;Off||LOADIMG;114;8;75;50;M1-B2d.gif;Down||LOADIMG;114;8;75;50;M1-B2d.gif;On"
    "M0B3","LOADIMG;214;8;75;50;M1-B3.gif;Out||LOADIMG;214;8;75;50;M1-B3.gif;Off||LOADIMG;214;8;75;50;M1-B3d.gif;Down||LOADIMG;214;8;75;50;M1-B3d.gif;On"
    "M0B4","LOADIMG;314;8;75;50;M1-B4.gif;Out||LOADIMG;314;8;75;50;M1-B4.gif;Off||LOADIMG;314;8;75;50;M1-B4d.gif;Down||LOADIMG;314;8;75;50;M1-B4d.gif;On"
    "M0B5","LOADIMG;414;8;75;50;M1-B5.gif;Out||LOADIMG;414;8;75;50;M1-B5.gif;Off||LOADIMG;414;8;75;50;M1-B5d.gif;Down||LOADIMG;414;8;75;50;M1-B5d.gif;On"
    "M0B6","LOADIMG;514;8;75;50;M1-B6.gif;Out||LOADIMG;514;8;75;50;M1-B6.gif;Off||LOADIMG;514;8;75;50;M1-B6d.gif;Down||LOADIMG;514;8;75;50;M1-B6d.gif;On"
    "M0B8","LOADIMG;714;8;75;50;M1-B8.gif;Out||LOADIMG;714;8;75;50;M1-B8.gif;Off||LOADIMG;714;8;75;50;M1-B8d.gif;Down||LOADIMG;714;8;75;50;M1-B8d.gif;On"

    "MNUSwap",“BYVAR;MenuSwap;MNU0<<MNU1<<MNU2||BYVAR; MenuSwap;SETVAR;MenuSwap;1<<SETVAR;MenuSwap;2<<SET VAR;MenuSwap;0”

    "MNU2","M2B1||M2B1||M2B2||M2B3||M2B4||M2B5||M2B6|| M2B8||SETVAR;MenuSwap;0"
    "MNU1","M1B1||M1B1||M1B2||M1B3||M1B4||M1B5||M1B6|| M1B8||SETVAR;MenuSwap;2"
    "MNU0","M0B1||M0B1||M0B2||M0B3||M0B4||M0B5||M0B6|| M0B8||SETVAR;MenuSwap;1"

    MNUSwap in turn runs three other custom commands. I set it up this way to be able to debug it easier.

    These custom commands loadimages on top of each other, for each of the buttons, then resets the variable for the next time around.

    I'll edit this post when I get the switchbuttons working !

    Thanks again m8
    KPJUK
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

Similar Threads

  1. Debugger Label Idea
    By lostreception in forum Road Runner
    Replies: 3
    Last Post: 09-08-2006, 01:58 AM
  2. Replies: 16
    Last Post: 06-08-2006, 12:29 PM
  3. Label that will toggle LABELCODE possible ?
    By Passe in forum RR Skins
    Replies: 8
    Last Post: 05-20-2006, 11:09 AM
  4. The word "Radio" is gone!!
    By djchicago in forum Centrafuse
    Replies: 3
    Last Post: 12-29-2005, 10:17 PM
  5. M1-ATX - Q2 part label - please help
    By cclass in forum Power Supplies
    Replies: 8
    Last Post: 08-07-2005, 01:14 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
  •