51 Commits (9b5aebca48ec54307910bcfde079f7cbb0d11075)

Author SHA1 Message Date
weisj 5b8a340e60 Refactor tests. 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 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. 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. 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. 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) 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. 5 years ago
weisj 941e1fbdda Simplified boolean client property checks. 5 years ago
weisj dd19ad4e66 Fixed popups not having a shadow [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. 5 years ago
Jannis Weis 6eeb813562
Theme preference support on macOS. (#127) 5 years ago
weisj 3ee6d18f1f Changed api for FontSizeRule. 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. 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) 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. 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. 5 years ago
weisj 247690e3e5 Fixed NPE when accessing evt.getNewValue() on properChange-Events. 5 years ago