nathan
3125fb6b0e
WIP tray/menu image size
2017-07-09 01:38:43 +02:00
nathan
10be3e302f
Changed createTransparentImage -> createImage. If a null color is used,
...
it will be transparent
2017-07-08 23:58:08 +02:00
nathan
f9532841cd
System Tray fix forNow screen-shots a strip, then paints that in
...
addition to colors, as the background of the icon. This solves problems
with Ubuntu (or others) that have a gradient as panel background.
2017-07-04 13:31:05 +02:00
nathan
afaf9faff3
Fixed color define parsing on ubuntu (color defines were scattered
...
throughout the CSS)
2017-07-03 22:19:42 +02:00
nathan
d10d7983d6
Fixed issues grabbing pixels on linux, when going negative.
2017-07-03 20:57:53 +02:00
nathan
923ff023b0
Changed how the checkmark is rendered. now specifiy a color, the size
...
one wants for the check, and the size one wants for the resulting image.
If the checkmark is smaller than the size of the resulting image, then
the checkmark will be centered in it.
2017-07-03 20:30:14 +02:00
nathan
4b44851bf4
Fixed iterator issues with css parsing
2017-07-03 20:29:18 +02:00
nathan
bdb62dad4e
Cleaned up CSS parsing
2017-07-03 15:20:39 +02:00
nathan
0caf22de16
Fixed issues with unbalanced () during parsing CSS attribute values.
2017-07-02 02:34:23 +02:00
nathan
e7e9cddda9
Fixed parsing error for URL() base64 streams
2017-07-01 22:01:03 +02:00
nathan
686e14401e
WIP getting the size + scale
2017-07-01 21:35:10 +02:00
nathan
203168fe42
Fixed issues with sizing images where the width > height.
2017-07-01 21:34:19 +02:00
nathan
b317d90bb5
Removed hard-coded checkmark bitmap
2017-07-01 20:38:58 +02:00
nathan
dda400f61f
Fixed issue with windows. Code polish
2017-07-01 20:35:57 +02:00
nathan
c989de8cd8
Getting the Checkmark file name can now be overridden by the
...
SWING_UI paramater.
2017-07-01 16:23:51 +02:00
nathan
4c92097ff6
Code polish
2017-07-01 16:14:29 +02:00
nathan
97035637e0
Fixed scaling resize (now aspect ratio is preserved based on height, not
...
width). Renamed parameters to indicate what (width/height) is used.
2017-07-01 16:14:09 +02:00
nathan
cf1606f321
Proper padding for checkmark icon now
2017-07-01 00:54:30 +02:00
nathan
38110f2dff
Added TEMP_DIR to OS. Code polish.
2017-06-26 14:07:45 +02:00
nathan
c4a6d67ed1
Incoming padding is now for both top + bottom (instead of padding*2)
2017-06-26 14:07:12 +02:00
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