Cockatrice/cockatrice/src/interface
Lukas Brübach 8849c11f66
[Icons] Migrate UI glyphs to palette-token SVGs
Runtime inversion is not a theming system: it rotates hue, breaks duotone art
and mishandles alpha, and a QPixmap snapshot cannot follow a palette change.
Redraw the top-level UI glyph set on a 24x24 grid with `currentColor` as the
paint token, drop Inkscape/Sodipodi cruft, and delete the icons whose metaphor
was duplicated (cogwheel/gear -> settings, scale_balanced -> scales,
update.png -> reload).

Load the glyphs through `loadThemedIcon` so the engine resolves the token from
the palette on every request, and let `themePixmap` use the same resolution for
one-shot pixmaps. `loadColorAdjustedPixmap` is gone; every caller now keeps a
QIcon, which `SettingsButtonWidget::setButtonIcon` accepts instead of a QPixmap.

Content art (mana, counters, countries) keeps its authored colors.

Add a render test covering aspect ratio, palette flips, icon modes and
high-DPI pixmaps.
2026-10-21 05:11:13 +02:00
..
card_database_update [Client] Improve card database update visibility (#7458) 2026-10-09 11:07:48 +02:00
card_picture_loader [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
deck_loader [PrintingSelector] Fix crash setting all printings to preferred (#7467) 2026-10-10 09:36:26 +02:00
intents [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
layouts [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
palette_editor [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
widgets [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
at_risk_data_warning.cpp [Installer][Client] Back up user data before old uninstallers can delete it (#7503) 2026-10-16 22:05:42 +02:00
at_risk_data_warning.h [Installer][Client] Back up user data before old uninstallers can delete it (#7503) 2026-10-16 22:05:42 +02:00
card_localization.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
key_signals.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
key_signals.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
logger.cpp [CrashReporting] Mock crash-report dialog and reporting preference (#7521) 2026-10-19 14:57:03 +02:00
logger.h [CrashReporting] Mock crash-report dialog and reporting preference (#7521) 2026-10-19 14:57:03 +02:00
pixel_map_generator.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
pixel_map_generator.h [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
theme_config.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
theme_config.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
theme_icon.cpp [Icons] Add palette-aware themed icon engine 2026-10-21 05:11:12 +02:00
theme_icon.h [Icons] Add palette-aware themed icon engine 2026-10-21 05:11:12 +02:00
theme_manager.cpp [Style] Warn about the broken Windows native styles and stop resolving System to them (#7461) 2026-10-09 11:07:22 +02:00
theme_manager.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
window_main.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
window_main.h [Client] Settings: add top-right cogwheel shortcut (#7485) 2026-10-18 22:48:51 +02:00