Ticket #558 (closed defect: fixed)

Opened 17 months ago

Last modified 16 months ago

Need a "return to menu" button on the map selection screen

Reported by: Darrell_L Owned by:
Priority: Nice to Have Milestone:
Component: Non-game systems Keywords: simple
Cc:

Description

There is no user friendly way to return to the main menu from the map selection screen, other than to select a map to be loaded and then cancel from there. There needs to be a "Cancel" or "Return to Main Menu" or equivalent button.

Change History

comment:1 Changed 17 months ago by Philip

I think there's already an "X" button in the top right corner of the map selection window. We probably ought to have a more clearly marked way of closing it.

comment:2 Changed 17 months ago by Philip

  • Keywords simple added

comment:3 Changed 17 months ago by Darrell_L

I agree. Relying on the close button as the game's only means of dialog box dismissal is not very user friendly. The close button is not always in the upper-right corner, as it's generally under the control of the "OS", not the app. And 0AD's dialog box corners are also sized and shaped similar to the close button. And one's eyes are typically drawn to the center of the box, not its corners.

comment:4 Changed 17 months ago by Darrell_L

Here's an example change to gui/gamesetup/gamesetup.xml:

  • for object name "onscreenToolTip", change size to "260 100%-40 100%-290 100%"
  • add the following lines as the last "other things" object:
    		<object
    			type="button"
    			style="wheatButton"
    			font="serif-16"
    			size="100%-280 100%-40 100%-143 100%+3"
    			tooltip_style="onscreenToolTip"
    			tooltip="Click this button to return to the main menu."
    		>Main menu
    			<action on="Press"><![CDATA[
    				cancelSetup();
    				Engine.PopGuiPage();
    			]]></action>
    		</object>
    

Here's an example change to gui/gamesetup/gamesetup_mp.xml:

  • add the following lines as the last "pageSelectMode" object:
    			<object type="button" style="wheatButton" size="100%-103 100%-33 100%-3 100%-3">
    				Main Menu
    				<action on="Press"><![CDATA[
    					cancelSetup();
    				]]></action>
    			</object>
    

comment:5 Changed 17 months ago by brian

  • Status changed from new to closed
  • Resolution set to fixed

(In [8078]) Added regular size cancel / close buttons to several menu areas (Fixes #558 and #560)

Moved main menu buttons to top right

comment:6 Changed 16 months ago by anonymous

  • Milestone Unclassified deleted

Milestone Unclassified deleted

Note: See TracTickets for help on using tickets.