Commit Graph

121 Commits

Author SHA1 Message Date
thrust26 ed13b21402 added a full render when event WINDOW_EXPOSED and WINDOW_RESIZED are handled
stopped screen from changing frames when 'Pause' is displayed
2020-11-13 19:53:19 +01:00
thrust26 2505201b4b fixed UI palette update crash
fixed garbage when switching state in fullscreen modes
2020-11-13 16:00:19 +01:00
thrust26 2e5812ee2d fixed #686 (launcher losing navigation) 2020-07-29 10:56:48 +02:00
Stephen Anthony 5f2811f2c4 Almost all file I/O now goes through FilesystemNode::read/write, instead of raw C++ fstreams.
This allows data to be stored in a ZIP archive and for Stella to use it as if it were a normal file.
Still TODO is add ZIP write support.
2020-07-25 12:57:12 -02:30
thrust26 ad930ef34b Added new interface palette 'Dark' 2020-06-21 15:58:58 +02:00
thrust26 208969fcbe refactored Video and Audio dialogs into common dialog
created new EmulationDialog
(re)moved some includes to reduce compile time
2020-05-11 16:15:12 +02:00
thrust26 8fc7413d8f improved VideoDialog alignment
moved "Center Windows" to UIDialog
2020-05-10 12:46:54 +02:00
thrust26 ad3f86796a adjust minimal launcher size based on dialog font 2020-04-30 11:24:10 +02:00
thrust26 d7f129cefe Part 3 of the changes for #600 (UI fonts) 2020-04-30 09:39:42 +02:00
thrust26 3c8118a947 Part 1 of the changes for #600 (UI fonts) 2020-04-29 14:25:54 +02:00
thrust26 93e81f180a remove new default path button
replace with an UI option, which lets "romdir" automatically follow the launcher path
2020-04-05 21:30:38 +02:00
thrust26 fbe90f0b91 add 3 large fonts (Terminus 12x24, 14x28 and 16x32)
use 12x24 font for R77 (launcher and dialogs)
improve font selection for ROM info viewer
minor fix for convbdf.c
2020-03-15 17:16:37 +01:00
thrust26 fc3754bf6a replace launcher font value "small medium" with "small_medium" 2020-03-14 13:52:37 +01:00
thrust26 934cc11a77 replace launcher's small font with bold version
add 'small medium' font to launcher font options
doc update for variable ROM viewer widths and new launcher font size
2020-03-14 11:14:24 +01:00
thrust26 d5da21ed24 aligned ROM viewer's UI default to Settings.cxx default 2020-03-12 17:11:50 +01:00
thrust26 83f34f14e3 UI now allows to select ROM info width as 0..100%
(the actual limits and ROM info fonts are determined when the launcher is created)
2020-03-12 17:01:45 +01:00
thrust26 f93adc2e7a initial commit before refactoring 2020-01-19 15:45:32 +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 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 19c1f3f5a3 Entering an uppercase char (ie, hold Shift) on the first character in
file listings now selects among directories; use lowercase to select among
files (fixes #160).

Refactored relevant code from ListWidget to FileListWidget, where it more
properly belongs.

Updates to docs (new info, typo's, etc).
2019-08-23 22:08:06 -02:30
Stephen Anthony ad4c7142a1 Make launcher minimum size in UI match what is used in the actual code. 2019-08-20 13:21:41 -02:30
Thomas Jentzsch 71423c5ffe make controller repeats configurable in UIDialog 2019-08-10 17:45:50 +02:00
thrust26 d2f6ae67d9 fix #353 2019-06-17 21:05:31 +02:00
Stephen Anthony 91312de167 PopupWidget/ContextMenu is now dynamic; one can add items after it is created. 2019-06-08 22:30:19 -02:30
thrust26 72cf0dd806 renamed 'setTickmarkIntervals' 2019-05-14 22:52:06 +02:00
thrust26 383581deaf fix widget alignment in UIDialog 2019-05-13 20:14:25 +02:00
thrust26 918f8b8890 add restart info text for HiDPI mode 2019-05-13 19:52:59 +02:00
thrust26 81901d6d0a add hidpi option checkbox to UIDialog 2019-05-13 19:04:39 +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
thrust26 90857e74e6 allow to position dialogs centered and in corners 2019-05-01 17:19:40 +02:00
Stephen Anthony e34575753a Some cleanups to Widget class. 2019-04-27 22:09:05 -02:30
Stephen Anthony d09b6329c9 Consolidate some constants into actual enumerations/namespaces.
- Certain parts of the code referred to int literals, when they should use named constants instead
- Different classes had enumerations for the same quantities; this is now fixed
- Basically, TIAConstants and FrameBufferConstants now contain all constants, and their relationship is clearly indicated (previously it wasn't as clear)
2019-03-10 15:19:30 -02:30
Stephen Anthony 51981d633d When compiled for R77, use 'minimal_ui' mode. 2019-03-09 14:35:22 -03:30
Stephen Anthony 8856789438 Fixed minor compile error in Linux. 2019-03-02 15:28:00 -03:30
thrust26 21da4a6388 move ROM path selection into UIDialog
deleted ConfigPathDialog class (TODO: update non VS project files)
2019-03-02 19:04:18 +01:00
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
Stephen Anthony ae69545056 Classes that have unique_ptr in headers can't also have defaulted d'tors.
I haven't figured out exactly why this is yet, but compilation fails in gcc and clang otherwise.
2018-12-30 10:23:16 -03:30
thrust26 c1d5020ea0 Partial fix for #399, sometimes(!) the initial tab has the correct widget focused 2018-12-29 23:30:12 +01:00
thrust26 503d861c2e optimized some tickmarks (number now based on value range) 2018-09-06 15:39:08 +02:00
Stephen Anthony a2d7ac188b Dynamic dialogs are now correctly sized according to the current window size.
- This fixes issue 367, and allows Logger and Browser dialogs to be displayed
2018-08-29 11:40:21 -02:30
thrust26 dc630b4dd6 Revert "fixed #367"
This reverts commit 79fd588f8a.
2018-08-29 15:37:10 +02:00
thrust26 7dd433a116 fixed size of `BrowserDialog` (may be refactored) 2018-08-29 15:05:36 +02:00
Stephen Anthony 8c7488914d Fix some warnings generated by cppcheck (a C++ linter). 2018-08-27 11:09:03 -02:30
thrust26 67785c34c5 made upper and lower case more consistent 2018-08-19 10:08:11 +02:00
Stephen Anthony c05fa1989f Fix compile error in clang; something to do with unique_ptr can't have default d'tor. 2018-08-17 16:31:05 -02:30
thrust26 13c616c4c8 moved ROM viewer image path settings into UIDialog 2018-08-17 20:44:50 +02:00
thrust26 77c8da55f3 fixed UI dialog defaults
updated UI dialog docs
2018-08-16 19:20:14 +02:00
thrust26 4bc3373b37 made UI theme change immediate 2018-08-12 23:01:43 +02:00
thrust26 6cafbba3e4 Added tickmarks to sliders. 2018-07-31 17:51:53 +02:00
Stephen Anthony e691853f0e First pass at fixing superfluous re-draws in the UI.
- This addresses issue 158, and reduces CPU usage to near 0% when no changes are happening
- This returns the code to the same performance levels as version 3.x.
2018-07-25 08:48:21 -02:30