Commit Graph

420 Commits

Author SHA1 Message Date
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 fd492a74e9 Swing checkbox now extends Swing MenuItem. Fixed size of checkmark 2017-07-01 16:16:49 +02:00
nathan f64feecaed Correct (based on menu item size) transparent icon for spacing 2017-07-01 16:16:15 +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 2c362c63d1 Code polish 2017-07-01 16:07:31 +02:00
nathan cf1606f321 Proper padding for checkmark icon now 2017-07-01 00:54:30 +02:00
nathan 6599989e82 Code polish/cleanup. Moved "autodetect" tray logic to it's own method. 2017-06-27 00:19:38 +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 54298932c2 Only fixes SystemTray issues if AUTO_FIX_INCONSISTENCIES is true 2017-06-26 00:06:28 +02:00
nathan da76a73ab8 removed debugging 2017-06-25 23:53:34 +02:00
nathan b8a3736fbf Code polish/cleanup. Moved icon size determination to another class 2017-06-25 23:51:21 +02:00
nathan 9dbee8cfc5 GTK now starts up when on linux/unix, regardless of tray type. 2017-06-25 23:50:22 +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 2c2e835ab2 Swing tray (on linux/unix) will now initialize GTK (there are GTK
methods needed, so it makes sense to start GTK)
2017-06-25 22:56:40 +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 11103dfe46 Parameter notes cleanup 2017-06-15 14:48:11 +02:00
nathan d5f7a53210 Code polish and cleanup for new methods and logic 2017-06-15 14:44:54 +02:00
nathan 99b80c807a Added major/minor/micro version info to GTK class. Added/removed methods
. Code polish
2017-06-15 14:11:12 +02:00
nathan d4eb672882 Debug message polish 2017-06-15 14:09:59 +02:00
nathan c44620712b Fixed null pointer possibility in CssParser 2017-06-15 01:21:45 +02:00
nathan 2690d9aae4 Added final to the class 2017-06-15 00:45:06 +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 803cea80b7 better CSS parsing & polish 2017-06-04 21:56:14 +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 7673edae4b Code polish for Gtk Checkbox items and ubuntu 2017-05-29 20:43:40 +02:00
nathan 15029d0256 Moved GTK Theme methods to it's own class (it was a lot). Suppressed GTK
warnings during startup.
2017-05-29 19:02:36 +02:00
nathan 9cfbd7689b added comments for test 2017-05-19 01:07:04 +02:00
nathan 8181b72509 Moved undocumented GTK3 methods to GTK3 class 2017-05-14 16:58:15 +02:00
nathan c4b27add55 No longer uses static sizes for tray size 2017-05-14 14:49:34 +02:00
nathan 52fc2c3a4a Added GtkPopover. Fixed issue with recursive color definitions. Code
cleanup
2017-05-14 14:48:48 +02:00
nathan eb702327d5 Code polish 2017-05-10 15:24:30 +02:00
nathan ca56dc9215 Code polish 2017-05-10 15:22:41 +02:00
nathan 736b098e86 Work for issue #42, detecting colors for the checkbox in linux via CSS
theme, RC theme, and raw GTK values.
2017-05-10 15:18:18 +02:00
nathan 1bcf51c755 Moved JnaHelper + windows JNA to util project 2017-03-10 15:56:37 +01:00
nathan 6b1d0c4a12 Updated comments WRT component sizing information 2017-03-05 00:19:20 +01:00
nathan 0455507f51 Added comments 2017-03-03 15:56:39 +01:00
nathan dbc55ffa7d proper swt dep 2017-02-26 00:10:21 +01:00
nathan d263df78a6 Cleaned up test examples 2017-02-26 00:09:52 +01:00
nathan ee5f509e76 Fixed issue with scaling fonts incorrectly on Swing UIs. 2017-02-23 01:31:05 +01:00
nathan 29186db011 Updated version information 2017-02-22 16:25:23 +01:00
nathan 5498d3633c Simpler logging when the tray is loaded when DEBUG=false. 2017-02-22 14:41:54 +01:00
nathan 7e89c7b583 Fixed missing AWT types (separator and checkbox) not getting added to
the menu.
2017-02-22 14:34:40 +01:00
nathan fe6b09e8dd Fixed erroneous warning messages for windows/mac. 2017-02-22 14:32:30 +01:00