RickyRister
a9b3be33e0
Refactor: Represent cardName + providerId with CardRef struct ( #6039 )
...
* card_ref.h
* update CardDatabase signatures
* make everything compile
* rename methods
* add docs
* mark stuff const
* set cardRef in CardItem
* cleanup
* fix build failure
* Fix builds on mac
---------
Co-authored-by: ZeldaZach <zahalpern+github@gmail.com>
2025-07-15 22:14:02 -04:00
RickyRister
2189fc0a96
Include card_info.h over card_database.h if able ( #5841 )
...
* Move a typedef to card_info.h
* Include card_info.h over card_database.h if able
2025-04-17 00:38:57 -04:00
Basile Clement
c71685b261
Add option to disable card rounding ( #5760 )
...
* Add option to disable card rounding
* Effing mocks
* format
* Get rid of cardCornerRadius property
2025-03-22 01:07:52 -04:00
Basile Clement
be28d50997
Revert "Use native hover events ( #5722 )" ( #5757 )
...
This reverts commit e4f40a82a2 .
This change had unintended consequences in the hover behavior, reverting
for now.
2025-03-21 00:25:20 +00:00
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
Basile Clement
e4f40a82a2
Use native hover events ( #5722 )
...
* Use native hover events
* Update cockatrice/src/game/cards/abstract_card_item.cpp
* Reorder
---------
Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-03-15 19:07:51 +00:00
RickyRister
d951b082c4
Add setting to hide visual deck storage in game lobby ( #5570 )
2025-02-06 13:44:33 +00:00
RickyRister
686645c1e4
refactor DeckViewContainer into own file ( #5455 )
...
* cut-and-paste
* remove some includes
* move refreshShortcuts
* move deck_view into src/game/deckview
* move deck_view_container to src/game/deckview
* fix build failure
2025-01-14 07:00:09 +00:00