Cockatrice/cockatrice
DawnFire42 2fb881ca60 refactor(graphics): introduce Z-value constants and layer manager
Add centralized Z-value management for Qt's stacking order system. This
replaces scattered magic numbers with semantic constants, making the rendering
hierarchy explicit and maintainable.

The architecture defines three layers:
- Zone layer (0-999): Zone backgrounds and containers
- Card layer (1-40M): Cards on the table zone using position-based formula
- Overlay layer (200M+): UI elements that always render above cards

ZValueLayerManager provides validation utilities and the overlayZValue()
function for computing overlay Z-values. ZValues namespace provides the
semantic constants used throughout the codebase.

The 5x gap between card max (40M) and overlay base (200M) provides safety
margin for future table zone expansions.
2026-02-26 19:53:58 -05:00
..
resources Docs: Use doxygen-awesome-css theme (#6512) 2026-01-24 11:22:43 +01:00
sounds Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
src refactor(graphics): introduce Z-value constants and layer manager 2026-02-26 19:53:58 -05:00
themes Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
translations Updates for project Cockatrice and language en_US (#6543) 2026-01-25 16:51:03 -05:00
.qdevelop icon_draw and icon_untap added, icon_general and icon_messages modified 2009-07-31 13:37:16 +02:00
CMakeLists.txt [DeckEditor] Show info in PrintingSelector dock when override printings enabled (#6554) 2026-01-24 02:20:16 -08:00
cockatrice.desktop Updated Spanish translation 2011-07-16 11:38:57 +02:00
cockatrice.qrc [VDE] Placeholder image for deck view if deck is empty (#6516) 2026-01-14 14:41:54 +01:00
cockatrice.rc Included uninstaller for Windows version 2010-09-17 15:26:07 +02:00
cockatrice_en@source.ts Update translation source strings (#6465) 2026-01-06 19:35:53 +01:00