Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tiled menus #193

Merged
merged 4 commits into from
Oct 15, 2019
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions MOBILE_API.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1965,6 +1965,12 @@
</element>
</enum>

<enum name="MenuLayout" since="6.0">
<description>How the main menu or submenu is laid out on screen</description>
<element name="LIST" />
<element name="TILES" />
</enum>

<struct name="GPSData" since="2.0">
<description>Struct with the GPS data.</description>
<param name="longitudeDegrees" type="Float" minvalue="-180" maxvalue="180" mandatory="true">
Expand Down Expand Up @@ -2406,6 +2412,9 @@
<param name="softButtonCapabilities" type="SoftButtonCapabilities" minsize="1" maxsize="100" array="true" mandatory="false">
<description>The number of soft buttons available on-window and the capabilities for each button.</description>
</param>
<param name="menuLayoutsAvailable" type="MenuLayout" array="true" minsize="1" maxsize="1000" mandatory="false" since="6.0">
<description>An array of available menu layouts. If this parameter is not provided, only the `LIST` layout is assumed to be available</description>
</param>
</struct>

<struct name="WindowTypeCapabilities" since="6.0">
Expand Down Expand Up @@ -4851,6 +4860,10 @@
<param name="keyboardProperties" type="KeyboardProperties" mandatory="false" since="3.0">
<description>On-screen keyboard configuration (if available).</description>
</param>

<param name="menuLayout" type="MenuLayout" mandatory="false" since="6.0">
<description>Sets the layout of the main menu screen. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type.</description>
</param>
</function>

<function name="SetGlobalProperties" functionID="SetGlobalPropertiesID" messagetype="response" since="1.0">
Expand Down Expand Up @@ -5026,6 +5039,10 @@
<param name="menuIcon" type="Image" mandatory="false" since="5.0">
<description>The image field for AddSubMenu</description>
</param>

<param name="menuLayout" type="MenuLayout" mandatory="false" since="6.0">
<description>Sets the layout of the main menu screen. If this is sent while a menu is already on-screen, the head unit will change the display to the new layout type.</description>
joeygrover marked this conversation as resolved.
Show resolved Hide resolved
</param>
</function>

<function name="AddSubMenu" functionID="AddSubMenuID" messagetype="response" since="1.0">
Expand Down