diff --git a/docs/graphics/launcher.png b/docs/graphics/launcher.png index 6ff519ea9..67692a656 100644 Binary files a/docs/graphics/launcher.png and b/docs/graphics/launcher.png differ diff --git a/docs/graphics/rominfo_1x_large.png b/docs/graphics/rominfo_1x_large.png index 828797709..a1324a1b1 100644 Binary files a/docs/graphics/rominfo_1x_large.png and b/docs/graphics/rominfo_1x_large.png differ diff --git a/docs/graphics/rominfo_1x_small.png b/docs/graphics/rominfo_1x_small.png index 93cfc7b3d..10edd223c 100644 Binary files a/docs/graphics/rominfo_1x_small.png and b/docs/graphics/rominfo_1x_small.png differ diff --git a/docs/graphics/rominfo_2x_small.png b/docs/graphics/rominfo_2x_small.png index 45f3b2bf4..ee0f4f587 100644 Binary files a/docs/graphics/rominfo_2x_small.png and b/docs/graphics/rominfo_2x_small.png differ diff --git a/docs/index.html b/docs/index.html index 5811f2beb..6117cd797 100644 --- a/docs/index.html +++ b/docs/index.html @@ -602,7 +602,7 @@

Command Menu

While playing a game, normally one would use the keyboard shortcuts for controlling the - 'virtual' switches in Stella (ie, the commands associated with the + 'virtual' switches in Stella (e.g. the commands associated with the function keys as described in Playing a Game - Hotkeys). However, another alternative is available. Pressing the '\' key (default) toggles @@ -612,7 +612,7 @@

This dialog contains a set of buttons that represent the same functionality as the function keys and display the current state. You may find this useful if you cannot remember all the function key events, or you wish to use Stella - without a keyboard (ie, in a standalone gaming system).

+ without a keyboard (e.g. in a standalone gaming system).

Note: Clicking the `?` at the top right opens this document at the related paragraph. This works for almost all dialogs. There is also a hotkey defined @@ -2036,6 +2036,16 @@ Backspace, Alt + Up arrow Backspace, Alt + Up arrow + + Select previous snapshot + Control + Left arrow + Control + Left arrow + + + Select next snapshot + Control + Right arrow + Control + Right arrow + Remove from 'Recently Played' or 'Most Popular' folder Control + X @@ -4025,8 +4035,13 @@

Stella supports viewing snapshots and ROM properties of the currently selected ROM in the ROM launcher. Support is automatic, as long as your - image directory contains snapshots in the appropriate format. An - archive of updated snapshots is available on the Stella webpage. + image directory contains snapshots in the appropriate format. The title + (if existing) and the number of matching snapshots are displayed under the + current one. The mouse or the launcher hotkeys can be used to browse the + snapshots. + + An archive of + updated snapshots is available on the Stella webpage. This archive may be updated periodically as new ROMs are found, and also for each new release of Stella. In case no snapshot is found, you can provide a default image named 'default_snapshot.png'. @@ -4044,10 +4059,10 @@

ROM Info Viewer width at 40%, UI sized 800x480, small launcher font, bottom buttons enabled:

-

ROM Info Viewer width at 32%, UI sized 900x720, medium launcher font, bottom buttons disabled::

+

ROM Info Viewer width at 32%, UI sized 900x720, medium launcher font, bottom buttons disabled:

-

ROM Info Viewer width at 50% , UI sized 1280x900, large launcher font, bottom buttons disabled::

+

ROM Info Viewer width at 50% , UI sized 1280x900, large launcher font, bottom buttons disabled:

The dialog items at the top can be used to define the listed files and to navigate your folders:

diff --git a/src/gui/RomImageWidget.cxx b/src/gui/RomImageWidget.cxx index a1368f369..f9c36ed59 100644 --- a/src/gui/RomImageWidget.cxx +++ b/src/gui/RomImageWidget.cxx @@ -252,9 +252,9 @@ void RomImageWidget::handleMouseUp(int x, int y, MouseButton b, int clickCount) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void RomImageWidget::handleMouseMoved(int x, int y) { - if(x < _w / 2 != myMouseX < _w / 2) + if(x < _w / 2 != myMouseLeft) setDirty(); - myMouseX = x; + myMouseLeft = x < _w / 2; } #endif @@ -297,17 +297,15 @@ void RomImageWidget::drawWidget(bool hilite) s.drawString(_font, buf.str(), _x + _w - wText, yText, wText, _textcolor); // Draw the navigation arrows - const bool leftArrow = myMouseX < _w / 2; - myNavSurface->invalidate(); if(isHighlighted() && - ((leftArrow && myImageIdx) || (!leftArrow && myImageIdx < myImageList.size() - 1))) + ((myMouseLeft && myImageIdx) || (!myMouseLeft && myImageIdx < myImageList.size() - 1))) { const int w = _w / 64; const int w2 = 1; // w / 2; - const int ax = leftArrow ? _w / 12 - w / 2 : _w - _w / 12 - w / 2; + const int ax = myMouseLeft ? _w / 12 - w / 2 : _w - _w / 12 - w / 2; const int ay = myImageHeight >> 1; - const int dx = (_w / 32) * (leftArrow ? 1 : -1); + const int dx = (_w / 32) * (myMouseLeft ? 1 : -1); const int dy = myImageHeight / 16; for(int i = 0; i < w; ++i) diff --git a/src/gui/RomImageWidget.hxx b/src/gui/RomImageWidget.hxx index 941f5d978..8a5e96753 100644 --- a/src/gui/RomImageWidget.hxx +++ b/src/gui/RomImageWidget.hxx @@ -83,7 +83,7 @@ class RomImageWidget : public Widget, public CommandSender size_t myImageIdx{0}; // Current x-position of the mouse - int myMouseX{0}; + bool myMouseLeft{true}; // Label for the loaded image string myLabel; diff --git a/src/macos/stella.xcodeproj/project.pbxproj b/src/macos/stella.xcodeproj/project.pbxproj index ef25ec74c..b74b140f7 100644 --- a/src/macos/stella.xcodeproj/project.pbxproj +++ b/src/macos/stella.xcodeproj/project.pbxproj @@ -454,6 +454,8 @@ DC84FC572677C64200E60ADE /* CartARMWidget.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC84FC552677C64200E60ADE /* CartARMWidget.hxx */; }; DC857D352482F66200C7C14F /* CartCreator.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC857D332482F66200C7C14F /* CartCreator.cxx */; }; DC857D362482F66200C7C14F /* CartCreator.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC857D342482F66200C7C14F /* CartCreator.hxx */; }; + DC8685C128AAAF7E00DF21AA /* RomImageWidget.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC8685BF28AAAF7D00DF21AA /* RomImageWidget.cxx */; }; + DC8685C228AAAF7E00DF21AA /* RomImageWidget.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC8685C028AAAF7E00DF21AA /* RomImageWidget.hxx */; }; DC8C1BAD14B25DE7006440EE /* CartCM.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC8C1BA714B25DE7006440EE /* CartCM.cxx */; }; DC8C1BAE14B25DE7006440EE /* CartCM.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC8C1BA814B25DE7006440EE /* CartCM.hxx */; }; DC8C1BAF14B25DE7006440EE /* CompuMate.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC8C1BA914B25DE7006440EE /* CompuMate.cxx */; }; @@ -1286,6 +1288,8 @@ DC84FC552677C64200E60ADE /* CartARMWidget.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CartARMWidget.hxx; sourceTree = ""; }; DC857D332482F66200C7C14F /* CartCreator.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CartCreator.cxx; sourceTree = ""; }; DC857D342482F66200C7C14F /* CartCreator.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CartCreator.hxx; sourceTree = ""; }; + DC8685BF28AAAF7D00DF21AA /* RomImageWidget.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RomImageWidget.cxx; sourceTree = ""; }; + DC8685C028AAAF7E00DF21AA /* RomImageWidget.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = RomImageWidget.hxx; sourceTree = ""; }; DC8C1BA714B25DE7006440EE /* CartCM.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CartCM.cxx; sourceTree = ""; }; DC8C1BA814B25DE7006440EE /* CartCM.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CartCM.hxx; sourceTree = ""; }; DC8C1BA914B25DE7006440EE /* CompuMate.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CompuMate.cxx; sourceTree = ""; }; @@ -2307,6 +2311,8 @@ DC5AAC2B1FCB24DF00C420A6 /* RadioButtonWidget.hxx */, DC4613650D92C03600D8DAB9 /* RomAuditDialog.cxx */, DC4613660D92C03600D8DAB9 /* RomAuditDialog.hxx */, + DC8685BF28AAAF7D00DF21AA /* RomImageWidget.cxx */, + DC8685C028AAAF7E00DF21AA /* RomImageWidget.hxx */, DCE3BBF50C95CEDC00A671DF /* RomInfoWidget.cxx */, DCE3BBF60C95CEDC00A671DF /* RomInfoWidget.hxx */, 2DDBEACA084578BF00812C11 /* ScrollBarWidget.cxx */, @@ -2970,6 +2976,7 @@ DCDFF08220B781B0001227C0 /* DispatchResult.hxx in Headers */, DCE9681A2761128200E99839 /* Icons.hxx in Headers */, DCF8621A21C9D43300F95F52 /* StaggeredLogger.hxx in Headers */, + DC8685C228AAAF7E00DF21AA /* RomImageWidget.hxx in Headers */, DCE9681627553F1000E99839 /* FavoritesManager.hxx in Headers */, DCAAE5E31715887B0080BB82 /* CartF0Widget.hxx in Headers */, DCAAE5E51715887B0080BB82 /* CartF4SCWidget.hxx in Headers */, @@ -3186,6 +3193,7 @@ DC6DC91E205DB879004A5FC3 /* PhysicalJoystick.cxx in Sources */, E08FCD5323A037EB0051F59B /* QisBlitter.cxx in Sources */, DCCE0355225104BF008C246F /* StellaSettingsDialog.cxx in Sources */, + DC8685C128AAAF7E00DF21AA /* RomImageWidget.cxx in Sources */, 2D91748A09BA90380026E9FF /* Control.cxx in Sources */, 2D91748C09BA90380026E9FF /* Driving.cxx in Sources */, E0306E101F93E916003DDD52 /* FrameLayoutDetector.cxx in Sources */,