mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CThemes: visualize current selected or applied theme
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1aaaf8cb86
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -27,14 +27,17 @@
|
||||
#include <string>
|
||||
#include <configfile.h>
|
||||
#include <system/setting_helpers.h>
|
||||
#include <sigc++/signal.h>
|
||||
#include <sigc++/bind.h>
|
||||
|
||||
class CThemes : public CMenuTarget, CColorSetupNotifier
|
||||
class CThemes : public CMenuTarget, CColorSetupNotifier, public sigc::trackable
|
||||
{
|
||||
private:
|
||||
CConfigFile themefile;
|
||||
|
||||
int width;
|
||||
SNeutrinoTheme oldTheme;
|
||||
std::string oldTheme_name;
|
||||
|
||||
bool hasThemeChanged;
|
||||
|
||||
@@ -45,6 +48,9 @@ class CThemes : public CMenuTarget, CColorSetupNotifier
|
||||
void rememberOldTheme(bool remember);
|
||||
void move_userDir();
|
||||
bool applyDefaultTheme();
|
||||
///signal after select theme is completed
|
||||
sigc::signal<void> OnAfterSelectTheme;
|
||||
void markSelectedTheme(CMenuWidget *w);
|
||||
|
||||
public:
|
||||
CThemes();
|
||||
|
Reference in New Issue
Block a user