Cockatrice/cockatrice/src/game
Basile Clement 2739550087
Use enum for ThemeManager brushes (#5730)
* Use enum for ThemeManager brushes

This patch introduces an enum to distinguish the different brushes that
can be set by the theme (hand, stack, etc.) and generic functions taking
the enum rather than having one copy of each function for each brush.

This is preliminary work before merging StackZone and HandZone to
simplify #4974.

* Include <array> header

* Header spacing
2025-03-16 23:01:25 +00:00
..
board game: Automatic update of arrow position (#5729) 2025-03-16 22:58:06 +00:00
cards game: Automatic update of arrow position (#5729) 2025-03-16 22:58:06 +00:00
deckview Use enum for ThemeManager brushes (#5730) 2025-03-16 23:01:25 +00:00
filters Fix Crash with "c:" in deck editor (#5537) 2025-02-01 04:32:01 +00:00
player Use enum for ThemeManager brushes (#5730) 2025-03-16 23:01:25 +00:00
zones Use enum for ThemeManager brushes (#5730) 2025-03-16 23:01:25 +00:00
game_scene.cpp Use native hover events (#5722) 2025-03-15 19:07:51 +00:00
game_scene.h Use native hover events (#5722) 2025-03-15 19:07:51 +00:00
game_selector.cpp Fix size and image quality issues with new user icons (#5546) 2025-02-02 15:08:23 +00:00
game_selector.h Support right-click on game list menu (#5522) 2025-01-25 14:03:29 +00:00
game_specific_terms.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
game_type_map.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
game_view.cpp Refactor files in src/game to new Qt Slot/Signal syntax (#5431) 2025-01-09 06:32:25 -05:00
game_view.h add missing override and explicit specifiers to all classes in src/game (#5511) 2025-01-22 12:57:56 +00:00
games_model.cpp Fix size and image quality issues with new user icons (#5546) 2025-02-02 15:08:23 +00:00
games_model.h Invert "Show" games, so all games are visible by default (#5521) 2025-01-25 07:03:36 +00:00
hand_counter.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
hand_counter.h add missing override and explicit specifiers to all classes in src/game (#5511) 2025-01-22 12:57:56 +00:00
phase.cpp Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00
phase.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00