view include/gui/dark_theme.h @ 101:c537996cf67b

*: multitude of config changes 1. theme is now configurable from the settings menu (but you have to restart for it to apply) 2. config is now stored in an INI file, with no method of conversion from json (this repo is private-ish anyway)
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 14:06:02 -0400
parents 3d2decf093bb
children
line wrap: on
line source

#ifndef __gui__dark_theme_h
#define __gui__dark_theme_h

namespace DarkTheme {

bool IsInDarkMode();
/* this function is private, and should stay that way */
// void SetStyleSheet(enum Themes theme);
void SetToDarkTheme();
void SetToLightTheme();
enum Themes GetCurrentOSTheme();
void SetTheme(enum Themes theme);

} // namespace DarkTheme

#endif // __gui__dark_theme_h