weisj
09083f0bfb
Introduce string literal syntax and load some icon colors trough deferred property resolution at patch time.
4 years ago
weisj
7df17a9abc
Extract listener setup
4 years ago
weisj
bd87d6e84e
Make sure textfield icons are painted using antialiasing.
4 years ago
weisj
83551ef37b
Move GraphicsUtil methods into GraphicsContext as members.
4 years ago
weisj
f2420fb789
Revert last two commits. Using the fallback key actually does nothing.
4 years ago
weisj
68ca38ddeb
Don't overwrite TitlePane.unifiedMenuBar once it is set.
4 years ago
weisj
5879d5089d
Don't overwrite macos.coloredTitleBar once it is set.
4 years ago
weisj
a52cb110ce
Properly align numbering.
4 years ago
weisj
d9b0de52a2
Only replace default fonts i.e. logical Dialog fonts.
4 years ago
weisj
71276cae1f
Fix font names. Monospace -> Monospaced
4 years ago
weisj
667b9ccdd6
Remove method GraphicsUtil#setupAAPainting and replace it with GraphicsUtil#setupStrokePainting.
4 years ago
weisj
2c3039ed5b
Revert accidental removal of size specification for empty icon.
4 years ago
weisj
d4b45ec72d
Break up groups for better readability.
4 years ago
weisj
0e7ab8dfc5
Replace key string literal with constant.
4 years ago
weisj
59084d38a5
Update textborder if warning state has changed.
4 years ago
weisj
c05082665b
Avoid creating derived instances with the same size as the icon.
...
Even though the check may cause the icon(uri) to be loaded this
avoid painting to multiple off-screen images when the icon size is only
inferred from the svg hence causing multiple instances of the same icon with
the same size.
Note that this check will only cause the icon to be loaded if the icon size is
inferred.
4 years ago
weisj
c0dbf216e6
Remove explicit size definitions for icons where possible.
...
Let the size be inferred by the svg definition.
4 years ago
weisj
2cf2cfa444
Infer icon size for svg icons, when no size is given.
...
Icons can be scaled to fit a specific size if both arguments are the same and negative (< -1).
4 years ago
weisj
b152520471
Make togglebutton hints depend on contrast property of theme.
4 years ago
weisj
de0e9a6dc2
Provide generated foreground for colors which have a solid accent color dervied background for better legibility.
4 years ago
weisj
a94087b841
Generate foreground color based on background.
4 years ago
weisj
4c1822b563
Default color should only be checked by reference equality.
4 years ago
weisj
ea85370b2d
Check for key containment instead of value.
4 years ago
weisj
2ce89fde1a
Check for theme capabilities before applying accent colors.
4 years ago
weisj
48aa90d065
Properly request focus for already open settings dialog.
4 years ago
weisj
c27894fb47
Reflect syntax change in documentation.
4 years ago
weisj
f5d7873a23
Require colors to start with #. This avoid ambiguity between numbers and colors.
4 years ago
weisj
867803af6f
Don't pass null values for background rendering to user defined renderers.
4 years ago
weisj
45c86e91b8
Port UITable creation to new parsing system.
4 years ago
weisj
159e1394f9
Migrate to new parsing system.
4 years ago
weisj
9e32dfc601
Fix accent/selection color selection being ignored.
4 years ago
weisj
1f9377abf8
Don't recalculate layout index for empty cells used for background painting.
...
Respect list insets when painting empty rows.
4 years ago
weisj
d398cb91aa
Derive selection color from accent color (on windows)
4 years ago
weisj
3c28c4cd15
Move ColorModel classes to util
4 years ago
weisj
6b43390932
Fix issue where the OK/Apply options in the theme settings panel didn't respect the system accent/selection color.
4 years ago
weisj
029be4f873
Make helper classes final.
4 years ago
weisj
5ac3291ac9
Use correct minimum size for boolean tree renderers.
4 years ago
weisj
d3191a9b27
Check for headless environment if determining transparency capabilities.
4 years ago
weisj
800a8898e7
Use heavy weight popups on linux.
4 years ago
weisj
67cca62b0b
Ensure tooltip is displayed and has the correct location on linux (gnome).
4 years ago
weisj
331321f9f4
Instead of setting the content as the content pane use separate JPanel to avoid adding components to itself.
4 years ago
weisj
2b525dd57f
Enable top shadow. Otherwise it cuts off.
4 years ago
weisj
c6ee13d625
Fix popups not being translucent on some linux desktop environments.
...
HeavyWeight popup windows disable rootpane double buffering which results in opaque windows.
4 years ago
weisj
79ec833778
Check for per pixel translucency when using balloon tooltips.
...
If the GraphicsEnvironment doesn't support translucency fallback to plain tooltips.
4 years ago
weisj
4fe6c627fc
Setup XServer for linux workflow.
4 years ago
weisj
db447b45a4
Improve tooltip test.
4 years ago
weisj
b20bca4153
Run tooltip test on linux.
4 years ago
weisj
85b52cc6f7
Ensure complete tooltip hierarchy is non-opaque
4 years ago
weisj
a9aa59fcd7
Remove useless import.
4 years ago
weisj
14af935bc8
Remove support for JList shrinkWrap option as it violates the look of the laf.
4 years ago