Work on Toggle-Editor-Views with discussion on shortcuts/hotkeys
Bug #1649958 reported by
toptopple
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I created branch "editor-views-1" for the purpose of collaborative work on the subject of the new toggle-able views "Immovables" and "Resources". May proposed and provisional workplan is as follows:
1. Define GUI behaviour and shortcut keys
2. Supply new icons for required buttons and displays
3. Implement GUI elements (buttons, displays, toggle-logic)
4. Implement disable switch for view related painting tools
5. Verify viable algorithms for switching the views
6. Implement "Resources" view incl. related consistency logic
7. Implement "Immovables" view
This bug report is meant for discussions and specifications on the topic.
Related branches
lp://staging/~widelands-dev/widelands/toggle_resources
- GunChleoc: Approve
-
Diff: 337 lines (+107/-74)6 files modifieddata/scripting/editor/editor_controls.lua (+2/-0)
src/editor/editorinteractive.cc (+37/-19)
src/editor/editorinteractive.h (+3/-1)
src/graphic/game_renderer.cc (+7/-13)
src/wui/field_overlay_manager.cc (+13/-28)
src/wui/field_overlay_manager.h (+45/-13)
lp://staging/~widelands-dev/widelands/toggle_immovables
- GunChleoc: Approve
-
Diff: 523 lines (+150/-77)8 files modifieddata/scripting/editor/editor_controls.lua (+8/-2)
src/editor/editorinteractive.cc (+66/-63)
src/editor/editorinteractive.h (+4/-0)
src/graphic/game_renderer.cc (+29/-10)
src/graphic/game_renderer.h (+9/-1)
src/wui/interactive_base.cc (+18/-0)
src/wui/interactive_base.h (+10/-0)
src/wui/mapview.cc (+6/-1)
tags: | added: editor |
summary: |
- Work on Toggle-Editor-Views + Work on Toggle-Editor-Views with discussion on shortcuts/hotkeys |
Changed in widelands: | |
status: | New → Fix Committed |
milestone: | none → build20-rc1 |
To post a comment you must log in.
Re: Setup of keyboard shortcuts
Existing shortcuts:
- f = toggle window / fullscreen display
- h = main menu (options, save, exit, etc.)
- t = tools menu
- p = players menu
- m = mini map
- space-bar = toggle Buildspots view
Inaugurated shortcuts:
- v = toggle Resources view
- b = toggle Immovables view
- g = Terrain menu
- i = Immovables menu
- a = Animals menu
- r = Resources menu