Commit Graph

55 Commits

Author SHA1 Message Date
thrust26 c390b40a6d refactored UI ticks 2020-11-12 18:14:26 +01:00
thrust26 a643b3d239 minimized UI redraws and renderings when message is displayed
refactored message creation
2020-11-12 10:43:04 +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 54733946a4 Two minor fixes 2020-07-23 21:12:33 +02:00
thrust26 2e6bb5aa57 started adding playback mode (see #678) 2020-07-23 12:39:22 +02:00
thrust26 16fe6ffcb2 use mapped keys instead of fixed keys in TM UI (resolves #679) 2020-07-22 12:03:31 +02:00
thrust26 f4db583d7f support F12 (snapshot) in TM UI too (implements #679) 2020-07-22 10:29:23 +02:00
thrust26 3107c1e44e Two minor formatting fixes 2020-04-30 16:11:08 +02:00
thrust26 d7f129cefe Part 3 of the changes for #600 (UI fonts) 2020-04-30 09:39:42 +02: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 efc48fba28 Final updates for default initialization.
The debugger is crashing, so now the debugging begins :)
2019-12-29 20:12:37 -03:30
Stephen Anthony f195b36baa More conversions of C-style to std::array.
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -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 414607ce26 Changed Base::Format to Base::Fmt, and made it a scoped enum. 2019-12-21 21:27:18 -03:30
Thomas Jentzsch bef7bbdded propagate 'repeated' to dialogs 2019-08-14 17:25:42 +02:00
Stephen Anthony c2c3c973ed Fix PopupWidget/ContextMenu not positioned correctly in fullscreen mode.
Refactored Rect class.
2019-06-03 19:28:56 -02:30
thrust26 974db3b67d fix #295 2019-06-02 10:34:46 +02:00
thrust26 d352068a03 wind buttons in TimeMachineDialog repeat 2019-06-02 00:15:27 +02:00
thrust26 33c7377f76 implement saving/loading all TM states to/from disk 2019-05-31 14:44:46 +02:00
Stephen Anthony 19c0525f9f GUI support is now conditional in Stella. This is enabled by default for all ports except libretro.
- When disabled, it also disables the debugger and cheatcode support
- UI-wise, this reverts Stella to 1.x functionality (before any internal UI was added)
- Eliminates 47000 lines of code for those ports (like libretro) that don't need it.
2019-05-02 17:58:39 -02:30
Stephen Anthony e34575753a Some cleanups to Widget class. 2019-04-27 22:09:05 -02:30
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
thrust26 5764a73d89 finalized TimeLineWidget for new UI look 2018-02-07 14:55:43 +01:00
thrust26 d24934d010 spelling 2018-02-06 13:14:40 +01:00
thrust26 ad1d37304e aligned button heights and widths 2018-02-06 13:12:21 +01:00
thrust26 564e014620 removed FLAT_UI code from TimeLineWidget
added toggle mode button to TimeMachineDialog
2018-02-06 12:46:27 +01:00
thrust26 1fa00f2372 initial wind when entering TM dialog causes message now
(TODO: try to propagate key into dialog instead)
2018-02-05 19:57:41 +01:00
Christian Speckner f7c445fb7c Merge branch 'release/5.1' 2018-02-04 23:48:45 +01:00
Stephen Anthony 6d16790ce8 Fixed minor warning from Xcode. 2018-02-04 16:14:39 -03:30
Stephen Anthony f29dcfece1 Refactored TimeLineWidget to use uInt32 throughout:
- this fixes issues with signed vs. unsigned in some areas
- it also self-documents, in that the slider should never use negative values
2018-02-04 11:15:42 -03:30
Stephen Anthony 77f2c478a0 Fixed warnings from Xcode (some pretty big issues were caught here) 2018-02-03 20:44:46 -03:30
Stephen Anthony 6c5bddcdf8 Time Machine dialog now resizes correctly:
- in 2x mode, it takes up the maximum amount of space
- in larger modes, it takes up the same relative amount of space: ~80% width
2018-02-03 17:27:52 -03:30
thrust26 cbeeda6f55 added tickmarks to TimeLineWidget (5 intervals)
replaced 3d box with rect for TimeLineWidget
2018-02-02 13:05:41 +01:00
thrust26 6d1c5b1301 removed +/-10 buttons for TimeMachineDialog
updated documentation
2018-02-01 11:18:05 +01:00
Stephen Anthony 86941ad6af Fixed time machine dialog glitches when the state list is empty. 2018-01-30 19:50:29 -03:30
thrust26 eb96e1ca49 reduced TimeMachineDialog transparency
frame stats now always displays the real frameRate
2018-01-30 09:06:03 +01:00
Christian Speckner 87c59db4e0 Merge branch 'release/5.1' 2018-01-29 21:17:00 +01:00
Stephen Anthony b11643881a Intervals on timeline are now graphically proportional to time:
- intervals are only valid when using key shortcuts
 - using the mouse to select/scroll does not show proper proportions yet
2018-01-28 20:11:21 -03:30
thrust26 63acb76911 changed text color (else invisible in Classic mode) 2018-01-28 20:22:04 +01:00
Stephen Anthony de7fd7401b Synchronized shortcuts in TimeMachine to match those from EventHandler. 2018-01-28 12:21:22 -03:30
thrust26 d2177ea610 added extra save state when starting time machine navigation
(some TODOs left, see EventHandler and TimeMachineDialog)
2018-01-28 10:15:39 +01:00
Stephen Anthony 2c90aaa7c7 Timeline and buttons in TimeMachineDialog are now syncronized. 2018-01-27 19:34:26 -03:30
Stephen Anthony 69e41a1434 Initial check-in of Time Machine timeline:
- currently, TimeLineWidget is just a copy of SliderWidget; still have to add a round 'button' to grab the line
 - at some point, we may merge SliderWidget and TimeLineWidget; for now they are separate
 - absolutely no functionality yet; just here for you guys to see how it will look
 - we still need to discuss gridmarks, and how the timeline will change (by state file, by time, etc)
2018-01-21 17:37:07 -03:30
Christian Speckner 6fe5f3b197 Merge branch 'release/5.1' 2018-01-21 09:38:42 +01:00
Stephen Anthony 9441cc43c4 Cherry-picked some commits from master. 2018-01-20 20:45:56 -03:30
thrust26 6f7ff023a6 generic shadowed char/string drawing added
TimeMachineDialog fully transparent now (experimental)
info stats indicates scanline/frame rate changes in red
2018-01-20 20:12:35 -03:30
thrust26 4e3b26cea9 display of current timer divider to debugger added 2018-01-18 13:03:59 +01:00
thrust26 a577b0f9c2 generic shadowed char/string drawing added
TimeMachineDialog fully transparent now (experimental)
info stats indicates scanline/frame rate changes in red
2018-01-16 11:14:26 +01:00
thrust26 b553a5fa4d experiments with transparency 2018-01-03 20:16:50 +01:00