Cockatrice/cockatrice/src/interface/widgets/server
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
..
chat_view [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
remote [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
user [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
game_filter_configs.cpp [GameModel] Refactor game filters options into struct (#6856) 2026-05-09 02:45:33 -07:00
game_filter_configs.h [GameSelector] Persist quick-filter toolbar edits and repair filter settings migration (#7500) 2026-10-13 07:45:08 +02:00
game_link.cpp [Game] Extract makeGameJoinLink helper for cockatrice://joingame links (#7133) 2026-08-16 22:14:49 +02:00
game_link.h [Game] Extract makeGameJoinLink helper for cockatrice://joingame links (#7133) 2026-08-16 22:14:49 +02:00
game_selector.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-10-21 05:11:13 +02:00
game_selector.h [GameSelector] Persist quick-filter toolbar edits and repair filter settings migration (#7500) 2026-10-13 07:45:08 +02:00
game_selector_quick_filter_toolbar.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
game_selector_quick_filter_toolbar.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
game_type_map.h [Move refactor] Reparent orphan classes (#6236) 2025-10-09 14:15:19 +02:00
games_model.cpp [GameSelector] Persist quick-filter toolbar edits and repair filter settings migration (#7500) 2026-10-13 07:45:08 +02:00
games_model.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
handle_public_servers.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
handle_public_servers.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00