Jannis Weis
eb2a7057ce
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
Jannis Weis
2de68b514d
Demos: Convert FileChooserDemo to proper demo
3 years ago
Jannis Weis
b691cc0d22
Demos: Don't deadlock while instantiating a demo on the UI thread
3 years ago
Jannis Weis
cde54833f7
Remove dependency on JavaNativeFoundation framework
3 years ago
Jannis Weis
887f4cb54a
Remove debug logging
3 years ago
Jannis Weis
a45a1c5faa
Include necessary JNF code at compile time
3 years ago
Jannis Weis
5133f18d8a
Fonts: Allow setting a font prototype for the font which all fonts will be based off.
3 years ago
Jannis Weis
34f3815046
Settings: Ensure the settings dialog responds to locale changes
3 years ago
Jannis Weis
dcb94bba42
Update comment about having to disable reporting before program exit
3 years ago
Jannis Weis
98efc1ca1e
Notify listeners when reporting is enabled
...
Relates to #310
3 years ago
Jannis Weis
3180dfbc75
RootPane: Don't paint any border on operating systems with rounded corners
...
The corner would look weird as the border is painted as a rectangle.
Fixes #306
3 years ago
Jannis Weis
ef54362467
RootPane: Combine all border keys into one
...
They were all the same anyway.
3 years ago
Jannis Weis
269e854279
Decorations: Adjust windows titlepane to height of title font
3 years ago