Skip to content

Refactor UI to Luminous Glass Architecture and Layered Context Menu#133

Open
justnullname wants to merge 2 commits intomainfrom
refactor-ui-luminous-glass-14007460974750086174
Open

Refactor UI to Luminous Glass Architecture and Layered Context Menu#133
justnullname wants to merge 2 commits intomainfrom
refactor-ui-luminous-glass-14007460974750086174

Conversation

@justnullname
Copy link
Copy Markdown
Owner

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 under DrawLuminousGlassPanel, which orchestrates Direct2D effects (CLSID_D2D1GaussianBlur, CLSID_D2D1Composite, and CLSID_D2D1Shadow).

Furthermore, the right-click Context Menu has been fully extracted from standard Win32 Popup Menus into a WS_EX_LAYERED window rendered via an ID2D1DCRenderTarget mapped 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

* 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.
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant