RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    "selectorImagePath" only used as alpha channel?

    Scheduled Pinned Locked Moved Projects and Themes
    themetheme issueselectionbar
    3 Posts 2 Posters 569 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zerobyzeroZ
      zerobyzero
      last edited by

      I'm creating a new theme and I'd like to customize the selection bar by replacing it with an image (for example the typical pointing hand you can see in many Japanese RPGs). In the official theming documentation it says:

      selectorImagePath - type: PATH.
      Path to image to render in place of "selector bar."

      I've added it to my theme .xml and although the image is read, it's only used as the alpha channel for the selection bar so it only has one color (that I can modify by using "primaryColor") with different levels of transparency based on the alpha channel of my input .png.

      Is that the correct behaviour? Am I missing something?

      Regards

      1 Reply Last reply Reply Quote 0
      • paffleyP
        paffley
        last edited by paffley

        If I understand you correct, try this

        <selectorColor>ffffff</selectorColor>
        

        That should set your (selector) image to its original colour?

        1 Reply Last reply Reply Quote 0
        • zerobyzeroZ
          zerobyzero
          last edited by zerobyzero

          That was it! So it seems the selectorColor property is a multiplying value.

          Regards and thank you very much.

          EDIT: You can see the result here alt text

          ...no I can remove the UP/DOWN help from the bottom.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.