How caoyue/windowresizer works
Main Components
a. GUI Application Layer
• Main WindowResizer application
• Settings window and Tray context components
• Different pages (About, Hotkeys, Processes, Profiles)
b. CLI Application Layer
• Standalone CLI interface
• Command processing components
c. Core Components
• Window Control System
• Hotkey Management System
• DPI Handling
• Theme Detection
d. Configuration Management
• Config file handling
• Profile management
• Window size matching system
Component Relationships
User Interface Layer
Core Services Layer
Base Infrastructure Layer
Specific Implementation Details
a. User Interface Layer:
• WindowResizer GUI (Main App)
• Settings Form
• Tray Context
• Pages (About, Hotkeys, Processes, Profiles)
• WindowResizer CLI
• Command Parser
• Resize Command
b. Core Services Layer:
• Window Management
• Resizer
• Window Event Handler
• DPI Utils
• Shortcut System
• Global Keyboard Hook
• Hotkey Management
• Theme Detection
• Theme Monitor
c. Base Infrastructure Layer:
• Configuration System
• Config Factory
• Profile Management
• Window Size Matching
• Common Components
• Window Utils
• Exceptions
• Native Methods
Important Relationships to Highlight
• How the GUI and CLI applications share the same core window management system
• Event flow from hotkey detection to window resizing
• Demonstrate configuration system integration with both GUI and CLI
• How the native Windows API interactions occur through the Core layer