weisj
ca8a91ccfa
Build: Update gradle version
4 years ago
weisj
2a1983d0fc
Tree: Use background color of the tree as the non selected background if it has been specifically set by the user. Selection colors will still overwrite this behaviour.
4 years ago
weisj
40e18bc667
Remove unnecessary methods from UIAction.
4 years ago
weisj
e87e43c5f5
Build: Rename swingDsl to swingDsl.lafSupport for more clarity.
4 years ago
weisj
ce78423c33
Delegate getFocusAcceleratorKeyMask to getSystemMnemonicKeyMask in SwingUtilities2
4 years ago
weisj
db7d560871
Everywhere: Remove usage of internal API DefaultLookup.
4 years ago
weisj
9ee79f4329
Everywhere: Remove usage of internal API UIAction.
4 years ago
weisj
164a9f6b13
Everywhere: Remove calls to internal API SwingUtilities2::loc2IndexFileList.
4 years ago
weisj
23ea792664
Everywhere: Remove calls to internal API SwingUtilities2::tabbedPaneChangeFocusTo.
4 years ago
weisj
f8f12a0816
Everywhere: Remove calls to internal API SwingUtilities2::pointOutsidePrefSize.
4 years ago
weisj
e5a5bfda7f
Everywhere: Move calls to internal API SwingUtilities2::clipStringIfNecessary into SwingUtil.
4 years ago
weisj
4b11cc84b9
Everywhere: Move calls to internal API SwingUtilities2::setSkipClickCount to SwingUtil. Remove calls to internal API SwingUtilities2::setLeadAnchorWithoutSelection.
4 years ago
weisj
88cbd8a3a3
Everywhere: Remove calls to internal API SwingUtilities2::shouldIgnore.
4 years ago
weisj
1d7127adc8
Everywhere: Remove calls to internal API SwingUtilities2::drawHLine and SwingUtilities2::drawVLine.
4 years ago
weisj
75db998db6
Everywhere: Move calls to internal API SwingUtilities2::stringWidth into SwingUtil.
4 years ago
weisj
a265ef96b9
Everywhere: Move calls to internal API SwingUtilities2::drawStringUnderlineCharAt and SwingUtilities2::drawString into SwingUtil.
4 years ago
weisj
f60be2d722
Everywhere: Remove calls to internal API SwingUtilities2::getFontMetrics
4 years ago
weisj
4ef86deda0
Settings: If there is no theme currently available (due to no theme being registered) then we should fallback to the default theme offered by the LafManager
4 years ago
weisj
3c9056f29b
Prevent NPE when item to be rendered is null
4 years ago
weisj
7bc2470a83
Windows-Native: Initialize all struct members with a default value on construction.
4 years ago
weisj
5580656e79
Build: Update to Gradle 7
...
Upgrade gradle version to 7.0. Make use of typesafe project and library accessors. These replace the current bom project.
Handle different xCode version on macOS.
4 years ago
weisj
a31e78ced4
Migrate buildSrc from Groovy to Kotlin
4 years ago
weisj
81ac979217
Update implementation of DarklafComponentFactory.
4 years ago
weisj
6406f4ac8a
Tree: Adhere to the default behaviour of left/right key navigation.
...
Navigating left should:
- Collapse the current hierarchy if the node is expanded.
- Select the parent node if existent and the current node is a leaf or not expanded
- Select the first root node otherwise.
Navigating right should:
- Expand the current node if it isn't a leaf.
- Navigate to the first child if the current node is expanded.
- Navigate to the next node otherwise (Darklaf addition)
This fixes #228
4 years ago
weisj
9fc4dc15ca
Demo: Add option to select all available installed Lafs.
4 years ago
weisj
3b5d390d3d
Swing-DSL: Update implementation to match latest changes.
4 years ago
weisj
9ee5b955b6
Fix style violations.
4 years ago
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