mirror of
https://github.com/sebastiandine/Card-Collection-Manager-3.git
synced 2026-08-29 01:08:49 +00:00
major: initial release
* initial development * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * pipeline * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * ci/cd * pokemon * pokemon * pokemon * pokemon * pokemon * pokemon * improvements * improvements * ci/cd * ci/cd * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements * improvements --------- Co-authored-by: sdine <sdine@sdine.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "ccm/domain/Enums.hpp"
|
||||
|
||||
#include <wx/colour.h>
|
||||
|
||||
class wxWindow;
|
||||
class wxString;
|
||||
|
||||
namespace ccm::ui {
|
||||
|
||||
struct ThemePalette {
|
||||
wxColour windowBg;
|
||||
wxColour panelBg;
|
||||
wxColour text;
|
||||
wxColour inputBg;
|
||||
wxColour inputText;
|
||||
wxColour buttonBg;
|
||||
wxColour buttonText;
|
||||
};
|
||||
|
||||
ThemePalette paletteForTheme(Theme theme);
|
||||
Theme inferThemeFromWindow(const wxWindow* window);
|
||||
void applyThemeToWindowTree(wxWindow* root, const ThemePalette& palette, Theme theme);
|
||||
int showThemedMessageDialog(wxWindow* parent, const wxString& message, const wxString& caption, long style);
|
||||
int showThemedConfirmDialog(wxWindow* parent, const wxString& message, const wxString& caption);
|
||||
|
||||
} // namespace ccm::ui
|
||||
Reference in New Issue
Block a user