feat(ui): sistema de UI Style (tokens C++ por tema) + fontes Aurora Arcana
Camada de estilo data-driven do cliente ZMMO, portando o nucleo do projeto de referencia (Hyper) para C++ conforme ARQUITETURA.md (BP Struct proibido): - Source/ZMMO/Data/UI: UIStyleTypes.h (enums EUI*), UIStyleTokens.h (tokens primitive/semantic/component), UIStyleRow.h (FUIStyle + FUIStyleRow). - ZMMOThemeSubsystem: GetActiveUIStyle() resolve DT_UI_Styles por ThemeId com fallback Default. - Fontes: 8 UFontFace Inline (Cinzel/Rajdhani) em Content/ZMMO/UI/Fonts + DT_UI_Styles preenchido. - ARQUITETURA.md: prefixo de widget UI_, classes base UUI*_Base (UCLASS Abstract) sem prefixo ZMMO. - Config/DefaultGame.ini: UIStyleTable apontando DT_UI_Styles. - Scripts/import_fonts.py (importador idempotente). Inclui tambem o scaffolding do modulo ZMMO ainda nao versionado (Source/ZMMO/Data, Game/UI, Content/ZMMO, uproject, Build.cs). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,26 @@
|
||||
[/Script/EngineSettings.GeneralProjectSettings]
|
||||
ProjectID=FC3E256F43B2AFD43009F4949B0814BE
|
||||
ProjectName=Third Person Game Template
|
||||
|
||||
; -----------------------------------------------------------------------------
|
||||
; ZMMO Theme subsystem (see Source/ZMMO/Game/UI/ZMMOThemeSubsystem.h and
|
||||
; ARQUITETURA.md §1.10 / §4.7).
|
||||
;
|
||||
; - DefaultThemeAsset is the fallback theme (must define every EZMMOThemeKey).
|
||||
; - ThemeRegistry maps ThemeId -> seasonal DA_Theme_* asset.
|
||||
; - CalendarTable points to DT_ThemeCalendar (FThemeCalendarRow rows).
|
||||
; - UIStyleTable points to DT_UI_Styles (FUIStyleRow rows): tokens de estilo
|
||||
; (cores/fontes/dimensões) keyed por ThemeId; linha "Default" é o fallback.
|
||||
; - DevThemeOverride forces a theme in non-Shipping builds only. Keep commented
|
||||
; in production.
|
||||
;
|
||||
; Paths use the /Game prefix (cooked Content namespace). Uncomment after the
|
||||
; assets are actually created in the editor.
|
||||
; -----------------------------------------------------------------------------
|
||||
[/Script/ZMMO.ZMMOThemeSubsystem]
|
||||
;DefaultThemeAsset=/Game/ZMMO/UI/Themes/DA_Theme_Default.DA_Theme_Default
|
||||
;+ThemeRegistry=(("Christmas", "/Game/ZMMO/UI/Themes/DA_Theme_Christmas.DA_Theme_Christmas"))
|
||||
;+ThemeRegistry=(("Halloween", "/Game/ZMMO/UI/Themes/DA_Theme_Halloween.DA_Theme_Halloween"))
|
||||
;CalendarTable=/Game/ZMMO/UI/Themes/DT_ThemeCalendar.DT_ThemeCalendar
|
||||
UIStyleTable=/Game/ZMMO/Data/UI/DT_UI_Styles.DT_UI_Styles
|
||||
;DevThemeOverride=Christmas
|
||||
|
||||
Reference in New Issue
Block a user