How schiavoanto/homp-ultimate works
Main Components
A. User Interface Layer (Presentation)
• MainWindow (primary interface)
• BigInputBox (custom input dialog)
• InputBox (standard input dialog)
• ListItem (playlist item representation)
• SussyWindow (auxiliary window)
• Use rectangles with rounded corners for UI components
B. Core Components Layer
• Playlist Manager (from Playlist.cs)
• Utils (utility functions)
• KeyboardHook (keyboard input handling)
C. Hotkey System Layer
• GlobalHotkeys
• Constants
Relationships and Interactions
B. Include data flow indicators:
• Media file handling paths
• User input processing flow
• Hotkey event propagation
External Dependencies
• A container for WPF Framework
• System-level interactions for media playback
• File system interactions for playlist management
Technical Details
A. Framework Information:
• .NET Framework (specified in App.config)
• WPF UI Framework
• Native Windows API hooks (for global hotkeys)
B. Component Communication:
• Event-based communication patterns
• XAML-based UI architecture
• Command pattern for hotkey handling
Additional Elements
• A "Styles and Resources" section showing CommonStyles.xaml
• An "Assets" container for media resources
• Configuration management flow
• Persistence mechanisms for settings
Architectural Patterns to Highlight
• Event-driven architecture for media playback
• Service locator pattern for global hotkey management
• UI composition pattern for custom controls
• Resource management pattern for media handling
Remember to:
• Use consistent notation throughout
• Version information
• Notes about the restructure branch mentioned in the README
• Document any platform-specific dependencies