How ohkashi/nppdarkmode works
Component Relationships
• Core → MFC Integration (Implementation dependency)
• DPI Management → Core (System support)
• IatHook → Core (Windows API interception)
• MFC Integration → Windows API (Platform dependency)
Detailed Component Breakdown
• Core Dark Mode Features
• Window theming
• Control styling
• Custom drawing routines
• DPI Management
• Scaling support
• Resolution adaptation
• MFC Integration
• Dialog templates
• Resource management
• Custom controls
Implementation Details
Technical notes:
• Windows API hooks
• MFC class extensions
• Resource handling
• DPI awareness levels
• Blue: Core functionality
• Purple: MFC-specific components
• Green: System interfaces
• Gray: External dependencies
The DPI management integration
Keep the abstraction level focused on the architectural components while including enough detail to show the library's integration points and dependencies. This will help developers understand both how to use the library and how it works internally.
Remember to include version information and system requirements in a separate notes section, as this is a Windows-specific library with particular platform dependencies.