Cockatrice/cockatrice
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
..
resources Refactor: split card_database into two files (#5715) 2025-03-14 00:02:10 +00:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src Use enum for ThemeManager brushes (#5730) 2025-03-16 23:01:25 +00:00
themes Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
translations Translate cockatrice_en@source.ts in pt_BR (#5601) 2025-02-09 22:12:38 +00:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt Automatically find all files for cockatrice_SOURCES (#5716) 2025-03-14 21:42:56 -04:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc Generic mana symbols. (#5685) 2025-03-03 13:12:09 -05:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translation source strings (#5571) 2025-02-07 04:59:23 +00:00