Jannis Weis
e3332fc912
Replace Icons.image.* properties with direct references to palette
3 years ago
Jannis Weis
6484b96c06
Allow color definitions with through <solidcolor/> tags
3 years ago
Jannis Weis
48076a90eb
Reimplement UIUpdater in terms of DynamicUI
...
This way the UIUpdater gets called for third party lafs.
3 years ago
Jannis Weis
b979a36c7f
Attribute focus of currently open popupmenu to the invoker
3 years ago
Jannis Weis
12df29749c
Remove trailing whitespace
3 years ago
Jannis Weis
126f3e917f
Version 3.0.0
...
Update README and advance version number.
3 years ago
Jannis Weis
880ad6d681
Provide more descriptive error messages when the window isn't displayable
3 years ago
Jannis Weis
34a4cfe1af
Invert KEY_HIDE_TITLE property
...
Otherwise, it behaves the opposite of what one would expect.
3 years ago
Jannis Weis
c8087a4efc
Promote platform-base to be api of platform-decorations
3 years ago
Jannis Weis
3a51d41ef4
Adjust rect to match swing coordinate system
3 years ago
Jannis Weis
7841acecac
Add overload for NativeDecorationsManager#titlePaneLayoutInfo taking a JRootPane
3 years ago
Jannis Weis
31c54ebf10
Avoid possible NPE in MacOSDecorationsUtil#setTitleVisible
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
1b19c70e56
Expose hidden title property in dev menu of demos
3 years ago
Jannis Weis
b5d01813ba
Use correctly determined decorations style from title pane
3 years ago
Jannis Weis
5f3176bbc1
Remove debug println
3 years ago
Jannis Weis
f2ea6571d0
Allow hiding the title of a window using a rootPane property
3 years ago
Jannis Weis
2a9efee3e5
Don't paint titlebar border when it isn't opaque
3 years ago
Jannis Weis
c36043abf6
Invert transparent titlebar property to determine opacity
3 years ago
Jannis Weis
1f99a65ed3
Only create transition image for windows with nonzero size
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
652ecf11ca
Rename propertyChangeListener to avoid shadowing field name from superclass
3 years ago
Jannis Weis
d7d08139ab
Update OverlayRSyntaxScrollPane to demonstrate scrollbar background painters
3 years ago
Jannis Weis
e9a350268b
ScrollBar: Allow specifying a background painter
...
This can be used to draw a custom background on scrollbars e.g.
for markers for text content inside the scroll pane.
3 years ago
Jannis Weis
6884027ca6
Add convenient method to customize titlebar colors
3 years ago
Jannis Weis
af82ec0d9e
Restore window bounds after uninstalling decorations
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
3dba0f5a8c
Show window context menu when right-clicking anywhere on the title pane
3 years ago
Jannis Weis
a1a55db222
Extract decorations related constants into interface
3 years ago
Jannis Weis
aceed0cdd3
Move decorations related classes into platform-base
3 years ago
Jannis Weis
6945e5b244
Don't rely on specific LaF properties for windows title bar buttons
3 years ago
Jannis Weis
a52e69db39
Provide fallback color for dukes nose
3 years ago
Jannis Weis
44807d7a4c
Implement equals and hashCode for FontPrototype
3 years ago
Jannis Weis
96c900e621
Appease ErrorProne by replacing the mutable enum with a static class
3 years ago
Jannis Weis
989e802ff0
Allow settings the FontPrototype through ThemeSettings.
3 years ago
Jannis Weis
f9e35e6af1
ComboBox: Fix randomly incorrect background color
3 years ago
Jannis Weis
a52bc3bc5d
Add FontPrototype to Theme
...
This allows a theme to change the base font of the UI.
We expose also expose this property through the settings ui.
3 years ago
Jannis Weis
ee23a51dea
Use better looking default font for asian scripts on Windows
3 years ago
Jannis Weis
eb2948666c
Avoid infinite loop in AttachedPopupComponent#getBackground
3 years ago
Jannis Weis
9fe501bcc3
Actually try screen bounds instead of window bounds in second pass
3 years ago
Jannis Weis
6c6fdadb54
Make it possible to use absolute positions as a fallback for tooltips
3 years ago
Jannis Weis
631d041038
Increase titlebar font size
3 years ago
Jannis Weis
0ad6d04ffa
Ensure titlebar font is installed the first time the laf is applied
3 years ago
Jannis Weis
3639369772
Ensure window title uses correct font on Windows
3 years ago
Jannis Weis
ff34a3ed0c
Move jdk resource bundles to resource folder
...
Otherwise, they can't be located when running on the module path because
we don't export the package they previously resided in.
While we're at it, we move all resource bundles into a common location.
Fixes #289
3 years ago