nerv
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
- [x] Task: Final UX verification and performance check of the NERV theme. afcb1bf
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 5: Integration & Theme Selector' (Protocol in workflow.md) afcb1bf
|
||||
|
||||
## Phase 6: NERV Theme Refinement (Contrast & Readability)
|
||||
- [ ] Task: Fix text readability by ensuring high-contrast text on bright backgrounds (e.g., black text on orange title bars).
|
||||
- [ ] Task: Adjust the NERV palette to use Data Green or Steel for standard text, reserving Orange for accents and backgrounds.
|
||||
- [ ] Task: Update gui_2.py to push/pop style colors for headers if necessary to maintain readability.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 6: NERV Theme Refinement' (Protocol in workflow.md)
|
||||
## Phase 6: NERV Theme Refinement (Contrast & Readability) [checkpoint: 9facecb]
|
||||
- [x] Task: Fix text readability by ensuring high-contrast text on bright backgrounds (e.g., black text on orange title bars). 9facecb
|
||||
- [x] Task: Adjust the NERV palette to use Data Green or Steel for standard text, reserving Orange for accents and backgrounds. 9facecb
|
||||
- [x] Task: Update gui_2.py to push/pop style colors for headers if necessary to maintain readability. 9facecb
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 6: NERV Theme Refinement' (Protocol in workflow.md) 9facecb
|
||||
|
||||
## Phase 7: CRT Filter Implementation
|
||||
- [ ] Task: Research and implement a more sophisticated "CRT Filter" beyond simple scanlines (e.g., adding a vignette, noise, or subtle color aberration).
|
||||
- [ ] Task: Implement a "CRT Filter" toggle in the theme settings.
|
||||
- [ ] Task: Integrate the new CRT filter into the gui_2.py rendering loop.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 7: CRT Filter Implementation' (Protocol in workflow.md)
|
||||
## Phase 7: CRT Filter Implementation [checkpoint: e635c29]
|
||||
- [x] Task: Research and implement a more sophisticated "CRT Filter" beyond simple scanlines (e.g., adding a vignette, noise, or subtle color aberration). e635c29
|
||||
- [x] Task: Implement a "CRT Filter" toggle in the theme settings. e635c29
|
||||
- [x] Task: Integrate the new CRT filter into the gui_2.py rendering loop. e635c29
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 7: CRT Filter Implementation' (Protocol in workflow.md) e635c29
|
||||
10
src/gui_2.py
10
src/gui_2.py
@@ -298,6 +298,7 @@ class App:
|
||||
imgui.end_menu()
|
||||
|
||||
def _gui_func(self) -> None:
|
||||
pushed_prior_tint = False
|
||||
# Render background shader
|
||||
bg = bg_shader.get_bg()
|
||||
if bg.enabled:
|
||||
@@ -2895,6 +2896,7 @@ def hello():
|
||||
ch_ct, ctrans = imgui.slider_float("##ctrans", theme.get_child_transparency(), 0.1, 1.0, "%.2f")
|
||||
if ch_ct:
|
||||
theme.set_child_transparency(ctrans)
|
||||
bg = bg_shader.get_bg()
|
||||
ch_bg, bg.enabled = imgui.checkbox("Animated Background Shader", bg.enabled)
|
||||
if ch_bg:
|
||||
gui_cfg = self.config.setdefault("gui", {})
|
||||
@@ -2927,6 +2929,14 @@ def hello():
|
||||
font_path, font_size = theme.get_font_loading_params()
|
||||
|
||||
if font_path:
|
||||
p = Path(font_path)
|
||||
if p.is_absolute():
|
||||
try:
|
||||
if p.is_relative_to(assets_dir):
|
||||
font_path = str(p.relative_to(assets_dir)).replace("\\", "/")
|
||||
except (ValueError, AttributeError):
|
||||
pass # Fallback to original font_path if relative_to fails or on old Python
|
||||
|
||||
# Just try loading it directly; hello_imgui will look in the assets folder
|
||||
try:
|
||||
self.main_font = hello_imgui.load_font_ttf_with_font_awesome_icons(font_path, font_size, config)
|
||||
|
||||
Reference in New Issue
Block a user