weisj
db9283d51a
SWING-DSL: Provide spacing hints for the swing-dsl library and set a ComponentFactory to provide darklaf specific components.
4 years ago
weisj
d6525b6a89
Tooltip: Replace hacky method of keeping a consistent shadow opacity with better approach.
...
Previously we checked whether the window of the tooltip could possibly be painted multiple times and then set a flag to prevent the shadow from being painted more than once. It is a lot easier to simply erase the background with a transparent color. This may also help with #233 .
4 years ago
weisj
e937d09365
[Windows] BuildScr: Enable warnings for native code.
4 years ago
weisj
8b3c2705c1
TextField: Include caret spacing in visible editor rect to avoid text shifting when the caret is at the start/end of the line.
4 years ago
weisj
75dacb7ade
QuickColorChooser: Provide spacing between checkbox and color label. This is done using an empty width space as the text of the checkbox.
4 years ago
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
5c3900d319
[Windows] NativeLib: Change c-style casts to static_cast<>
4 years ago
weisj
1489be4963
[Windows] Decorations: Add logging.
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
37ed8e158b
SVGIcon: Pass component as image observer when painting the off-screen buffer.
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
f611ac25e6
SVGIcon: Formatting
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
b4b577e9e9
Add logging for macos title pane.
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
c931ccac75
Add #toString implementation for svg icons.
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
b5d30f4416
Rename parameter to better resemble the purpose.
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
1e1b49707c
Set base icon colors in #loadIconTheme instead of #customizeIconTheme
4 years ago
weisj
dda49f082b
Log image buffer creation on finer level.
4 years ago
weisj
7df17a9abc
Extract listener setup
4 years ago
weisj
8fc941b65f
Use correct size when creating image. Relates to #231
4 years ago
weisj
2bd096c69c
Log icon size and scale.
4 years ago
weisj
4add8d6a0e
Also check integer values for possible clash with color range in dimension test.
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
c2f93043bf
Ensure proper antialiasing when painting icons to off-screen buffer.
4 years ago