weisj
f46e601630
Ensure DerivableImageIcon load necessary resources before painting.
4 years ago
weisj
25554e9158
Make Darklaf#getID reproducible across all Darklaf subclasses.
4 years ago
weisj
b2fa58ebc5
Make Icon editor usable with non-darklaf lafs (very rudimentary).
4 years ago
weisj
3ec5dfd6eb
Provide fallback values for most icon properties.
4 years ago
weisj
f6c07b4a0f
Update IconEditor layout.
4 years ago
weisj
b2461982d5
Allow passing context defaults in constructor and offer different modes for merging context properties (hardcode them, remove them (i.e. use the values from the new context) or replace them with explicit references).
4 years ago
weisj
0d12aee528
Expose #getUri to sublasses.
4 years ago
weisj
2c55ad4f11
Add API to change the context properties of a custom icon (i.e the theme defaults).
...
Add option to reference other properties when resolving icon properties. Properties can be referenced by setting the property value to %<other property>.
4 years ago
weisj
3dca652e82
Add method to get the reference prefix.
4 years ago
weisj
02734d0a97
Add OverlayIcon and TextIcon.
4 years ago
weisj
fac5fe81c4
Improve preview for UIManagerDefaults.
4 years ago
weisj
8e131b11b3
Update style. Enum declarations should always be in separate lines.
4 years ago
weisj
10fa57e286
Don't keep increased rotated scale to avoid down-sampling artefacts.
4 years ago
weisj
988a0dfc65
Add icon for JColorChooser.
...
Decrease size of hexvalue field for SmallColorChooser.
Move textfield padding from border to margins.
4 years ago
weisj
c4f64a4971
Add default implementation of UIAwareIcon which don't rely on the IconLoader mechanism for external custom icons.
4 years ago
weisj
969cf0bfc5
Add overload to make the ToggleIcon api meaningful for situations where it isn't used for enabled/disabled icons.
4 years ago
weisj
52fc48d52c
Introduce utility method to rescale an icon.
4 years ago
weisj
ae8ad433a4
Properly detect if themed color needs to be refreshed.
...
Provide default value for 'apple.laf.useScreenMenuBar' system property on macOS.
4 years ago
weisj
1b26a1aa7c
Add manual rotation selection to RotatableIconDemo.
...
Add icon selection to RotatableIconDemo.
4 years ago
weisj
07586c3c90
Improve svg exception message to include icon path.
4 years ago
weisj
ae473cb7a1
Updated code style
...
- Keep simple if in one line.
- Wrap enum declarations if necessary.
4 years ago
weisj
9928b9afd4
Switched to google formatting with increased linewidth and indentation size.
4 years ago
weisj
a87788350a
Ensure spinner respects user set background (specifically table cell editor background).
4 years ago
weisj
a464d233d1
Updated formatting rules.
4 years ago
weisj
dc99fbf435
Make sure listeners are notified if theme is installed through a synthesised Laf.
...
Fix togglebutton reporting incorrect preferred width.
Change semantics of light/dark slider in IconDemo to only change the icon theme and not the laf theme.
Removed non-functioning method LafManager#reloadTheme.
4 years ago
weisj
e5e8b69178
Check for actually installed theme instead of set theme.
4 years ago
weisj
12dc523d87
Ensure fonts are created as composite fonts.
4 years ago
weisj
1c8b4f42a2
Improve performance of JTable by disabling kerning on table font.
...
Ensure lead selection border of tree cell is painted last.
Added option to declare fallback values in properties that are only applied if the key doesn't have a value associated yet.
Ensure boolean renderers use the correct cell border.
Center boolean renderers.
Ensure DarkMultiCellEditor uses the correct delegate.
Fixed missing border on table header cell after scrolling.
4 years ago
weisj
78a31f07e0
Remove configuration time only property from UIDefaults.
4 years ago
weisj
8c5c8ddc97
Add JToggleButtonList.
...
Respect border insets when calculating bounds for the togglebutton slider variant.
4 years ago
weisj
c8a4c80778
Log changes to theme settings.
...
Finer log differentiation.
4 years ago
weisj
aa8e1420f5
Copy property map if derived version is mutated to prevent the parent from being changed.
4 years ago
weisj
cc13162b4a
Allow custom themed icons to mutate properties.
4 years ago
weisj
4a540ed520
Check for null/empty key early.
4 years ago
weisj
f4b31f7e04
Allow for opacity fallback keys.
4 years ago
weisj
d46b2b7910
Allow for float/double/long opacity values in themed svg icons.
...
Don't override constant stop-opacity for color definitions without opacity property.
4 years ago
weisj
9eb8e38171
Updated test to ensure repeated derivations still share the same resource.
4 years ago
weisj
8c300d251c
Ensure derived icons with the same size share their underlying image resource.
4 years ago
weisj
6c7e98609c
Use IconColorMapper to properly generate the svg for the documentation.
4 years ago
weisj
89b9ed5213
Ensure uri is loaded when calling #getName.
4 years ago
weisj
6c968b494b
Skip icon test in headless mode.
4 years ago
weisj
403e1a93f8
Delay uri loading to icon resolve time.
...
Make IamgeIcon implementation derivable and lazily loaded.
4 years ago
weisj
4e89843999
Move frame icon api from ImageUtil to IconLoader
...
Move ImageUtil to darklaf-utils.
4 years ago
weisj
d75362c572
Ensure subtypes of SVGIcon return the correct icon type when being derived.
4 years ago
weisj
c3dc8d64f0
Changed log level from warning to info.
5 years ago
weisj
3b229953bf
Ensure stops have the correct keyframe associated.
...
Try to recover from unpatched svg icon with clearer error message.
5 years ago
weisj
f526706bbd
Issue warning if non-themed icon is attempted to be loaded as one.
5 years ago
weisj
abfee2c470
Ensure consistency for float to int rgb conversion between macOS color constants and native code.
...
Fixed documentation creation task.
5 years ago
weisj
bb43683636
Updated theme settings icon to incorporate the current accent/selection color.
...
Made theme settings icon accessible without instantiating the whole settings panel.
Fixed issue where if an svgIcon was painted using ImageSource#createImage the icon wouldn't updated the cached image.
5 years ago
weisj
4e5fe2a6fa
Added logging to IconColorMapper.
...
Make sure theme installed events are dispatched after ui reloading is finished.
Fixed background painting for trees in OverlayScrollPane.
Added colorful sample for OverlayScrollPane.
5 years ago