Skin Function <onEsc> (1 Viewer)

Pog

Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Problem:

    Many if not all skins today use a hidden / slide menu for extra functions.

    When a user wishes to exit one of these menus they must use up/down/left/right depending on the layout the skin has used. Often it is desirable and logical to be able to close a menu using the ESC / BACK button. All the dialog style menus work this way but hidden / slide menus do not as ESC is not usable by the skin designer.

    Proposal:

    Add a skin control <onEsc> that is functionally equivalent to <onLeft> <onRight> <onUp> <onDown>.

    This can be optionally added to controls by the skin designer without changing or breaking current functionality.

    Control Example:

    <control>
    <description>Menu button</description>
    <type>button</type>
    <id>2</id>
    <onEsc>50</onEsc>
    <onLeft>50</onLeft>
    <onRight>50</onRight>
    <onUp>1</onUp>
    <onDown>3</onDown>
    </control>
     
    Last edited:

    Users who are viewing this thread

    Top Bottom