nathan
e1a191e155
UI components are now cached
2017-07-16 12:22:23 +02:00
nathan
08b86cf16f
Removed test code
2017-07-16 02:19:37 +02:00
nathan
086085a5ce
Updated license
2017-07-16 02:17:57 +02:00
nathan
e9d10b0bf9
Added 'about' -> https://github.com/dorkbox/SystemTray to the test
...
examples.
2017-07-16 02:07:07 +02:00
nathan
1c08c270e2
Fixed readme typos. Updated compatibility matrix. Of important note,
...
swing on linux now renders a background to fake transparency. There is a
short visual glitch while the background is fetched.
2017-07-16 00:52:17 +02:00
nathan
39a3bd5b62
ShellProcessBuilder -> ShellExecutor. Static method to simplify shell
...
execution added. Added ability to pass in environment variables to new
process. Added better detection for current shell in linux/unix (could
be improved...). Added flag for executing process as a shell command.
Output now defaults to en-US.UTF_8
2017-07-15 23:55:36 +02:00
nathan
68c9795674
(reverted) Changed Util class names
2017-07-15 18:26:17 +02:00
nathan
fa3afc7c74
Moved Classloader utility methods into their own class.
2017-07-15 18:25:10 +02:00
nathan
f584ca4549
Polished JavaFX and SWT dispatch access to remove hard dependency on
...
JavaFX and SWT. Now uses JNA to create the classes for SWT access + a
mix of reflection. JavaFX uses reflection.
2017-07-15 18:15:19 +02:00
nathan
7ac866fac3
Moved JNA to Utility module for use by other applications
2017-07-14 18:36:59 +02:00
nathan
839d264d31
Changed Util class names
2017-07-14 18:36:22 +02:00
nathan
3d652e2d14
Changed Util class names
2017-07-14 18:34:55 +02:00
nathan
72b3f20d30
Null pointer fix when executing the javaFX application handler
...
directly.
2017-07-14 18:34:09 +02:00
nathan
b42da88633
Code polish for accessing GTK and it's different versions
2017-07-14 01:31:04 +02:00
nathan
7b172f8ed8
Code polish for accessing User32
2017-07-14 01:29:03 +02:00
nathan
9fcbfd0e3c
Code polish for tests
2017-07-14 00:46:12 +02:00
nathan
c9f6b3f044
Added detection for Ubuntu 17.04. Of note, MIR/Wayland is not supported
...
by java (Java uses the XServer).
2017-07-14 00:45:15 +02:00
nathan
14f5db0b57
Comment polish
2017-07-14 00:19:18 +02:00
nathan
99ec7e73a5
Code polish
2017-07-14 00:17:34 +02:00
nathan
1e0531e740
Turned off debug
2017-07-14 00:14:35 +02:00
nathan
30832aef9e
Code polish, removed CSS parser which is no longer needed.
2017-07-14 00:09:16 +02:00
nathan
baaaa72079
Fixed color struct, so now color queries match what C returned
2017-07-14 00:08:40 +02:00
nathan
2ca5cdf622
Windows logic now uses native methods to get the size of the tray
...
image or system menu image heights.
2017-07-12 02:29:02 +02:00
nathan
b49688aac7
Example code cleanup
2017-07-12 02:28:02 +02:00
nathan
7a4601c8dd
Refactored UI class packages, now that there are no "native" vs "swing"
...
UI implementations anymore.
2017-07-12 02:25:32 +02:00
nathan
80597bd0aa
Refactored UI class packages, now that there are no "native" vs "swing"
...
UI implementations anymore.
2017-07-12 01:59:06 +02:00
nathan
62d0457183
Added windows implementation as WIP/example with notes.
2017-07-12 01:47:36 +02:00
nathan
8caf6d08f9
Added JNA platform
2017-07-12 00:32:31 +02:00
nathan
31fdffd16f
moved windows specific code inside windows block. Cleaned up Linux swing
...
menus.
2017-07-12 00:32:16 +02:00
nathan
41e8a9fed6
Custom Swing UI now returns just the defaults, it's meant to be used as
...
an example.
2017-07-11 14:27:02 +02:00
nathan
f73df51a78
Code polish and fixes for Swing on linux
2017-07-11 01:41:08 +02:00
nathan
41b2138815
Updated Copyright on missing files
2017-07-11 01:36:35 +02:00
nathan
8d97b90162
Moved GTK stucts into their own package
2017-07-11 01:31:22 +02:00
nathan
0279fb2852
Fixed adding an entry without specifying an index (this simplifies peer
...
logic)
2017-07-11 01:28:03 +02:00
nathan
9bf01aaf04
Moved Gtk Event Dispatch into it's own class.
2017-07-11 01:27:19 +02:00
nathan
876c5bb591
Code polish
2017-07-10 23:59:23 +02:00
nathan
78b78b80b9
Better checking when setting tooltip text
2017-07-09 16:02:34 +02:00
nathan
3125fb6b0e
WIP tray/menu image size
2017-07-09 01:38:43 +02:00
nathan
ee1be59dc3
Added more logic to getting the screen DPI + scaling.
2017-07-09 01:38:00 +02:00
nathan
22a61f29ca
Added log info for detected tray/menu image sizes.
2017-07-09 00:02:29 +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
133cb9f8f8
Fixed race condition between bind() and add(), where they could both add
...
an entry. Now entries will only be added if they have not already been
added.
2017-07-05 00:08:07 +02:00
nathan
44c5b11816
AppIndicators will fallback to GtkStatusIndicator or Swing Tray. Less
...
aggressive searcing/loading of libararies (which had it's own Gtk2/Gtk3
bugs)
2017-07-04 15:24:09 +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
4207a9e145
code polish
2017-07-03 22:20:01 +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
6be7445a77
Added methods to get widget sizes. Code cleanup.
2017-07-03 20:59:09 +02:00
nathan
d10d7983d6
Fixed issues grabbing pixels on linux, when going negative.
2017-07-03 20:57:53 +02:00
nathan
aa33dabb9b
removed getTextPadding. (dead code)
2017-07-03 20:31:59 +02:00
nathan
5368c6db75
Getting the menu image size for linux is now correct
2017-07-03 20:30:59 +02:00