Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-04 | GUI: Introduce dynamic layouts | Bastien Bouclet | |
Prior to this change, a GUI layout was only affected by the screen size. Now, a layout can additionally be influenced by the GUI dialog and widgets that uses it. This capability is leveraged to implement the following features: * Layout elements that are not bound to a GUI widget do not take space. This means that dialogs where the widgets shown depend on for example a feature being enabled at configure time no longer have blank spaces. * Widgets can define a minimal required size for their contents not to be cut. For now this is only used for buttons so their width is always sufficient for their caption not to be cut. This mechanism could be applied to other widget types in the future. | |||
2018-01-27 | GUI: Remove Dialog::markAsDirty to expose full GUI redraws | Bastien Bouclet | |
2018-01-27 | GUI: Implement dirty-checking for widget redraws | Bastien Bouclet | |
2014-10-26 | KEYMAPPER: Fix off-by-one error with keymapper action names | Eugene Sandulenko | |
2014-02-20 | KEYMAPPER: Have clicking on another remap button disable remapping | Matthew Hoops | |
Prevents the remapping code from being activated twice (throwing an assertion) | |||
2014-02-18 | KEYMAPPER: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-06-06 | ALL: Fix typo (succesful -> successful) | Willem Jan Palenstijn | |
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this. | |||
2012-03-02 | KEYMAPPER: Add delays for *UP events coming from non-keys | Tarek Soliman | |
Delayed entries are in a queue where each entry stores how many milliseconds should pass based on the last entry. | |||
2012-03-02 | KEYMAPPER: Map non-key custom input events | Tarek Soliman | |
This also makes the keymapper be in charge of keymapping logic | |||
2012-03-02 | KEYMAPPER: Add non-key inputs to HardwareInput | Tarek Soliman | |
2012-02-28 | KEYMAPPER: HardwareInputSet now has defaults | Tarek Soliman | |
Ports can add additional special keys. SDL no longer carries the static tables. Default behavior unchanged: HardwareInputSet() still gives an empty one. | |||
2012-02-28 | KEYMAPPER: Move HardwareInputSet implementation out of header file | Tarek Soliman | |
2012-02-27 | KEYMAPPER: Rename HardwareKey to HardwareInput | Tarek Soliman | |
2012-02-22 | KEYMAPPER: Fix a signed/unsigned comparison warning | Tarek Soliman | |
2012-02-22 | KEYMAPPER: Change HardwareKey id to Common::String | Tarek Soliman | |
2012-02-21 | KEYMAPPER: Clean up more dead code | Tarek Soliman | |
More automapper related dead code | |||
2012-02-21 | KEYMAPPER: Remove automapping dead code | Tarek Soliman | |
2012-02-20 | KEYMAPPER: Add some comments | Tarek Soliman | |
2012-02-20 | KEYMAPPER: Change how keymaps are displayed in the remap dialog | Tarek Soliman | |
This makes it so that there's 2 groups: 1 - The keymap stack 2 - The loaded keymaps The first group displays which keymaps are active and which keymaps are completely blocked due to an opaque keymap on top. The second group displays which loaded keymaps store their mappings globally and which ones store their mappings per-target. | |||
2012-02-20 | KEYMAPPER: Rewrite the EventMapper API | Tarek Soliman | |
2012-02-20 | KEYMAPPER: EventMapper must now eat all events | Tarek Soliman | |
2012-02-15 | KEYMAPPER: Allow ports to define default Keymap Action bindings | Tarek Soliman | |
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) | |||
2012-02-15 | JANITORIAL: Fix whitespace in pointer template arg | Tarek Soliman | |
2012-02-15 | KEYMAPPER: Make some parameters const | Tarek Soliman | |
2012-02-12 | KEYMAPPER: Allow ports to define their own global keymap | Tarek Soliman | |
2012-02-12 | KEYMAPPER: Refactor HardwareKeySet generation | Tarek Soliman | |
2012-02-09 | KEYMAPPER: Fix re-selecting the top keymap | Tarek Soliman | |
Re-selecting the top entry would always populate the actions from the GUI keymap since it is the active keymap (the remap dialog itself is GUI) The top keymap was correct during RemapDialog::open() because the gui keymap had not been pushed to the stack yet. | |||
2012-02-09 | KEYMAPPER: Display active keymap stack in remap dialog popup list | Tarek Soliman | |
This should make it clear what keymaps are on the stack and in what order. Also renamed the label of the top "special" entry in the list to "(Effective)" since it displays the top keymap's action and also displays reachable mapped actions from other active keymaps. | |||
2012-02-05 | KEYMAPPER: Fix active keymap name displayed in remap dialog | Tarek Soliman | |
This workaround no longer applies and is in fact causing a bug in the name of active keymap | |||
2012-02-04 | KEYMAPPER: Fix annoying debug message | Tarek Soliman | |
2012-02-02 | KEYMAPPER: Handle EVENT_MAINMENU directly | Tarek Soliman | |
2012-02-02 | KEYMAPPER: Allow simple events to be added to an Action | Tarek Soliman | |
This also simplifies the Action code a little bit | |||
2012-01-07 | KEYMAPPER: Add failsafe code for popping into Keymapper itself | Tarek Soliman | |
Thanks LordHoto | |||
2012-01-07 | KEYMAPPER: Constantify global keymap name | Tarek Soliman | |
2012-01-07 | KEYMAPPER: Rename inherit flag to transparent | Tarek Soliman | |
Less confusing | |||
2011-12-30 | KEYMAPPER: Remap dialog shows buttons before labels | Tarek Soliman | |
2011-12-30 | KEYMAPPER: Use single column in remap dialog | Tarek Soliman | |
This is to allow for long labels like in the eob keymap | |||
2011-12-30 | KEYMAPPER: Fix clear button behavior in remap dialog | Tarek Soliman | |
This is a regression from 1b11139dc53da2dc95f74eb19e3a903d7d786f84 | |||
2011-12-30 | KEYMAPPER: Simplify calling getKeymap | Tarek Soliman | |
2011-12-30 | COMMON: Perform some keymapper-related changes to the KeyState struct | Filippos Karapetis | |
The == operator in KeyState should not be checking for sticky modifier keys. This allows the keymapper's defined actions to function correctly in desktop platforms, when sticky modifier keys such as caps lock and num lock are turned on. Also, added some sanity checks to hasFlags() and enums for sticky and non-sticky keys | |||
2011-12-30 | KEYMAPPER: Use hasFlags() in findHardwareKey() | Filippos Karapetis | |
2011-12-30 | KEYMAPPER: Disable the (accidentally reenabled automatic mapper again | Filippos Karapetis | |
2011-12-30 | KEYMAPPER: Fix broken implementation of findHardwareKey() | Filippos Karapetis | |
This fixes the keymapper dialog (at least on desktop platforms), but the keymapper itself is still not working (tested with LoL) | |||
2011-12-13 | KEYMAPPER: Switch to using addClearButton() | Tarek Soliman | |
2011-12-12 | KEYMAPPER: Add Common::KeyActionEntry for making simple keymap tables | Tarek Soliman | |
2011-11-02 | Revert "KEYMAPPER: Make global keymap that is always active" | Tarek Soliman | |
This reverts commit ac85d134b31f770f27d085c0fe4c307e278c1875. | |||
2011-10-28 | KEYMAPPER: Improved clear button | Tarek Soliman | |
It uses the fancy new kImageEraser now | |||
2011-10-28 | KEYMAPPER: Add tooltip text for clear buttons | Tarek Soliman | |
2011-10-27 | KEYMAPPER: Only skip the top GUI keymap when populating the active keymap | Tarek Soliman | |
This is because the top GUI keymap is for the keymapper dialog itself. If all GUI keymaps are skipped then when inside a game with the GMM displayed and the keymapper dialog invoked, the game keymap is displayed even though it is not the active one. |