mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
f939ef5f02
Changes: * Add KeyboardShortcutsCommand and window * Add SelectAccelerator window * Replace modules/gui.cpp functions with app::KeyboardShortcuts and app::Key with the logic to load/save/handle keyboard shortcuts * Change ui::Accelerator concept: now it represent just one keyboard shortcut, not a set of shortcuts * Remove ui::Accelerator from ui::MenuItem, now the key is associated in app::AppMenuItem and it's a app::Key * Add Command::onGetFriendlyName() to get a user friendly name of the command depending on its parameters
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<!-- Aseprite -->
|
|
<!-- Copyright (C) 2001-2014 by David Capello -->
|
|
<gui>
|
|
<window id="keyboard_shortcuts" text="Keyboard Shortcuts">
|
|
<hbox>
|
|
<vbox expansive="true">
|
|
<hbox>
|
|
<label text="Section:" />
|
|
<combobox id="section" expansive="true" />
|
|
</hbox>
|
|
<view id="menus_view" expansive="true">
|
|
<listbox id="menus" />
|
|
</view>
|
|
<view id="commands_view" expansive="true">
|
|
<listbox id="commands" />
|
|
</view>
|
|
<view id="tools_view" expansive="true">
|
|
<listbox id="tools" />
|
|
</view>
|
|
<view id="actions_view" expansive="true">
|
|
<listbox id="actions" />
|
|
</view>
|
|
</vbox>
|
|
<vbox>
|
|
<button text="&OK" closewindow="true" id="ok" magnet="true" width="60" />
|
|
<button text="&Cancel" closewindow="true" />
|
|
<separator horizontal="true" />
|
|
<button text="&Import" id="import_button" />
|
|
<button text="&Export" id="export_button" />
|
|
<separator horizontal="true" />
|
|
<button text="&Reset" id="reset_button" />
|
|
</vbox>
|
|
</hbox>
|
|
</window>
|
|
</gui>
|