Results 1 to 2 of 2

Thread: How do I setup multiple custom indicators?

  1. #1
    Maximum Bitrate wysocki's Avatar
    Join Date
    Mar 2004
    Location
    Los Angeles Area
    Posts
    467

    How do I setup multiple custom indicators?

    Sorry for the newbish type of post, but it's been a while since I've skinned and I'm confused about how to do this. I have a skin with eight buttons on it, and I want to have an indicator light up on each button that shows the last one pressed. I created a "light.gif" file but I'm having problems getting it to show up on the last button I press (like "radio buttons"). Actually, could someone even explain just how an indicator does its thing? That might get me on the right path.
    Epia-M II M10000 Nehemiah WinXP sp2 Travla C134 case Carnetix 1260 power Xenarc 700TS XM Direct Toslink Extigy USB 5.1 Garmin GPS18 Linksys 802.11g wireless Nokia 6230 Bluetooth Memphis Amps Focal Speakers Frontend: RoadRunner

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Most of the time, when indicators are put inside buttons the problem is that the drawing of the button overrides the indicator drawing. I would suggest making your indicator either surrounding your button area OR outside the button OR make it BLINK (using :B).. this will ensure it's visible when ON...

    Other than that, if you're really gonna load it from a file, the easiest thing is to load them with the IMG definition in the .skin file.. then just toggle it on/off as usual.. this would be a 2 button example:

    / Buttons
    B1,0,0,100,100,"CMD1||RESETINDS||SETIND;!MYIND1;ON ",""
    B2,0,0,200,100,"CMD2||RESETINDS||SETIND;!MYIND2;ON ",""

    / Images (for the indicators)
    IMG,120,0,50,50,"LIGHT.GIF",ON
    IMG,120,200,50,50,"LIGHT.GIF",ON

    / Indicators
    I1,120,0,50,50,"!MYIND1"
    I2,120,200,50,50,"!MYIND2"

    in ExecTBL (in the skin's folder for instance):

    "RESETINDS","SETIND;!MYIND1;OFF||SETIND;!MYIND2;OF F"

    Note that I defined the Indicators OUTSIDE the buttons, if you want them inside, then add :B in the quotes for the I1 and I2 definitions (for them to Blink):

    I1,120,0,50,50,"!MYIND1:B"
    I2,120,200,50,50,"!MYIND2:B"
    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."

Similar Threads

  1. REQUEST: Run Multiple RR instances
    By Jarrod in forum Road Runner
    Replies: 33
    Last Post: 12-21-2008, 07:54 AM
  2. New in box never used Aopen MP915B complete setup for sale!
    By 1wickd6 in forum Classified Archive
    Replies: 1
    Last Post: 06-06-2006, 10:19 PM
  3. Carputer setup critique?
    By carterparks in forum General Hardware Discussion
    Replies: 7
    Last Post: 12-30-2004, 11:08 AM
  4. help with my wifi setup?
    By ŠuTcH in forum Wireless Communications
    Replies: 4
    Last Post: 12-05-2004, 11:10 PM
  5. How fast of a computer needed for dual monitor (GPS & DVD) setup
    By mykolJay in forum General Hardware Discussion
    Replies: 6
    Last Post: 09-23-2004, 03:29 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
  •