weisj
436e7c13e3
Installation: Ensure installed theme is reported correctly at all time. We need to avoid to set the installed theme to eagerly as it may be requested during defaults initialisation, which would cause components to query an incorrect color.
4 years ago
weisj
cd2e4747af
LafInstallation: Add theme transition animation when installing the laf using the LafManager. This can be disabled by setting the "darklaf.animatedLafChange" system property to false.
4 years ago
weisj
ddf6105e57
Util: Add convenience method for checking system flags.
4 years ago
weisj
27b04c9673
Util: Move GraphicsUtil to util module.
4 years ago
weisj
2dab2013bf
Util: Remove unused methods.
4 years ago
weisj
b077e3f741
CellHintPopup: Ensure component are children of their respective cell containers/renderer panes, when calculating their preferred/minimum size or during painting.
...
This ensures they have the correct GraphicsConfiguration set, which is used e.g. when retrieving the FontRendererContext/FontMetrics.
4 years ago
weisj
53ebf4e2ae
RootPane: Added logging for size calculations.
...
[MacOS] TitlePane: Added logging for decorations installation.
4 years ago
weisj
29fe87541e
Tooltip: Make use of BufferedImage#getSubImage. Also decrease the shadow opacity for light themes.
4 years ago
weisj
8d94f3b1cf
Tooltip: Consider top shadow when aligning tooltip pointer to bottom of target rectangle.
4 years ago
weisj
c757ee5e0c
Logging: Deprecate LafManager#enableLogging as it may overwrite any set LogLevel. The preferred method is LafManager#setLogLevel.
4 years ago
weisj
2ca2c738d7
Tooltip: Remove unused variable.
4 years ago
weisj
48130902cc
TextField: Pass component to the icon being painted.
4 years ago
weisj
c926b91793
Tooltip: Remove debug painting.
4 years ago
weisj
4e5e6deb68
NumberingPane: Prioritise right before left padding when calculating the number offset.
4 years ago
weisj
7d9e7d73b7
Update year in LICENSE.
4 years ago
weisj
cbf0260358
Tooltip: Correct shadow size insets for top alignment.
4 years ago
weisj
fe4071d8ba
Disable double buffering for cellhint popup renderer. Fixes #232
4 years ago
weisj
f161b369ec
Mark more log statements as level=Finer.
4 years ago
weisj
61706f56b0
Add option to specify the size of the icons displayed in the combobox and center them.
4 years ago
weisj
7bf7030ee5
Move tooltip position adjustments to the border itself.
4 years ago
weisj
4873f9b4b0
Reformat ternary operator.
4 years ago
weisj
86d1c314f0
Respect top tooltip shadow when adjusting the tooltip position for the pointer location.
4 years ago
weisj
770be706c0
Specify correct size in revert icons.
4 years ago
weisj
f691249ae9
Explicitly make settings the tooltip of an AttachedPopupComponent a no-op.
4 years ago
weisj
4b0c5fde66
Avoid filtering icons.
4 years ago
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