[Demo] Widget Focus System Example #143
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#143
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Python-level demonstration of a focus system using McRogueFace's event callbacks.
Context
Widget focus (click-to-focus, tab cycling, keyboard routing to focused widget) is a common UI pattern but highly application-specific:
Rather than bake one specific focus model into C++, this issue creates a Python demo showing how game developers can implement focus using the engine's primitives.
Philosophy
McRogueFace provides:
Game developers combine these to create their desired focus behavior. This demo shows one approach.
Definition of Done
demos/focus_system.py- working exampleDemo Design
What This Is NOT
This is not a C++ engine feature. It's a demo showing that:
If patterns emerge that would benefit from C++ support, that's a future issue.
Dependencies
Related Issues