Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 71

Hybrid View

  1. #1
    Master
    Join Date
    Aug 2011
    Location
    uk
    Posts
    167
    Rep Power
    754

    Default Removing conflicting features/functions 4 0f 5

    6/

    Function - placing buttons on main navigation screen


    It is necessary to the modify the side list , this is the 'framework' needed to insert buttons


    Remove from morco_button.ui

    Code:
    Please Login or Register to see the links
    The modification is made to the navigatemap.ui, here, in the Data.zip

    Code:
    Please Login or Register to see the links
    the '<insert into="TABLE">
    ' code instructs the buttons to insert exactly here with these other buttons

    Code:
    Please Login or Register to see the links
    ----------------------------------------------------------------------------------------------------

    7/

    function - Automatic Overview On/Off button on screen


    remove from morco_button.ui
    Code:
    Please Login or Register to see the links
    This is the 'Automatic Overview On/Off button' insertion and code for its function - 'ONRELEASE={invert(%lua.OverViewModeOn)}'.


    Spoiler: note
    1/
    'ONLONGCLICK=sc_RouteSettings' - is a shortcut to the routesettings window, on long press of button

    2/

    ~~~~~~~~~~~~~ is the '<TEXT CLASS="postcode" >' and the seven other entries that are atached to this button but are not part of its function. (Will be explained in a later post)


    remove from morco_button.css

    Code:
    Please Login or Register to see the links
    This code instructs what image to display on the button

    it reads-

    Is the Automatic overview on ?, if yes then display the "ico_zoomout_graph.svg" image if not then display the "ico_zoomin_graph.svg"

    These images are found in 'the skin UX', res, the_dark/the_bright, nodpi

    Spoiler: note
    Automatic overview off- view stays close to road, displays 'ico_zoomin_graph.svg' ( + inside magnifying glass)


    -------------------------------------------------------------------------------------------------------------------

    8/
    Function - Volume mute button



    Similar to above

    remove from morco_button.ui

    Code:
    Please Login or Register to see the links
    Spoiler: note
    'ONLONGCLICK=btn_AvoidRouteAhead_Onrelease' - is a long press shortcut to the avoid route ahead 'window'


    remove from morco_button.css

    Code:
    Please Login or Register to see the links
    Spoiler: note
    'visible%lua.muteb)'- This button is only visible if it has been selected 'ON', see morco_button.ui - <row text="Mute Button" type="ChkOnOff" isselected="lua.muteb" >


    remove from morco_button.ui

    Code:
    Please Login or Register to see the links
    remove from morco_button.lua

    Code:
    Please Login or Register to see the links
    function of this line was explained post #8 (side note at bottom)

    Spoiler: note
    ico_muteStatus.svg and ico_sound.svg images can be found in the Data.zip nodpi image folder

    Last edited by morco; 16th November 2019 at 11:29 AM.

  2.    Advertissements


 

 

Tags for this Thread

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
  •