mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 18:43:26 -08:00
[Icons] Rewrite the icon role docs in plain language
Address review: drop the AI-cadence prose from the IconStyle/IconTint and treatment headers, use ///< for the enum member docs, and move theme_icon.cpp's anonymous namespace above the IconTint definitions. No behavior change.
This commit is contained in:
parent
92b94c4ed7
commit
44ac98885a
6 changed files with 87 additions and 96 deletions
|
|
@ -48,8 +48,8 @@ Q_ENUM_NS(Role)
|
|||
* define one.
|
||||
*
|
||||
* Accent roles return an invalid QColor because ThemeManager derives them from
|
||||
* the palette highlight. Semantic roles return an opaque, scheme-appropriate
|
||||
* default so a theme written before the role existed still renders it sensibly.
|
||||
* the palette highlight. Semantic roles return an opaque default that suits the
|
||||
* scheme, so themes written before the role existed still render it.
|
||||
*/
|
||||
QColor defaultAppColor(AppColor::Role role, bool dark);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue