mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 16:45:38 +00:00
a2f59ee2fc
Adds the ability for users to change the following features in OMX Player's subtitles (game info for screen saver). - font size - font file path - italic font file path - subtitle position These changes can be made in the GUI menus via the Video Screen Saver menu, or directly in the es_settings.cfg file. Safe OMX Player defaults are hard-coded into the EmulationStation application. Here's an example of the new keys loaded/saved into in the es_settings.cfg file: - `<int name="SubtitleSize" value="38" />` - `<string name="SubtitleFont" value="/usr/local/share/fonts/slkscr.ttf" />` - `<string name="SubtitleItalicFont" value="/usr/local/share/fonts/slkscrb.ttf" />` - `<string name="SubtitleAlignment" value="center" />`
18 lines
532 B
C++
18 lines
532 B
C++
#pragma once
|
|
#ifndef ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H
|
|
#define ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H
|
|
|
|
#include "GuiScreensaverOptions.h"
|
|
|
|
class GuiSlideshowScreensaverOptions : public GuiScreensaverOptions
|
|
{
|
|
public:
|
|
GuiSlideshowScreensaverOptions(Window* window, const char* title);
|
|
virtual ~GuiSlideshowScreensaverOptions();
|
|
|
|
private:
|
|
void addWithLabel(ComponentListRow row, const std::string label, std::shared_ptr<GuiComponent> component);
|
|
};
|
|
|
|
#endif // ES_APP_GUIS_GUI_SLIDESHOW_SCREENSAVER_OPTIONS_H
|