Jannis Weis
6945e5b244
Don't rely on specific LaF properties for windows title bar buttons
3 years ago
Jannis Weis
a52e69db39
Provide fallback color for dukes nose
3 years ago
Jannis Weis
44807d7a4c
Implement equals and hashCode for FontPrototype
3 years ago
Jannis Weis
96c900e621
Appease ErrorProne by replacing the mutable enum with a static class
3 years ago
Jannis Weis
989e802ff0
Allow settings the FontPrototype through ThemeSettings.
3 years ago
Jannis Weis
f9e35e6af1
ComboBox: Fix randomly incorrect background color
3 years ago
Jannis Weis
a52bc3bc5d
Add FontPrototype to Theme
...
This allows a theme to change the base font of the UI.
We expose also expose this property through the settings ui.
3 years ago
Jannis Weis
ee23a51dea
Use better looking default font for asian scripts on Windows
3 years ago
Jannis Weis
eb2948666c
Avoid infinite loop in AttachedPopupComponent#getBackground
3 years ago
Jannis Weis
9fe501bcc3
Actually try screen bounds instead of window bounds in second pass
3 years ago
Jannis Weis
6c6fdadb54
Make it possible to use absolute positions as a fallback for tooltips
3 years ago
Jannis Weis
631d041038
Increase titlebar font size
3 years ago
Jannis Weis
0ad6d04ffa
Ensure titlebar font is installed the first time the laf is applied
3 years ago
Jannis Weis
3639369772
Ensure window title uses correct font on Windows
3 years ago
Jannis Weis
ff34a3ed0c
Move jdk resource bundles to resource folder
...
Otherwise, they can't be located when running on the module path because
we don't export the package they previously resided in.
While we're at it, we move all resource bundles into a common location.
Fixes #289
3 years ago
Jannis Weis
2de68b514d
Demos: Convert FileChooserDemo to proper demo
3 years ago
Jannis Weis
b691cc0d22
Demos: Don't deadlock while instantiating a demo on the UI thread
3 years ago
Jannis Weis
cde54833f7
Remove dependency on JavaNativeFoundation framework
3 years ago
Jannis Weis
887f4cb54a
Remove debug logging
3 years ago
Jannis Weis
a45a1c5faa
Include necessary JNF code at compile time
3 years ago
Jannis Weis
5133f18d8a
Fonts: Allow setting a font prototype for the font which all fonts will be based off.
3 years ago
Jannis Weis
34f3815046
Settings: Ensure the settings dialog responds to locale changes
3 years ago
Jannis Weis
dcb94bba42
Update comment about having to disable reporting before program exit
3 years ago
Jannis Weis
98efc1ca1e
Notify listeners when reporting is enabled
...
Relates to #310
3 years ago
Jannis Weis
3180dfbc75
RootPane: Don't paint any border on operating systems with rounded corners
...
The corner would look weird as the border is painted as a rectangle.
Fixes #306
3 years ago
Jannis Weis
ef54362467
RootPane: Combine all border keys into one
...
They were all the same anyway.
3 years ago
Jannis Weis
269e854279
Decorations: Adjust windows titlepane to height of title font
3 years ago
Jannis Weis
64d5b2fec2
Parser: Recognise "Font" as a font key suffix
3 years ago
Jannis Weis
3c7ec99cd6
Parser: Trim input before parsing
3 years ago
Jannis Weis
75e055f6b3
IconLoader: Print path when failing to load a file
3 years ago
Jannis Weis
92e61ac97e
Make sound.svg available in iconset
3 years ago
Jannis Weis
bcdc2f6990
Fix code style
3 years ago
Jannis Weis
a9be53454f
Tests: Fix compilation errors
3 years ago
Jannis Weis
99833fcd04
Make platform.preferences usable as a standalone module
3 years ago
Jannis Weis
fa442a8bd3
Remove darklaf.properties dependency from windows and mac module
3 years ago
Jannis Weis
63c5a1b836
Extract system preference reporting mechanism to own module
...
To do this the following restructuring is performed:
- Move decorations specific classes to darklaf-platform-decorations
- Move SystemInfo to darklaf-platform-base
- Move theme specification specific classes to darklaf-theme-spec
- Create new module darklaf-platform-preferences for the reporting related classes
3 years ago
Jannis Weis
5f69904a22
Remove refactoring artifacts
3 years ago
Jannis Weis
ce1cc67793
Don't format objective-c files
...
The formatter fails with them so don't attempt to do it.
3 years ago
Jannis Weis
3b13068470
CI: Run errorprone on Java 11
3 years ago
Jannis Weis
42506c137f
Build: Properly package module stubs
...
This allows them to be discovered during compilation.
3 years ago
Anticleiades
a439cd254a
Correct Italian translations
3 years ago
Anticleiades
b0976c04b7
Fix glitches occurring while resizing JFrame, by adding the missing "control" global property
3 years ago
Jannis Weis
59ca3502c8
Build: Stub invisible modules to avoid compiler warnings
...
Some modules explicitly export only to darklaf.core, because
they are implementation modules. To avoid compiler warnings
we stub the module definition.
3 years ago
Jannis Weis
e722048341
TabFrame: Add method to add custom buttons to the popup header
...
Managing the style of the header for buttons is non-trivial, so
we have the UI expose an api to create matching styled button for
the user.
3 years ago
Jannis Weis
1cc12259bd
Remove debug print statement
3 years ago
Jannis Weis
e40947b057
Build: Ensure test executions are patched to use module path
3 years ago
Xujiayao
a064098869
Correct Chinese and Japanese translations and add theme_settings translations for both languages
3 years ago
Jannis Weis
b4e38bd818
Windows: Use rcWork instead of rcMonitor in window bounds adjustments
...
The bottom would never be adjusted because of the taskbar.
3 years ago
Jannis Weis
4453ce13a7
Windows: Also extend client frame when running on Windows 11
...
Fixes #300
3 years ago
Jannis Weis
3e6672ca9b
Improve automatic tooltip alignment
...
Use a better guess for the initial alignment than always using SOUTH.
3 years ago