weisj
a2c3af4d86
Windows: Remove dependency on JNA
3 years ago
weisj
e174ff15ca
Actions+Native: Upload arm64 library on macOS.
...
Upload the arm64 library on macos so it can be consumed by the build on other platforms. We also print the file information to check that the produced library really targets the correct arch.
3 years ago
Jannis Weis
ba61872272
Build: Extract optimization level compiler arguments setup.
3 years ago
weisj
542dbf3cb7
Modules + MenuItem: Use java-compatibility.jar from intelliJ to replace swing internal api calls. Because this also replaces the MenuItemLayoutHelper we need to unify the implementation of DarkMenuItemUIBase and DarkMenuUI. This is done by extracting all functionality into the MenuItemUI interface for which the implementing classes need to provide the necessary details.
3 years ago
weisj
8215cd1bc1
NativeLibs: Check whether the corresponding native library can be loaded, when selecting the decorations provider.
...
To do this properly we add new flags to SystemInfo indicating whether the current arch supports X86 or is an ARM/M1 based cpu. The X86 support detection is most definitely incorrect but will work for most common processors. Relates to #240
3 years ago
weisj
3457eeb694
Memory: Ensure shared static helpers don't prevent ui classes from being garbage collected.
4 years ago
weisj
7bc2470a83
Windows-Native: Initialize all struct members with a default value on construction.
4 years ago
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
e937d09365
[Windows] BuildScr: Enable warnings for native code.
4 years ago
weisj
5c3900d319
[Windows] NativeLib: Change c-style casts to static_cast<>
4 years ago
weisj
1489be4963
[Windows] Decorations: Add logging.
4 years ago
weisj
7d9e7d73b7
Update year in LICENSE.
4 years ago
weisj
f5d7873a23
Require colors to start with #. This avoid ambiguity between numbers and colors.
4 years ago
weisj
d398cb91aa
Derive selection color from accent color (on windows)
4 years ago
weisj
029be4f873
Make helper classes final.
4 years ago
weisj
00c6f09589
Remove unneeded +1.
4 years ago
weisj
fd50bb8cd2
Don't decrease titlebar size if no border is painted.
4 years ago
weisj
50284319b7
Add property on rootpane to hide titlebar. Fixes #211
4 years ago
weisj
380abfdfa1
Load resource bundles through UIDefaults.
...
Update rollover status of tabframe tab after moving it's position.
Add localization for colorwheel panel.
Ensure localized text is loaded from basic/metal resources for localized text.
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
501852d5f7
Properly calculate preferred width of windows title pane.
4 years ago
weisj
1280b7d8d0
Add fullscreen demo.
...
Some libraries achieve true fullscreen by making the menu bar invisible. We want to respect this for the combined menubar.
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
c6ed9a89ad
Update cpp format.
4 years ago
weisj
2e3e443d9c
Remove unnecessary flag.
4 years ago
weisj
cbf57eb86e
Use Native.getWindowID instead of Native.getComponentID.
4 years ago
weisj
66dc706974
Fix style violations.
4 years ago
weisj
f94d72b408
Add components in correct order.
4 years ago
weisj
e2ed1ffc46
Add option to toggle unified menubar.
4 years ago
weisj
25470e97a3
Reduce flickering when switching theme on windows.
4 years ago
weisj
8e363503c4
Properly handle toggling decorations on Windows.
4 years ago
weisj
59a3feb25c
Check if libraries are present.
4 years ago
weisj
1e3693b3a2
Make sure HTCAPTION is only returned if mouse is currently pressed.
4 years ago
weisj
1b913e94b7
Undo svg simplification.
4 years ago
weisj
093eaf82bb
Provide localisation for window buttons.
5 years ago
weisj
02cabd2043
Simplify color definitions in svg icons.
...
Reflect theme accent in duke icon.
Increase margin where the minimize button can receive mouseExit events.
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
5f5a3082bc
Minor adjustment to combobox popup location/size.
...
Make sure the dragging area of title panes is up to date.
5 years ago
weisj
a434cac90d
Broadened scope of JButton-properties that JToggleButton can use. Provides a more consistent api between the two components.
...
Added option to disable button background.
Fixed editor of combobox being cut off.
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
4a8b4c633c
Make sure popups use the correct window background.
5 years ago
weisj
6dd08919f2
Disable skipping of WM_ERASEBKGND message to prevent component bleeding on some machines.
5 years ago
weisj
c881bd516d
Use SystemInfo.undefinedArchitecture.
5 years ago
weisj
c08f660e2e
Fixed log formatting for library loggers.
5 years ago
weisj
ce6e62066a
Fixed shadow painting.
...
Made square buttons have zero arc.
Removed unnecessary background painting for password fields.
Removed author tags where not needed anymore.
5 years ago
weisj
788e094592
Refactored library code.
5 years ago
weisj
2d03714a76
Fixed missing bracket.
5 years ago