From c1c29fb4f02b04b6895be328075bfd07cff04d98 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 30 Jul 2020 22:19:12 +0200 Subject: [PATCH] refined texts for WhatsNewDialog --- Changes.txt | 4 ++-- src/gui/WhatsNewDialog.cxx | 26 ++++++++++++++++++-------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/Changes.txt b/Changes.txt index f19fabcfb..9db31b627 100644 --- a/Changes.txt +++ b/Changes.txt @@ -14,9 +14,9 @@ 6.2.1 to 6.3 (XXXX XX, 2020) - * Added autofire. + * Added adjustable autofire. - * Added new UI theme 'Dark'. (TODO: DOC) + * Added 'Dark' UI theme. (TODO: DOC) * Extended global hotkeys for debug options. diff --git a/src/gui/WhatsNewDialog.cxx b/src/gui/WhatsNewDialog.cxx index bb2414a1d..7f6c15084 100644 --- a/src/gui/WhatsNewDialog.cxx +++ b/src/gui/WhatsNewDialog.cxx @@ -24,7 +24,11 @@ constexpr int MAX_CHARS = 64; // maximum number of chars per line // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent, const GUI::Font& font, int max_w, int max_h) +#if defined(RETRON77) + : Dialog(osystem, parent, font, "What's New in Stella " + string(STELLA_VERSION) + " for RetroN 77?") +#else : Dialog(osystem, parent, font, "What's New in Stella " + string(STELLA_VERSION) + "?") +#endif { const int fontHeight = _font.getFontHeight(), fontWidth = _font.getMaxCharWidth(), @@ -39,20 +43,26 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent, const setSize(MAX_CHARS * fontWidth + HBORDER * 2, max_h, max_w, max_h); - add(ypos, "added autofire"); - add(ypos, "added new UI theme 'Dark'"); - add(ypos, "extended global hotkeys for debug options"); +#if defined(RETRON77) + add(ypos, "added adjustable autofire (see 'Advanced Settings')"); + add(ypos, "added new UI theme 'Dark' (see 'Advanced Settings')"); +#else + add(ypos, "added adjustable autofire"); + add(ypos, "added 'Dark' UI theme"); + //add(ypos, "extended global hotkeys for debug options"); add(ypos, "added option to playback a game using the Time Machine"); - add(ypos, "allow taking snapshots from within the Time Machine dialog"); + //add(ypos, "allow taking snapshots from within the Time Machine dialog"); add(ypos, "added the ability to access most files that Stella uses from within a ZIP file"); add(ypos, "added option to select the audio device"); - add(ypos, "added option to display detected settings info when a ROM is loaded"); - add(ypos, "replaced 'Re-disassemble' with 'Disassemble @ current line' in debugger"); - add(ypos, "fixed bug when taking fullscreen snapshots; the dimensions were sometimes cut"); + //add(ypos, "added option to display detected settings info when a ROM is loaded"); + //add(ypos, "replaced 'Re-disassemble' with 'Disassemble @ current line' in debugger"); + //add(ypos, "fixed bug when taking fullscreen snapshots; the dimensions were sometimes cut"); + add(ypos, ELLIPSIS + " (for a complete list see 'docs/Changes.txt')"); +#endif // Set needed dimensions setSize(MAX_CHARS * fontWidth + HBORDER * 2, - ypos + VGAP + buttonHeight + VBORDER, + ypos + VGAP * 2 + buttonHeight + VBORDER, max_w, max_h); WidgetArray wid;