wip
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-30 14:28:56 +09:00
commit 6b94ac5db9
8 changed files with 142 additions and 22 deletions

View file

@ -32,6 +32,16 @@ MWDECL const char* MwDefaultSubBackground;
*/
MWDECL const char* MwDefaultSubForeground;
/*!
* @brief Default title background color
*/
MWDECL const char* MwDefaultTitleBackground;
/*!
* @brief Default title foreground color
*/
MWDECL const char* MwDefaultTitleForeground;
/*!
* @brief Default dark theme background color
*/
@ -52,6 +62,16 @@ MWDECL const char* MwDefaultDarkSubBackground;
*/
MWDECL const char* MwDefaultDarkSubForeground;
/*!
* @brief Default dark theme title background color
*/
MWDECL const char* MwDefaultDarkTitleBackground;
/*!
* @brief Default dark theme title foreground color
*/
MWDECL const char* MwDefaultDarkTitleForeground;
/*!
* @brief Default shadow difference
*/

View file

@ -48,9 +48,10 @@
#define MwNtext "Stext"
#define MwNbackground "Sbackground"
#define MwNsubBackground "SsubBackground"
#define MwNtitleBackground "StitleBackground"
#define MwNforeground "Sforeground"
#define MwNsubForeground "SsubForeground"
#define MwNtitleBackground "StitleBackground"
#define MwNtitleForeground "StitleForeground"
#define MwNvulkanExtension "SEvulkanExtension"
#define MwNvulkanLayer "SEvulkanLayer"

View file

@ -27,6 +27,7 @@ typedef struct _MwListBoxEntry MwListBoxEntry;
typedef struct _MwTreeViewEntry MwTreeViewEntry;
typedef struct _MwDirectoryEntry MwDirectoryEntry;
typedef struct _MwBox* MwBox;
typedef struct _MwSubWindow* MwSubWindow;
typedef struct _MwMouse MwMouse;
#ifdef _MILSKO
typedef struct _MwWidget* MwWidget;
@ -207,6 +208,13 @@ struct _MwBox {
int layout;
};
struct _MwSubWindow {
MwWidget frame;
MwWidget minimize;
MwWidget maximize;
MwWidget close;
};
struct _MwMouse {
MwPoint point;
int button;