Commit Graph

81 Commits

Author SHA1 Message Date
thrust26 c390b40a6d refactored UI ticks 2020-11-12 18:14:26 +01:00
Stephen Anthony be85557e6b Fix warnings from Clang 11.
Apparently d'tors in child classes should now be marked override rather than virtual (to match other methods).
So we do that specifically now.
2020-08-17 10:38:43 -02:30
thrust26 ea90ec84aa added 'What's New' button to 'About' dialog 2020-07-29 15:52:50 +02: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 7532fbf88a Some more header file cleanups, hopefully resulting in faster compile
times.
2020-05-12 13:52:33 -02:30
thrust26 a8789f9a6d fix #623 (Rom info too large) 2020-04-29 09:23:55 +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 4c8549fc14 allow changing default ROM path directly in launcher (resolves #610) 2020-04-04 11:25:02 +02:00
Stephen Anthony fe33c0e530 Fix 'ROM Audit' mode not getting current active directory. 2020-03-15 19:14:57 -02:30
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 25ffced003 refine ROM viewer font size calculation
define zoom factor for R77
2020-03-14 09:55:58 +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
Stephen Anthony b02a58e4ea Changed 'romviewer' option to be treated as a multiplier for the zoom level of snapshots.
Old settings will still work (0 means off, 1 or 2 mean 1x and 2x zoom).  Floats are now supported too,
so we get fractional scaling.

Still TODO is update the UI to modify this setting.
2020-03-11 18:33:12 -02:30
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 3cc16626e8 All functionality now restored to FileListWidget (pattern matching, ROMs only, etc).
This now uses a lambda function, which is more versatile.  Eventually we may even add regular expressions.
2019-08-17 21:13:15 -02:30
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 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
Stephen Anthony cfb62862c1 Going upwards in file list now selects each previous directory.
Still TODO is determine if it's worth the effort to do the same when descending directories.

Finally getting back to development again.
2019-07-19 13:52:57 -02:30
Stephen Anthony 4f30a183ec More reworking of the file selection mechanism.
- removed GameList, and integrated functionality directly into 'FSList' (which was mostly doing the same thing)
- have FSNode::getChildren() relabel directories, instead of Browser and Launcher dialogs
- MD5 calculations in ROM launcher are now cached, instead of being recalculated each time a directory is left and re-entered

Windows and macOS likely broken for a moment; this will be fixed next.
2019-06-22 21:09:42 -02:30
thrust26 95f9398d9e Merge branch 'master' of https://github.com/stella-emu/stella into feature/controller-mapping 2019-06-22 10:55:21 +02:00
thrust26 6b4645485b allow button as modifier for direction and hat
load/save controller mappings
2019-06-22 10:37:42 +02:00
Stephen Anthony 3daa042576 First pass at converting LauncherDialog to use FileListWidget, similar to BrowserDialog.
- FileListWidget is a newer development, and LauncherDialog duplicates some (but not all) of its functionality
- Similarly, BrowserDialog has some functionality that LauncherDialog does not
- We will implement all required functionality in FileListWidget, and have both classes use it.

BrowserDialog is currently slightly broken; not all functionality is reimplemented yet.
2019-06-21 14:51:55 -02:30
Stephen Anthony 4348bd8edd Fix missing 'override's. 2019-05-01 12:57:49 -02:30
thrust26 90857e74e6 allow to position dialogs centered and in corners 2019-05-01 17:19:40 +02:00
thrust26 ed4529b164 allow open Power-on options via joystick 2nd button
add initial documentation for R77 (navigation only)
2019-05-01 11:28:23 +02:00
thrust26 75650f1930 add option to switch settings mode in minimal UI 2019-04-27 21:07:18 +02:00
Stephen Anthony 99d6d40a50 Fix minor compile warning. 2019-04-13 19:35:15 -02:30
thrust26 4e1c13ce6d improved dialogs and launcher navigation with joysticks (left and right) 2019-04-13 15:44:19 +02:00
thrust26 f46079b762 added R77 keyboard mapping for launcher and dialogs 2019-04-07 12:27:45 +02:00
thrust26 25cbc2db3a an attempt to map F1 (Select) to StellaSettingsDialog 2019-04-06 21:01:32 +02:00
Stephen Anthony 90e6cfa26b Fixed minor compile warnings in clang
- method with same name but different parameter mirroring one in base class
- missing newline, etc.
2019-02-16 12:10:52 -03:30
thrust26 9580385f21 2nd push for last commit 2019-02-15 23:47:33 +01:00
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
thrust26 fe810826ca Implemented #369 2018-12-27 21:29:43 +01:00
Stephen Anthony 65d23b4a6e Removed 'launcherexts' and associated LauncherFilterDialog.
Introduced 'launcherroms' argument, which specifies to show only ROMs or all files in the launcher.
This functionality is tied to a RMB context menu in the launcher; eventually we may add a checkbox to the UI for it.
2018-08-31 13:51:42 -02:30
Stephen Anthony 5bc8d2d1b0 When starting Stella for the first time, the first ROM chosen determines 'romdir' (fixes #324)
Bumped version for upcoming release.
Updated changelog, various grammatical fixes.
2018-08-05 19:14:07 -02:30
Stephen Anthony 3d879d0080 Updated copyright date to 2018. A few days early, but nobody will mind ... 2017-12-29 17:10:37 -03:30
Stephen Anthony a15d5d8b06 Properly integrate MouseButton enum into the GUI core:
- The previous code used enumerations for DialogContainer, and constants for everything in src/gui
 - It took me over 3 hours to determine that a '1' in the first didn't mean the same as a '1' in the second
 - If ever there was a reason for strongly named constants (enum class), this was it.
2017-12-29 16:56:09 -03:30
Stephen Anthony be6250b29b More header fixes (this time in 'src/gui'). 2017-11-20 15:58:32 -03:30
Stephen Anthony 522018d636 More header file reorg/optimization. 2017-11-17 13:30:17 -03:30
Stephen Anthony 9f8baadb29 Some cosmetic UI changes and updated screenshots/docs. 2017-07-15 11:48:15 -02:30
Stephen Anthony 58f93c1930 Fixed inheritance issue with Widget::wantsFocus() and child classes.
Changed some code in TIA class to eliminate function calls.

Minor code refactoring wrt d'tors.
2017-04-01 15:41:34 -02:30
Stephen Anthony abb7097cb7 Removed $Id$ stuff from codebase, since it's Subversion-specific.
Whitespace cleanup and update copyright to 2017.
2016-12-29 20:30:30 -03:30
stephena a79af3717e Some minor updates to fix the Windows build from the latest round of changes.
Specifically, the stack class now takes a lambda to apply to all elements it
contains, rather than allowing direct access to each element.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3245 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-30 20:26:56 +00:00
stephena e4c1f627e1 Added C++11 "= default" for d'tors in the src/gui classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3243 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 23:45:21 +00:00
stephena 8f2d3a6cbb Updated copyright to 2016, even though it's a few days early.
To anyone reading this, Merry (belated) Christmas and Happy New Year!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3239 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 19:22:46 +00:00