136 Commits (jxlayer)

Author SHA1 Message Date
weisj 54bd006ad2
Parser: Fix insets test. 3 years ago
weisj 34f63b4e16
Test: Fix typo 3 years ago
weisj 7124da004d
SVG: Write back fallback-opacity values to the internal svg representation s.t. it doesn't get lost during laf change. 4 years ago
weisj fe19e2ebd2
Provide mechanism to specify VisualPaddings for svg icons in the xml markup. 4 years ago
weisj 3457eeb694
Memory: Ensure shared static helpers don't prevent ui classes from being garbage collected. 4 years ago
weisj 3f16eec70c
Fix theme properties not being displayed in the generated UITable. 4 years ago
weisj b5da5cdb2d
Check if text antialiasing hint isn't null. 4 years ago
weisj 5580656e79 Build: Update to Gradle 7 4 years ago
weisj 37ed8e158b
SVGIcon: Pass component as image observer when painting the off-screen buffer. 4 years ago
weisj f611ac25e6
SVGIcon: Formatting 4 years ago
weisj 7d9e7d73b7
Update year in LICENSE. 4 years ago
weisj f161b369ec
Mark more log statements as level=Finer. 4 years ago
weisj c931ccac75
Add #toString implementation for svg 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 dda49f082b
Log image buffer creation on finer level. 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 c2f93043bf
Ensure proper antialiasing when painting icons to off-screen buffer. 4 years ago
weisj 47332d3446
Add support for legacy color declarations without '#' prefix. 4 years ago
weisj c05082665b
Avoid creating derived instances with the same size as the icon. 4 years ago
weisj 2cf2cfa444
Infer icon size for svg icons, when no size is given. 4 years ago
weisj f5d7873a23
Require colors to start with #. This avoid ambiguity between numbers and colors. 4 years ago
weisj 3ab63d64a0
Update Parser tests with new delimiters 4 years ago
weisj 48397e94c4
Make test classes non public 4 years ago
weisj 159e1394f9
Migrate to new parsing system. 4 years ago
weisj 969d8a9261
Introduce more robust parser replacement for PropertyLoader. 4 years ago
weisj 3c28c4cd15 Move ColorModel classes to util 4 years ago
weisj 029be4f873 Make helper classes final. 4 years ago
weisj f4606cfec3 Use component as image observer if possible. 4 years ago
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). 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. 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. 4 years ago
weisj 1b26a1aa7c Add manual rotation selection to RotatableIconDemo. 4 years ago
weisj 07586c3c90 Improve svg exception message to include icon path. 4 years ago