patchBos Wars - Patches: patch #7197, Add a hot key for the "Show...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #7197: Add a hot key for the "Show terrain attributes" check box in the editor menu

Submitted by:  Kalle Olavi Niemitalo <kon>
Submitted on:  Mon 17 May 2010 11:37:25 PM UTC  
 
Open/Closed: OpenStatus: None
Assigned to: None

Sat 22 May 2010 09:08:10 AM UTC, comment #1:

I added the check box itself in r9864 but it doesn't have a hot key yet. New patches attached.

(file #20579, file #20580, file #20581)

Kalle Olavi Niemitalo <kon>
Project Member
Mon 17 May 2010 11:37:25 PM UTC, original submission:

A series of three patches for trunk r9859. The purpose being to make the terrain-flags-as-colors feature of the map editor easier to discover.

I'm not pushing this straight to svn because I'm not sure command keys should be localized like this, especially with bug #29094. However, the alternatives aren't nice either. If we hardcode 't' as the command key and advise translators to use 't' also as the hot key of the check box, then the translators may have to change the hot key of "Exit to menu" in order to prevent a clash. Or, if we don't advise translators that way, then the 't' command key will be visible nowhere, unless we also add a help screen in the editor.

Kalle Olavi Niemitalo <kon>
Project Member

 

Attached Files
file #20580:  0002-Add-UI-HotKeyOfCaption-for-Lua.patch added by kon (4kB - text/x-patch - PATCHv2)
file #20559:  0001-Support-implicit-hot-keys-for-check-boxes.patch added by kon (15kB - text/x-patch - patch v1 in three parts)
file #20560:  0002-Add-UI-HotKeyOfCaption-for-Lua.patch added by kon (4kB - text/x-patch - patch v1 in three parts)
file #20561:  0003-Add-Show-terrain-attributes-check-box-in-editor-menu.patch added by kon (13kB - text/x-patch - patch v1 in three parts)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kon (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 May 2010 09:08:10 AM UTCkonAttached File-=>Added 0001-Support-implicit-hot-keys-for-check-boxes.patch, #20579
      Attached File-=>Added 0002-Add-UI-HotKeyOfCaption-for-Lua.patch, #20580
      Attached File-=>Added 0003-Add-hot-key-for-Show-terrain-attributes-in-editor-me.patch, #20581
      SummaryAdd "Show terrain attributes" check box in editor menu=>Add a hot key for the "Show terrain attributes" check box in the editor menu
    Mon 17 May 2010 11:37:25 PM UTCkonAttached File-=>Added 0001-Support-implicit-hot-keys-for-check-boxes.patch, #20559
      Attached File-=>Added 0002-Add-UI-HotKeyOfCaption-for-Lua.patch, #20560
      Attached File-=>Added 0003-Add-Show-terrain-attributes-check-box-in-editor-menu.patch, #20561

    Back to the top


    Powered by Savane 3.1-cleanup