Changeset View
Changeset View
Standalone View
Standalone View
src/kcolorscheme.h
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Line(s) | 78 | enum ColorSet { | |||
---|---|---|---|---|---|
119 | * Some applications want some areas to have a different color scheme. | 119 | * Some applications want some areas to have a different color scheme. | ||
120 | * Usually dark areas over a light theme. For instance the fullscreen UI | 120 | * Usually dark areas over a light theme. For instance the fullscreen UI | ||
121 | * of a picture viewer, or the logout/lock screen of the plasma workspace | 121 | * of a picture viewer, or the logout/lock screen of the plasma workspace | ||
122 | * ask for a dark color scheme even on light themes. | 122 | * ask for a dark color scheme even on light themes. | ||
123 | * @since 5.19 | 123 | * @since 5.19 | ||
124 | */ | 124 | */ | ||
125 | Complementary, | 125 | Complementary, | ||
126 | /** | 126 | /** | ||
127 | * Colors for header areas that thould be used both by the top toolbar and the titlebar titlebar. | ||||
ndavisUnsubmitted Not Done
ndavis: - `thould`
- `titlebar titlebar` | |||||
128 | * @since 5.69 | ||||
129 | */ | ||||
130 | Header, | ||||
131 | /** | ||||
127 | * Number of color sets. | 132 | * Number of color sets. | ||
133 | * Note: don't use this | ||||
I think it would be good to explain the issue about enums being converted into plain integers here so that people know why they shouldn't depend on it. Also, is there a way to hide this from the api.kde.org page for kcolorscheme? ndavis: I think it would be good to explain the issue about enums being converted into plain integers… | |||||
cblack: `#ifndef K_DOXYGEN` | |||||
128 | * @since 5.65 | 134 | * @since 5.65 | ||
129 | */ | 135 | */ | ||
130 | NColorSets | 136 | NColorSets | ||
131 | }; | 137 | }; | ||
132 | 138 | | |||
133 | /** | 139 | /** | ||
134 | * This enumeration describes the background color being selected from the | 140 | * This enumeration describes the background color being selected from the | ||
135 | * given set. | 141 | * given set. | ||
▲ Show 20 Lines • Show All 472 Lines • Show Last 20 Lines |