Commit Graph

158 Commits

Author SHA1 Message Date
thrust26 9aaca0bd4e improved tooltip handling (better delays, rerender instead of redraw)
added tooltip to StringListWidget for shortened texts (e.g. ROM names in launcher)
added code for StaticTextWidget tooltip (without setting widget dirty)
2020-11-18 17:48:19 +01:00
thrust26 d7fe5510bb keep tooltips visible while mouse moves in focus
show tooltips faster when moving from one to another
update tooltip when mouse moves over different widget items
disable tooltip when editing
2020-11-17 12:33:47 +01:00
thrust26 99c0cd66bc added value tool tips to debugger (DataGridWiget, ToogleWidget) 2020-11-16 23:50:10 +01:00
thrust26 120c306286 added initial tool tip functionality
removed duplicate _editMode in DataGridWidget
2020-11-16 12:26:01 +01:00
thrust26 ccdd167fca removed duplicate _editMode variable
fixed missing redraws when StringListWidgets gain focus
prevent focus for disabled widget
2020-11-15 11:03:55 +01:00
Stephen Anthony a030bc30b8 Optimize/simplify dialog shading slightly
- move creation to c'tor
 - apply position and size with one method instead of two
2020-11-14 22:35:05 -03:30
thrust26 1c5d31db60 improved dirty chain detection 2020-11-14 12:07:44 +01:00
thrust26 a81ab40f58 removed special colors and drawing for Dialog in background 2020-11-14 10:03:29 +01:00
thrust26 f52e834455 fixed breakpoints setting in RomListWidget
improved drawing of breakpoints in RomListWidget
made RomListWidget redraw regularly only if in edit mode
2020-11-14 09:43:41 +01:00
thrust26 bcbf0072ea fixed initial focus display 2020-11-13 14:24:52 +01:00
thrust26 15576fe6b1 fixed forced full redraws
force full UI redraw when UI palette changes
2020-11-13 09:36:57 +01:00
thrust26 c787e940f2 fixed rendering, all dialogs are always re-rendered 2020-11-13 08:58:19 +01:00
thrust26 c390b40a6d refactored UI ticks 2020-11-12 18:14:26 +01:00
thrust26 907fc4edf3 minimized ContextMenu redraws
fixed shading caused by ContextMenu
2020-11-12 14:37:50 +01:00
thrust26 9819118b59 replaced shaded UI redraws with shading surface 2020-11-12 14:04:29 +01:00
thrust26 f64285425a split Dialog drawing and rendering and skip drawing render when possible 2020-11-11 23:32:00 +01:00
thrust26 bec842b9d7 removed some superfluous redraws 2020-11-11 18:24:30 +01:00
thrust26 678892e8c7 added blinking cursor 2020-11-11 17:26:40 +01:00
thrust26 49fcb524fd move Widget flags into GuiObject 2020-11-11 08:56:11 +01:00
thrust26 de5233d63b added support of transparent widgets (for TimeMachineDialog) 2020-11-10 23:29:56 +01:00
thrust26 d3b9f52b08 initial commit for #719 2020-11-10 19:53:36 +01:00
thrust26 b355e00561 added static What's New" popup (see #581) (to get things going :-) 2020-07-28 23:47:13 +02:00
Stephen Anthony 1bfcac8a6e Added 'Save' button to GameInfoDialog, to save current properties to a separate .pro file. 2020-06-19 20:07:07 -02:30
Stephen Anthony 328c6821dc Fix warnings from clang. 2020-05-02 16:07:12 -02:30
thrust26 3c8118a947 Part 1 of the changes for #600 (UI fonts) 2020-04-29 14:25:54 +02:00
thrust26 f50cadde04 reversed controller button reaction (now on UP), fixes #567
prevent button read for up after long press
2020-02-02 16:05:24 +01:00
Stephen Anthony 7d23029338 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
Stephen Anthony cf9bd9dd10 First pass at moving to default member initialization.
This fixes potential issues with forgetting to initialize in c'tors.
2019-12-28 21:14:52 -03:30
Stephen Anthony 88c9c15bfa More fixes for warnings from clang-tidy.
Mostly converting C-style arrays to C++.
2019-12-25 20:40:01 -03:30
Stephen Anthony 55b7394144 More fixes for warnings from clang-tidy.
Sorry if these are all over the place; I'm fixing them in the order that the tool finds them.
2019-12-24 17:50:27 -03:30
Stephen Anthony ffdb301a36 Some cleanups suggested by clang-tidy. 2019-12-21 22:38:01 -03:30
Thomas Jentzsch 49c148d7d9 rename some variables 2019-08-15 12:20:10 +02:00
Thomas Jentzsch 2356b22490 convert int into JoyAxis/JoyDir 2019-08-15 11:53:15 +02:00
Thomas Jentzsch b95197e4cc first pass on converting int into JoyAxis/JoyDir 2019-08-15 10:58:11 +02:00
Thomas Jentzsch bd03895556 made EventMode an enum class 2019-08-15 10:12:37 +02:00
Thomas Jentzsch bef7bbdded propagate 'repeated' to dialogs 2019-08-14 17:25:42 +02:00
Thomas Jentzsch 063308ac09 add long button press to launcher for power on options
note: currently this feels more like a hack
2019-08-13 14:06:27 +02:00
Thomas Jentzsch 38088619ee Merge remote-tracking branch 'remotes/origin/feature/controller-mapping' 2019-08-05 10:01:43 +02:00
Thomas Jentzsch 9adb63e59f add mouse wheel zooming to TIA zoom widget in debugger
fix coordinates for handleMouseWheel()
2019-08-02 14:07:05 +02:00
thrust26 6b4645485b allow button as modifier for direction and hat
load/save controller mappings
2019-06-22 10:37:42 +02:00
thrust26 e0be318154 make prompt tab initial tab in debugger
fix Dialog class for R77
2019-06-15 14:47:12 +02:00
Stephen Anthony de42b6b791 Fix signed/unsigned warning in clang. 2019-06-11 13:37:55 -02:30
Stephen Anthony 91312de167 PopupWidget/ContextMenu is now dynamic; one can add items after it is created. 2019-06-08 22:30:19 -02:30
Stephen Anthony c2c3c973ed Fix PopupWidget/ContextMenu not positioned correctly in fullscreen mode.
Refactored Rect class.
2019-06-03 19:28:56 -02:30
Stephen Anthony 1dbd16b9c2 Code cleanup, formatting, etc. 2019-05-28 11:39:49 -02:30
thrust26 19afe74544 allow tab keys to be remapped in menu mode too 2019-05-25 19:39:55 +02:00
thrust26 9442503fe0 add missing modifier to 'eventForKey'
remove default modifier KBDM_NONE
2019-05-25 17:13:12 +02:00
Stephen Anthony e37821cd8a Fix crash in certain cases (most obvious when selecting cart tabs in debugger). 2019-05-23 18:24:00 -02:30
thrust26 206b199ec5 highlight focused widget initially 2019-05-19 12:33:12 +02:00
thrust26 da9385f1a8 add overscan option to StellaSettingsDialog
fix dialog position when overscan is enabled
2019-05-15 20:05:17 +02:00