Skip to content

Conversation

@deanlee
Copy link
Contributor

@deanlee deanlee commented Nov 18, 2025

Extracts all debug-only functionality into a new DebugGuiApplication subclass and keeps GuiApplication focused on production behavior.

Key changes:

  • Move debug-only features (scaling, render texture, burn-in shader, touch overlay, grid, profiling) into a new DebugGuiApplication subclass.
  • Keep GuiApplication minimal and focused on release behavior (scale 1.0, no debug overlays).
  • Add a lazy factory in application.py that instantiates DebugGuiApplication for debug and GuiApplication otherwise.

Benefits:

  • Lower runtime overhead in production (no unnecessary debug checks or rendering).
  • Cleaner architecture and easier long-term maintenance.

@github-actions github-actions bot added the ui label Nov 18, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

raylib UI Preview

All Screenshots

@deanlee deanlee force-pushed the ui-app-debug branch 2 times, most recently from bd019c5 to 60ae3dc Compare November 18, 2025 09:59
@deanlee deanlee marked this pull request as ready for review November 18, 2025 10:06
@deanlee deanlee force-pushed the ui-app-debug branch 3 times, most recently from db7567d to 5991055 Compare November 18, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant