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
53ebf4e2ae
RootPane: Added logging for size calculations.
...
[MacOS] TitlePane: Added logging for decorations installation.
4 years ago
weisj
b4b577e9e9
Add logging for macos title pane.
4 years ago
weisj
7d9e7d73b7
Update year in LICENSE.
4 years ago
weisj
029be4f873
Make helper classes final.
4 years ago
weisj
5b8a340e60
Refactor tests.
...
Add tests for custom title bars.
Fix issue where the JRootPane.hideTitlePane option had no effect on macOS.
4 years ago
weisj
f9f4e490cf
Add option to disable colored title bars on macOS. If disabled the titlebar will either be the native light or dark variant based on the theme.
4 years ago
weisj
50284319b7
Add property on rootpane to hide titlebar. Fixes #211
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
a464d233d1
Updated formatting rules.
4 years ago
weisj
0b1cce8c23
Fix incorrect identifier usage.
4 years ago
weisj
beaf19e005
Improved Catalina dark mode detection.
4 years ago
weisj
d6fd046276
Replace magic value with named constant.
...
Replace macros with constexpr.
Replace c style casts with static_cast.
4 years ago
weisj
25470e97a3
Reduce flickering when switching theme on windows.
4 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
7689be591a
Made selection macOS selection colors available on all platforms.
5 years ago
weisj
333f8a4b90
Ensure default buttons don't get lost after theme change.
...
Ensure sliders are properly layed out after theme change.
Ensure title pane foreground color is correct after theme change.
5 years ago
weisj
7574dd2ecf
Only use newer unsafe dark mode detection inf Auto mode is selected.
5 years ago
Jannis Weis
deae2142da
Migrate to Nokee plugin ( #173 )
...
Migrate to Nokee plugin.
Improved dark mode detection on macOS.
Fixed issue where the native theme option wasn't available in the theme settings on macOS.
Improved scrollbars.
5 years ago
weisj
325d822742
Added -Wunguarded-availability compiler option to prevent usage of unsupported apis.
5 years ago
weisj
c08f660e2e
Fixed log formatting for library loggers.
5 years ago
weisj
788e094592
Refactored library code.
5 years ago
weisj
f424f479b6
More control over logger settings.
5 years ago
weisj
0d0fe13a7e
Automatically insert suppression for unused properties.
...
Removed license header from gradle.properties and gradle-wrapper.properties.
5 years ago
weisj
941e1fbdda
Simplified boolean client property checks.
5 years ago
weisj
dd19ad4e66
Fixed popups not having a shadow [windows].
...
Fixed content being misplaced after window is restored into maximized position [windows].
5 years ago
weisj
f31724cc3d
Fixed incorrect titlebar height [macOS]
5 years ago
weisj
cb8d4d63dd
Adjusted preference capabilities depending in macOS version.
5 years ago
weisj
63e55f0f71
Autostyle setup and initial formatting.
5 years ago
weisj
ccd4036da2
Removed absolute font adjustment.
...
Themes now return whether they support accent colours.
Preferences supplier now return what they support for reporting.
Fixed small alignment issues for tooltips.
Added ColoredRadioButton
Added ThemeSettings utilities (with dialog).
Added option to align slider labels.
Made Dialogs display window icons in windows (if set).
5 years ago
Jannis Weis
6eeb813562
Theme preference support on macOS. ( #127 )
...
Theme preference support on macOS.
5 years ago
weisj
3ee6d18f1f
Changed api for FontSizeRule.
...
Added provider for theme preferences on windows.
5 years ago
weisj
f23ccf493b
Renamed decorations-base to platform-base. This accomodates a broader use of common classes between platforms.
5 years ago
weisj
6bdf10857f
Refactored defaults initialization.
5 years ago
weisj
1760744807
formatting and code style.
5 years ago
weisj
1d54edba05
Fixed double title bar when mediumweight popups are used.
5 years ago
weisj
4214d5bc75
Prevent installation of decorations on popups.
...
Fixed NPE in MacOSTitlePane#getPreferredSize.
5 years ago
weisj
612812567e
Added library search path for older versions of macOS.
5 years ago
Jannis Weis
498b73054c
Wait for jni installation to complete asynchronously. ( #72 )
...
Improve installation of decorations.
5 years ago
Vladimir Sitnikov
d20b0b86e6
Skip native library loading when darklaf.decorations=false
5 years ago
weisj
ec5e3a4ab0
Replaced hard coded property names with constants.
5 years ago
weisj
036a78f1b3
Fixed getTitleBarHeight method.
...
Uninstall decorations when window is disposed.
5 years ago
weisj
e4290720ba
added explicit type.
5 years ago
weisj
ed21bef51d
fixed jni code.
5 years ago
weisj
4763f3ec2b
fixed jni code.
5 years ago
weisj
94c7063390
get titlebar height through jni on macOS.
5 years ago
weisj
06416f1bf8
retainWindow -> releaseWindow
5 years ago
weisj
dd03da396f
Retain/release nsWindow when decorations are installed/uninstalled.
5 years ago