/* ThemeState represents registry values for "LibreOfficeTheme" enumeration *inofficecfg/registry/schema/org/openoffice/Office/Common.xcs,whichmeans
* that the associations here have a meaning. Please don't change it. */ enumclass ThemeState
{
DISABLED = 0,
ENABLED = 1,
RESET = 2,
};
/* AUTOappcolorsfollowos,lightdoccolors(default) LIGHTappcolorsfollowos,lightdoccolors DARKappcolorsfollowos,darkdoccolors COUNTappcolormodescount
*/ enumclass AppearanceMode
{ AUTO = 0,
LIGHT = 1,
DARK = 2,
COUNT,
};
// !IsThemeCached means that the ThemeColors object doesn't have the colors from the registry yet. // IsThemeReset means that the user pressed the Reset All button and the UI colors in the registry // are not valid anymore => read from the system again staticbool VclPluginCanUseThemeColors() { return IsThemeCached() && !IsThemeReset(); };
private:
Color m_aWindowColor;
Color m_aWindowTextColor;
Color m_aBaseColor;
Color m_aButtonColor;
Color m_aButtonTextColor;
Color m_aAccentColor;
Color m_aDisabledColor;
Color m_aDisabledTextColor;
Color m_aShadeColor;
Color m_aSeparatorColor;
Color m_aFaceColor;
Color m_aActiveColor;
Color m_aActiveTextColor;
Color m_aActiveBorderColor;
Color m_aFieldColor;
Color m_aMenuBarColor;
Color m_aMenuBarTextColor;
Color m_aMenuBarHighlightColor;
Color m_aMenuBarHighlightTextColor;
Color m_aMenuColor;
Color m_aMenuTextColor;
Color m_aMenuHighlightColor;
Color m_aMenuhighlightTextColor;
Color m_aMenuBorderColor;
Color m_aInactiveColor;
Color m_aInactiveTextColor;
Color m_aInactiveBorderColor;
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.