Jannis Weis
7841acecac
Add overload for NativeDecorationsManager#titlePaneLayoutInfo taking a JRootPane
3 years ago
Jannis Weis
1771ece308
Expose bounds of title bar buttons
...
This is especially useful on macOS with fullSizeContentView enabled
to ensure components in the title bar area don't get obscured by the
buttons.
3 years ago
Jannis Weis
b5d01813ba
Use correctly determined decorations style from title pane
3 years ago
Jannis Weis
84078cea49
Replicate behaviour of apple.awt.* properties on macOS
...
We replicate the behaviour of apple.awt.fullWindowContent and
apple.awt.transparentTitleBar for the custom title bar.
3 years ago
Jannis Weis
a97d07cf34
Clarify api to set light/dark title color
3 years ago
Jannis Weis
cc3c62c375
Allow specifying whether the current laf is dark through DecorationsColorProvider
...
This allows manipulating the title color on macOS to be either light or dark.
3 years ago
Jannis Weis
cd8dc76bc0
Harden ExternalLafDecorator against null values returned by DecorationsColorProvider
3 years ago
Jannis Weis
6884027ca6
Add convenient method to customize titlebar colors
3 years ago
Jannis Weis
f8e01d16c3
Don't unnecessarily uninstall decorations
...
If they will be reinstalled immediately after it causes unwanted flickering.
3 years ago
Jannis Weis
57bf6507a5
Allow third party LaFs to take advantage of native decorations
3 years ago
Jannis Weis
48af720e7d
Move implementation of decorations into platform-decorations
3 years ago
Jannis Weis
aceed0cdd3
Move decorations related classes into platform-base
3 years ago
Jannis Weis
fa442a8bd3
Remove darklaf.properties dependency from windows and mac module
3 years ago
Jannis Weis
63c5a1b836
Extract system preference reporting mechanism to own module
...
To do this the following restructuring is performed:
- Move decorations specific classes to darklaf-platform-decorations
- Move SystemInfo to darklaf-platform-base
- Move theme specification specific classes to darklaf-theme-spec
- Create new module darklaf-platform-preferences for the reporting related classes
3 years ago