forked from genewildish/Mainline
refactor(legacy): Create engine/legacy/ subsystem and move render/layers (Phase 3.2)
- Create engine/legacy/ package for deprecated rendering modules - Move engine/render.py → engine/legacy/render.py (274 lines) - Move engine/layers.py → engine/legacy/layers.py (272 lines) - Update engine/legacy/layers.py to import from engine.legacy.render - Add comprehensive package documentation - Tests will be updated in next commit (Phase 3.3)
This commit is contained in:
15
engine/legacy/__init__.py
Normal file
15
engine/legacy/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
"""
|
||||||
|
Legacy rendering modules for backwards compatibility.
|
||||||
|
|
||||||
|
This package contains deprecated rendering code from the old pipeline architecture.
|
||||||
|
These modules are maintained for backwards compatibility with adapters and tests,
|
||||||
|
but should not be used in new code.
|
||||||
|
|
||||||
|
New code should use the Stage-based pipeline architecture instead.
|
||||||
|
|
||||||
|
Modules:
|
||||||
|
- render: Legacy font/gradient rendering functions
|
||||||
|
- layers: Legacy layer compositing and effect application
|
||||||
|
|
||||||
|
All modules in this package are marked deprecated and will be removed in a future version.
|
||||||
|
"""
|
||||||
@@ -24,7 +24,7 @@ from engine.effects import (
|
|||||||
vis_offset,
|
vis_offset,
|
||||||
vis_trunc,
|
vis_trunc,
|
||||||
)
|
)
|
||||||
from engine.render import big_wrap, lr_gradient, lr_gradient_opposite
|
from engine.legacy.render import big_wrap, lr_gradient, lr_gradient_opposite
|
||||||
from engine.terminal import RST, W_COOL
|
from engine.terminal import RST, W_COOL
|
||||||
|
|
||||||
MSG_META = "\033[38;5;245m"
|
MSG_META = "\033[38;5;245m"
|
||||||
Reference in New Issue
Block a user