Commit Graph

76 Commits

Author SHA1 Message Date
nathan
b8a3736fbf Code polish/cleanup. Moved icon size determination to another class 2017-06-25 23:51:21 +02:00
nathan
c70c96b5d9 preverification for methods 2017-06-25 23:48:35 +02:00
nathan
69db7215b4 Code polish/cleanup. Added tray icon size adjustments for linux/unix 2017-06-25 22:59:45 +02:00
nathan
09564855a7 Better method for setting the background color for the Swing tray icon
in linux
2017-06-25 19:31:14 +02:00
nathan
e46ab7d4ad Added transparent workaround fix for Swing system tray icons by sampling
a pixel, and setting that as the background color.
2017-06-25 02:13:27 +02:00
nathan
c44620712b Fixed null pointer possibility in CssParser 2017-06-15 01:21:45 +02:00
nathan
951a600f0b Moved css parsing to it's own class, code polish, method refactoring for
legibilityty
2017-06-07 14:17:49 +02:00
nathan
1cebc72d93 HeavyCheckMark no longer depends on Swing. Can now specify the size of
the checkmark + padding for the image.
2017-05-30 13:02:56 +02:00
nathan
39c1e27a40 Added Heavy Checkmark java rendering 2017-05-29 20:44:38 +02:00
nathan
c4b27add55 No longer uses static sizes for tray size 2017-05-14 14:49:34 +02:00
nathan
ee5f509e76 Fixed issue with scaling fonts incorrectly on Swing UIs. 2017-02-23 01:31:05 +01:00
nathan
c297201133 Fixed casting warnings for reflection 2017-02-20 10:46:40 +01:00
nathan
3c24139544 Removing logic to choose between swing/native menus (Swing w/
appindicators is broken)
2017-01-30 01:34:36 +01:00
nathan
9abc2bdc5f Menu entry font size is also adjusted (if necessary) based on scaling
of UI. This impact is specifically for swing menus, notably windows.
2017-01-26 14:10:33 +01:00
nathan
a018a76185 WIP icon sizes for windows/swing. Renamed GetTransparatenImageAsImage
-> AsBufferedImage
2017-01-25 22:42:25 +01:00
nathan
430309a3f9 WIP windows menu scaling 2017-01-25 22:17:43 +01:00
nathan
cd51b756dd Added ability for swing menu's to change size in scale with the display. 2017-01-25 21:49:55 +01:00
nathan
03e56adc02 Fixed menu image icon scaling for windows. (it is now disabled) 2017-01-25 21:12:00 +01:00
nathan
3919e1ce9e Fixed issues with isGnome() detection on Unix (FreeBSD) 2016-12-29 13:05:32 +01:00
nathan
e57724229e change package name to lowercase 2016-12-28 23:54:23 +01:00
nathan
88707b5786 Renamed OsUtil -> OSUtil 2016-12-28 21:43:36 +01:00
nathan
e3fbec2c55 Changed exception catching in ImageUtils to a larger scope
(IOException -> Exception). Fixed issue with converting a Image to
InputStream for size check operation.
2016-12-28 00:59:46 +01:00
nathan
e17ff9082e code polish 2016-12-26 23:32:11 +01:00
nathan
4e009340fa Refactored OS utils into their own class (b/c of dependency issues) 2016-12-26 23:18:39 +01:00
nathan
48cde07ff5 Code polish, added scaling factor for menus icons 2016-12-26 00:45:59 +01:00
nathan
fdabacdf4b Moved windows version info check to OS.java 2016-12-25 21:41:23 +01:00
nathan
ec124384e7 Move other OS info detection methods to OS.java. Fixed Fedora 25 KDE 2016-12-25 00:45:00 +01:00
nathan
c48759725e Fixed system tray for fedora 24 2016-12-24 01:03:06 +01:00
nathan
10ba55b9e7 Code cleanup 2016-12-23 22:32:31 +01:00
nathan
773b83eb8c Fixed issues on MacOSX for right-click tray icon event 2016-12-23 16:51:51 +01:00
nathan
623906b154 Adjusted to use the new utils ShellProcess (no longer ends with newline) 2016-12-12 01:09:12 +01:00
nathan
c57533dde8 Added extra checks in case XDG_CURRENT_DESKTOP is not available as a
system environment
2016-12-11 23:37:45 +01:00
nathan
80c451b807 Tweaked var name 2016-12-11 00:46:24 +01:00
nathan
9c2e9229ab Fixed issue with SWT onShutdown hook 2016-12-11 00:04:01 +01:00
nathan
9591362580 SWT behaves better on linux now. Added Swt.isEventThread method 2016-12-10 23:38:45 +01:00
nathan
39ddd235f6 Fixed logging if we cannot init javaFX 2016-12-10 23:38:08 +01:00
nathan
54fb3a0d1d Fixed issues around java7/8 with macOSX and JavaFX 2016-12-10 22:14:15 +01:00
nathan
760913491f Fixed issue with macOSX right click bug 2016-12-10 21:55:18 +01:00
nathan
d9c54ccd86 Removed extra ; 2016-12-10 19:56:59 +01:00
nathan
9c52309c06 Fixed typo in mac class 2016-12-10 01:33:16 +01:00
nathan
06b3da9831 Fixed issues with EDT & mac with image utils 2016-12-10 00:56:53 +01:00
nathan
fef02fba79 Code cleanup/polish. Can now add JMenu, JCheckboxMenuItem,
JSeparator, and JMenuItem as components that will get converted and
added to our menu.
2016-10-31 11:32:49 +01:00
nathan
568fb95ee6 Cleaned up caching - now is based on file hash, instead of cache
names, which could lead to heisenbugs. Everything always caches now
based on hash of input
2016-10-24 02:39:40 +02:00
nathan
599dabf4ef Code polish, documentation, cleanup for API changes 2016-10-24 01:43:32 +02:00
nathan
daff5a8e48 Fininshed round 2 of API changes (native/swing UI finished) 2016-10-23 23:27:13 +02:00
nathan
d665f29f28 new API front-end + bound backend for SwingUI 2016-10-21 12:36:55 +02:00
nathan
86d031ed7c Added better detection for click-jack detection on MacOS. 2016-10-17 12:07:56 +02:00
nathan
a07c5e8ab8 Changed action callback to ActionListener. Added checkbox. 2016-10-17 11:47:25 +02:00
nathan
4e47c5d263 Cleaned up comments 2016-10-16 21:26:39 +02:00
nathan
5bed7ea659 Cleaned up comments 2016-10-16 21:22:56 +02:00