Cockatrice/cockatrice/src/interface/widgets/dialogs
Lukas Brübach fa5133071d [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-11-04 18:29:28 +01:00
..
dlg_connect.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-04 18:29:28 +01:00
dlg_connect.h [Client] Stop sending the saved login when its checkbox is unticked (#7713) 2026-11-04 07:06:35 +01:00
dlg_convert_deck_to_cod_format.cpp [Refactor] Move LoadedDeck and DeckFileFormat data types into libcockatrice_deck_list (#7424) 2026-10-31 18:44:11 +01:00
dlg_convert_deck_to_cod_format.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_crash_report.cpp [CrashReporting] Sentry send path with consent gating (#7522) 2026-10-19 14:57:03 +02:00
dlg_crash_report.h [CrashReporting] Sentry send path with consent gating (#7522) 2026-10-19 14:57:03 +02:00
dlg_create_game.cpp [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
dlg_create_game.h [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
dlg_default_tags_editor.cpp [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
dlg_default_tags_editor.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_edit_avatar.cpp [Avatar] Respect EXIF orientation and decode at target size (#7634) 2026-10-25 00:11:09 +02:00
dlg_edit_avatar.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_edit_password.cpp [Security] Add challenge-response auth with scrypt verifiers and stop storing plaintext passwords (#7193) 2026-10-16 22:52:26 +02:00
dlg_edit_password.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_edit_tokens.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-04 18:29:28 +01:00
dlg_edit_tokens.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_edit_user.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_edit_user.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_filter_games.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_filter_games.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_challenge.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_challenge.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_request.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_request.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_reset.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_forgot_password_reset.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_invite_to_game.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_invite_to_game.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_load_deck.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_load_deck.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_load_deck_from_clipboard.cpp [Tests] Play card interactions through a Cockatrice event player (#7697) 2026-11-04 06:23:45 +01:00
dlg_load_deck_from_clipboard.h [Refactor] Move LoadedDeck and DeckFileFormat data types into libcockatrice_deck_list (#7424) 2026-10-31 18:44:11 +01:00
dlg_load_deck_from_website.cpp [Client] Add option to load decks from ManaBox (#7642) 2026-11-03 10:33:21 +01:00
dlg_load_deck_from_website.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_load_remote_deck.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_load_remote_deck.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_local_game_options.cpp [Tests] Play card interactions through a Cockatrice event player (#7697) 2026-11-04 06:23:45 +01:00
dlg_local_game_options.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_login_prompt.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_login_prompt.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_manage_sets.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-04 18:29:28 +01:00
dlg_manage_sets.h [CardDB] Drop the rebalanced-cards setting entirely (#7457) 2026-10-09 06:02:47 +02:00
dlg_my_reports.cpp [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
dlg_my_reports.h [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
dlg_register.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-04 18:29:28 +01:00
dlg_register.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_report_user.cpp [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
dlg_report_user.h [Fonts] Migrate ChatLog surfaces to theme font role (#7537) 2026-11-04 07:57:53 +01:00
dlg_select_set_for_cards.cpp [QtUtils] Use makeLayout() for zero-margin layouts (#7620) 2026-10-24 19:06:18 +02:00
dlg_select_set_for_cards.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_settings.cpp [Tests] Name the menus and dialogs the shell GUI tests drive (#7695) 2026-11-04 06:23:44 +01:00
dlg_settings.h [Client] Settings: enlarge the settings dialog (#7483) 2026-10-18 22:48:50 +02:00
dlg_share_deck.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_share_deck.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_shared_decks_preview.cpp [Fonts] Migrate DeckList and InterfaceDefault surfaces to theme roles (#7539) 2026-11-04 07:57:54 +01:00
dlg_shared_decks_preview.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_startup_card_check.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_startup_card_check.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_tip_of_the_day.cpp [Tests] Name the menus and dialogs the shell GUI tests drive (#7695) 2026-11-04 06:23:44 +01:00
dlg_tip_of_the_day.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_turn_order.cpp [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
dlg_turn_order.h [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
dlg_update.cpp [Tests] Name the menus and dialogs the shell GUI tests drive (#7695) 2026-11-04 06:23:44 +01:00
dlg_update.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
dlg_view_log.cpp [Tests] Name the menus and dialogs the shell GUI tests drive (#7695) 2026-11-04 06:23:44 +01:00
dlg_view_log.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
override_printing_warning.cpp [QtUtils] Adopt window fade, path, bold font and confirmation helpers (#7622) 2026-10-24 21:43:50 +02:00
override_printing_warning.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
path_safety_warning.cpp [Client] Warn when data paths point inside the program directory (#7473) 2026-10-11 15:34:49 +02:00
path_safety_warning.h [Client] Warn when data paths point inside the program directory (#7473) 2026-10-11 15:34:49 +02:00
settings_view.cpp [Icons] Migrate UI glyphs to palette-token SVGs 2026-11-04 18:29:28 +01:00
settings_view.h [Client] Settings: isolate the selected section when drilling down (#7488) 2026-10-18 22:48:52 +02:00
tip_of_the_day.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
tip_of_the_day.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00