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
weisj
ffe188ad89
Only add listeners if title is drawn in swing.
5 years ago
weisj
9620e75476
Retain nswindow
5 years ago
weisj
9cc1f6c6c0
Don't uninstall decorations if window handle is 0.
5 years ago
weisj
d0817653f8
Fixed incorrect window size/location when using setSize/setPreferredSize.
5 years ago
weisj
0310cb0db7
Fixed setting title if native title is used on macOS.
...
Signed-off-by: weisj <weisj@arcor.de>
5 years ago
weisj
247690e3e5
Fixed NPE when accessing evt.getNewValue() on properChange-Events.
...
Signed-off-by: weisj <weisj@arcor.de>
5 years ago
Jannis Weis
027fd444a8
Decorations support for macOS. ( #54 )
...
Adds support for window decorations that "replace" the native ones on macOS.
5 years ago