mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
dark theme
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@494 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -272,6 +272,13 @@ MWDECL void MwGrabPointer(MwWidget handle, int toggle);
|
||||
*/
|
||||
MWDECL void MwHideCursor(MwWidget handle);
|
||||
|
||||
/*!
|
||||
* %param Toggles the dark theme
|
||||
* %param handle Widget
|
||||
* %param toggle Toggle
|
||||
*/
|
||||
MWDECL void MwToggleDarkTheme(MwWidget handle, int toggle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -23,6 +23,16 @@ MWDECL const char* MwDefaultBackground;
|
||||
*/
|
||||
MWDECL const char* MwDefaultForeground;
|
||||
|
||||
/*!
|
||||
* %brief Default dark theme background color
|
||||
*/
|
||||
MWDECL const char* MwDefaultDarkBackground;
|
||||
|
||||
/*!
|
||||
* %brief Default dark theme foreground color
|
||||
*/
|
||||
MWDECL const char* MwDefaultDarkForeground;
|
||||
|
||||
/*!
|
||||
* %brief Gets default border width
|
||||
* %param handle Widget
|
||||
|
||||
@@ -90,6 +90,7 @@ struct _MwVoidKeyValue {
|
||||
struct _MwWidget {
|
||||
char* name;
|
||||
MwLLColor bgcolor;
|
||||
int dark_theme;
|
||||
|
||||
MwLL lowlevel;
|
||||
MwWidget parent;
|
||||
|
||||
Reference in New Issue
Block a user