Announcement

Collapse
No announcement yet.

Issue with IMG and indicator into an include file

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with IMG and indicator into an include file

    Hello,
    I try to include a file text (with only IMG and Indicators), into a screen with :
    My include file is:
    IMG,561,357,45,41,"$skinpath$button45x41_off.png", OUT
    IMG,561,357,45,41,"$skinpath$button45x41_on.png",O N
    IMG,561,357,45,41,"$skinpath$button45x41_down.png" ,DOWN
    I,567,364,32,27,"gmaps_trafficlayer",,,"Indicators \traffic_*.png"

    IMG,620,357,45,41,"$skinpath$button45x41_off.png", OUT
    IMG,620,357,45,41,"$skinpath$button45x41_on.png",O N
    IMG,620,357,45,41,"$skinpath$button45x41_down.png" ,DOWN
    I,626,364,32,27,"gmaps_bikelayer",,,"Indicators\bi cycle_*.png"

    IMG,678,357,45,41,"$skinpath$button45x41_off.png", OUT
    IMG,678,357,45,41,"$skinpath$button45x41_on.png",O N
    IMG,678,357,45,41,"$skinpath$button45x41_down.png" ,DOWN
    I,685,364,32,27,"gmaps_weatherlayer",,,"Indicators \temperature_*.png"

    IMG,738,357,45,41,"$skinpath$button45x41_off.png", OUT
    IMG,738,357,45,41,"$skinpath$button45x41_on.png",O N
    IMG,738,357,45,41,"$skinpath$button45x41_down.png" ,DOWN
    I,744,364,32,27,"gmaps_cloudlayer",,,"Indicators\c loud_*.png"
    My issue is that i use some .png file as indicators and i have a tranparence on the IMG buttons !
    Click image for larger version

Name:	bug.jpg
Views:	1
Size:	9.1 KB
ID:	2309046

    How can i change that please ?
    Thanks for your help !
    Last edited by pierrotm777; 05-25-2012, 02:53 AM.

  • #2
    1st... does INClude file have anything to do with your issue?
    2nd... how about some real files, to allow people to evaluate
    3rd... most people have the images on the layers, my guess you're trying some dynamic building of buttons or something
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      I send you my skins files!
      I use the command 'setvar;includefile;RRGoogleMapsTools_Ind1.txt" or 'setvar;includefile;RRGoogleMapsTools_Ind2.txt' with a reloadscreen for update my screen !
      Attached Files

      Comment


      • #4
        you didnt give me the indicators
        not to mention these are not RR indicators
        and, you didnt anwser my question, does "inc" have anything to do with the issue you are trying to solve?
        since i dont have the indicators, i cant really see much
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment


        • #5
          i dont know what your trying to achive... but those things arnt defined as buttons... at least i dont see where
          a simplle change woyld be to change ",OUT" to ",ALL"
          -Thanks
          Mitch
          www.rush2112.net

          "Did you test it in carwings??"

          Sun, Come shine my way
          May healing waters bury all my pain
          Wind, Carry me home
          The fabric of reality is tearing apart
          The piece of me that died
          Will return To live again

          Comment


          • #6
            AS you can see into the main RRGoogleMapsTools.skin, the include is a variable ($includefile$):
            RideRunner Skin
            RRScreen RRGoogleMapsTools
            RRGoogleMapsTools_off.png,RRGoogleMapsTools_off.pn g,RRGoogleMapsTools_on.png,RRGoogleMapsTools_down. png
            INC,$includefile$
            I use the indicators as buttons here !
            I use the same screen for two differents Google Maps, so i need to set my variable with the first include or the second !
            setvar;includefile;RRGoogleMapsTools_Ind1.txt" or 'setvar;includefile;RRGoogleMapsTools_Ind2.txt
            My issue is that i use IMG for create a button picture !
            And if i add an indicator on this IMG picture, i have my issue !
            So, this issue not exist because i use the include option but because i use an IMG with an indicator on this IMG.
            I should have certainly this issue with the same code and without include !

            As i haven't a button code but an indicator, i think that i need only to have the first line for my pictures:
            IMG,561,357,45,41,"$skinpath$button45x41_off.png", OUT
            Last edited by pierrotm777; 05-26-2012, 02:49 AM.

            Comment


            • #7
              sorry, i dont see any issue...
              i dont think the include has anything to do with it
              i just put one of your examples in the .skin file, and sure it draws the indicator with the the background
              thats how indicators work, you are applying images to layers, put your images on ALL layers
              not to mention they arent buttons, just images of buttons
              -Thanks
              Mitch
              www.rush2112.net

              "Did you test it in carwings??"

              Sun, Come shine my way
              May healing waters bury all my pain
              Wind, Carry me home
              The fabric of reality is tearing apart
              The piece of me that died
              Will return To live again

              Comment


              • #8
                Originally posted by mitchjs View Post
                sorry, i dont see any issue...
                i dont think the include has anything to do with it
                i just put one of your examples in the .skin file, and sure it draws the indicator with the the background
                thats how indicators work, you are applying images to layers, put your images on ALL layers
                not to mention they arent buttons, just images of buttons
                I know why you don't see the issue.It's because this screen use the indicators that are defined into my last plugin RRGoogleMapsTools.
                So, without this plugin , the indicators are hidden

                Comment


                • #9
                  1st you never answered me, does it being in an include file mean anything...
                  2nd course i dont have your plugin, i just did:

                  in the RRGoogleMapsTools.skin file

                  Code:
                  IMG,561,357,45,41,"$skinpath$button45x41_off.png",ALL
                  IMG,561,357,45,41,"$skinpath$button45x41_on.png",ON
                  IMG,561,357,45,41,"$skinpath$button45x41_down.png",DOWN
                  I,567,364,32,27,"MUTE",,,"Icons\sirius.png"
                  and with the ALL, it draws correctly, and ill mention again, i dont see the point of ON and DOWN, thses IMG arnt defined as buttons in the skinfile...
                  so.. i dont know what your trying to achieve, i dont see anything i need to look at

                  your example is so based on your plugin, who knows, maybe the indicators are a problem in your plugin code.
                  i just used a standard RR indicator with an image
                  -Thanks
                  Mitch
                  www.rush2112.net

                  "Did you test it in carwings??"

                  Sun, Come shine my way
                  May healing waters bury all my pain
                  Wind, Carry me home
                  The fabric of reality is tearing apart
                  The piece of me that died
                  Will return To live again

                  Comment


                  • #10
                    just change your "OUT" to "ALL" since these arnt skin objects of buttons anyway...
                    -Thanks
                    Mitch
                    www.rush2112.net

                    "Did you test it in carwings??"

                    Sun, Come shine my way
                    May healing waters bury all my pain
                    Wind, Carry me home
                    The fabric of reality is tearing apart
                    The piece of me that died
                    Will return To live again

                    Comment


                    • #11
                      Originally posted by mitchjs View Post
                      just change your "OUT" to "ALL" since these arnt skin objects of buttons anyway...
                      Thanks mitchjs, i try that

                      Comment


                      • #12
                        Thanks mitchjs, this is exactly that i wanted !

                        Comment

                        Working...
                        X