Jannis Weis
04a5d40ee4
Build: Update gradle to version 7.5
2 years ago
itsTyrion
ce97823d45
Native: Clean up left over temp files
...
On Windows the native libraries weren't deleted after jvm shutdown
as expected. This was reported by itsTyrion in #325 . This implementation is
based on #326 but makes it more robust against multiple simultaneous uses of
the NativeUtil library (e.g. the auto-dark-mode plugin for IntelliJ also makes
use of it).
2 years ago
Jannis Weis
664ac791c2
Update JSVG to version 0.0.3
2 years ago
Jannis Weis
cb93e431b5
Properly center top level menus
3 years ago
Jannis Weis
2112f3bba1
Prevent combobox for font prototypes from growing indefinitely
3 years ago
Jannis Weis
37e2f94ab4
Demos: Don't needlessly install themes if ThemeSettings already handle it
3 years ago
Jannis Weis
bf6ea57b2b
Adhere to ThemeSettings when installing Theme from event
3 years ago
Jannis Weis
27972b9bc5
Expose method to compute an effective PreferredThemeStyle adhering to the current ThemeSettings
3 years ago
Jannis Weis
8260064fbc
Reduce calls to ThemeSettings::save while saving
3 years ago
Jannis Weis
ce4d8c081d
Initialize ThemePreferenceProvider in SystemPreferencesManager
3 years ago
Jannis Weis
869b1d5b28
Windows: Only check for HTMAXBUTTON on Windows 11
...
Relates to #322
3 years ago
Jannis Weis
57411d725b
Windows: Wrap window pointers to enforce correct checking of NULL pointers
3 years ago
Jannis Weis
eba80e3f36
Button: Implicitly set isRequestFocusEnabled to false for borderless variants
3 years ago
Jannis Weis
6c875ec0d0
SplitButton: Respect JComponent#isRequestFocusEnabled
3 years ago
Jannis Weis
c89d617612
Button: Draw focus border for borderless variant
3 years ago
Jannis Weis
0f5b2b3093
Use ButtonConstants instead of DarkButtonUI for constants access
3 years ago
Jannis Weis
ef4deb1e8b
Avoid shadowing class variables
3 years ago
Jannis Weis
3c3e4f81bf
Remove duplicate icon declarations and move Progress into Misc
3 years ago
Jannis Weis
d6b946f3ee
Expose loading animation icons through AllIcons
3 years ago
Jannis Weis
998ba80121
Remove explicit opacity declaration
...
This would result in the opacity being applied twice.
3 years ago
Jannis Weis
bd01677d73
Fix typo Test -> Text
3 years ago
Jannis Weis
23d84b5c3f
Update jsvg dependency
3 years ago
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