Results 1 to 6 of 6

Thread: Use a Main screen with buttons or labels in option by Includes files

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,844

    Use a Main screen with buttons or labels in option by Includes files

    Hello,
    Always for my last plugin, i should like to know if i can create a main screen as my RRGoogleMapsTools.skin
    with a minimum of buttons, labels, indicators, etc.. and have the possibility to add on the fly (with a reloadscreen),some other buttons, labels and indicators ?

    I have tried that:
    My main skin:
    RideRunner Skin
    RRScreen RRGoogleMapsTools
    RRGoogleMapsTools_off.png,RRGoogleMapsTools_off.pn g,RRGoogleMapsTools_on.png,RRGoogleMapsTools_down. png

    INC,RRGoogleMapsTools_INC_GpsToAdd.skin

    ...

    END
    and my include skin:
    [Png Files]
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_D own.png",down
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_O ff.png",off
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_O n.png",on
    [Labels]
    L07,18,504,291,25,255,255,255,14,"Arial:BI","=$GOA DDRESS$","SCROLL-LEFT",,"DS=3,3,0,0,0"
    L08,357,504,35,25,255,255,255,14,"Arial:BI","=Go", "CENTER",,"DS=2,2,0,0,0"
    L09,449,504,84,25,255,255,255,14,"Arial:BI","=Add/Del","CENTER",,"DS=2,2,0,0,0"
    [Buttons]
    B03,5,495,327,43,"BYVARX;WhatdoYouWant;(OSKTOVAR;G OADDRESS<<gmaps_placetypetosearch)",
    B04,338,493,73,48,"GMAPS_GOADDRESS",
    B05,415,493,132,48,"GMAPS_ADDMARKER",@GMAPS_DELMAR KER@

    [Indicators]
    I12,426,502,27,27,"FILE;$skinpath$Indicators\gmaps vartypetosend_00.png"
    I have seen that the INC option accept to define the name of the file to include but 'only effective on first load'.
    That whould be a cool option for me but that don't accept the reloadscreen only !

    I have a big issue when the png are include (IMG,...) because when the screen is loaded , the png are not full (see pictures)!


    Thanks for your help
    Attached Images Attached Images   

  2. #2
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,844
    Ok,,
    I think that i have found a solution for my issue with the PNG files:
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_D own.png",down
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_O ff.png",all
    IMG,0,492,545,45,"RRGoogleMapsTools_INC_GpsToAdd_O n.png",on

  3. #3
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,844
    Ok,
    If i use the INC with a variable, i can cahnge with a reloadscreen all that i want and i love that !
    setvar;includefile;RRGoogleMapsTools_INC_GpsToAdd. skin||reloadscreen
    and
    setvar;includefile;Test.skin||reloadscreen

    Run very well and not only when RR is loaded !

    So, into the Skin Commands.txt file:
    /, (INC) Include Section
    /, Include FileName
    INC,myfile.skin

    The above allows you to include a file (within the skin path) with common definitions for the skin.
    The file format is the same defined here, except that it should not have the header section (first 3 lines)
    and should not have the END marker. The specified file will be loaded at the position of the INC line defined.
    You can also use variables to define the name of the file to include -- only effective on first load!
    Is WRONG !

  4. #4
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    "Only effective on first load" does not mean on first start of RR.
    When you issue the command reloadscreen you're back to FIRSTLOAD of that screen.

  5. #5
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,844
    Quote Originally Posted by MGD View Post
    "Only effective on first load" does not mean on first start of RR.
    When you issue the command reloadscreen you're back to FIRSTLOAD of that screen.
    In fact
    Sorry !

    Thanks for your help !

  6. #6
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Glad to be of service...

Similar Threads

  1. Scrolling Labels and Buttons
    By ThunderStick in forum Road Runner
    Replies: 3
    Last Post: 07-20-2009, 10:23 PM
  2. Buttons are missing their labels
    By peripheralman in forum Road Runner
    Replies: 3
    Last Post: 03-14-2009, 09:44 PM
  3. 1 Skin with 594 labels and 87 buttons
    By Chuck in forum Road Runner
    Replies: 8
    Last Post: 05-15-2006, 03:30 AM
  4. Rotating Labels and buttons
    By Enforcer in forum RR Bug Tracker
    Replies: 12
    Last Post: 12-02-2005, 04:37 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
  •