diff options
| author | 2019-02-07 10:05:10 +0100 | |
|---|---|---|
| committer | 2019-02-07 10:05:10 +0100 | |
| commit | 96c796d4d385b7a076a3e7ab7b374907472487e2 (patch) | |
| tree | 9828a6af02e103ec293f9ceed60e7527a9d271f6 /src/main/java/oml/ast/transformers/RemoveObjectCasts.java | |
| parent | Fix entry remapping not applying to resolved entry (diff) | |
| download | enigma-96c796d4d385b7a076a3e7ab7b374907472487e2.tar.gz enigma-96c796d4d385b7a076a3e7ab7b374907472487e2.tar.xz enigma-96c796d4d385b7a076a3e7ab7b374907472487e2.zip | |
Add System and None (JVM Default) themes. (#107)
The current 2 editor color schemes are used depending on whether a LAF is detected to be dark ot light.
This is done by drawing an empty JPanel into a dummy image and getting the grayscale pixel brightness.
Move setting theme a bit earlier so it doesn't throw exceptions in some cases when using system theme.
Change the order of setting swing LAF and applying theme so that apply() can get the right colors.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions