Refactor UI to Luminous Glass Architecture and Layered Context Menu#133
Refactor UI to Luminous Glass Architecture and Layered Context Menu#133justnullname wants to merge 2 commits intomainfrom
Conversation
* Updated `UIRenderer::BuildAdaptivePalette` to strictly obey system dark/light themes and decouple from base image luminance. * Added `DrawDimmingMask` for full-screen dialog dimming. * Added `DrawLuminousGlassPanel` for drawing high quality D2D glass effects (Gaussian backdrop blur, drop shadow, inner glow). * Refactored `HelpOverlay`, `SettingsOverlay`, `Toolbar`, and `UIRenderer` overlays to use the new Luminous Glass pipeline. * Transformed the Right-Click `ContextMenu` into a modern `WS_EX_LAYERED` popup window with custom native Direct2D accelerated acrylic transparency rendering.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
* Updated `UIRenderer::BuildAdaptivePalette` to strictly obey system dark/light themes and decouple from base image luminance. * Added `DrawDimmingMask` for full-screen dialog dimming. * Added `DrawLuminousGlassPanel` for drawing high quality D2D glass effects (Gaussian backdrop blur, drop shadow, inner glow). * Refactored `HelpOverlay`, `SettingsOverlay`, `Toolbar`, and `UIRenderer` overlays to use the new Luminous Glass pipeline. * Transformed the Right-Click `ContextMenu` into a modern `WS_EX_LAYERED` popup window with custom native Direct2D accelerated acrylic transparency rendering.
This submission fulfills the requirements for the UI modernization blueprint, implementing the "Luminous Glass" effect system-wide.
The changes include decoupling the adaptive palette from raw image luminance mapping and strictly honoring the system user theme (
Dark/Light), while utilizing image luminance solely for micro-contrast adjustments (like text/icon shadow enhancements) to ensure visibility. We also centralized the glass pipeline underDrawLuminousGlassPanel, which orchestrates Direct2D effects (CLSID_D2D1GaussianBlur,CLSID_D2D1Composite, andCLSID_D2D1Shadow).Furthermore, the right-click Context Menu has been fully extracted from standard Win32 Popup Menus into a
WS_EX_LAYEREDwindow rendered via anID2D1DCRenderTargetmapped to a 32-bpp DIB section, providing a fully hardware-accelerated "Acrylic" translucency effect with rounded borders and responsive hover states.PR created automatically by Jules for task 14007460974750086174 started by @justnullname