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
fd5b8229cb
Code polish, fix potential crash
2017-07-12 01:29:32 +02:00
nathan
2eb8fe7574
Merge branch 'master' into windows_native
2017-07-12 00:43:52 +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
c22082e26b
Moved getting a buffered image from an icon
2017-07-11 02:04:18 +02:00
nathan
b06184670e
Moved Windows JNA to Utils
2017-07-11 01:56:25 +02:00
nathan
fac06e9176
Can now select windows native implementation.
2017-07-11 01:42:28 +02:00
nathan
324acb4353
Merge branch 'master' into windows_native
2017-07-11 01:41:48 +02:00
nathan
f73df51a78
Code polish and fixes for Swing on linux
2017-07-11 01:41:08 +02:00
nathan
787e16b4e0
WIP Windows Native implementation
2017-07-11 01:39:24 +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
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
c81411ef88
comment polish
2017-07-03 15:32:03 +02:00
nathan
8ed5a9df80
Code polish
2017-07-03 15:28:47 +02:00
nathan
bdb62dad4e
Cleaned up CSS parsing
2017-07-03 15:20:39 +02:00
nathan
be636f1ea9
Fixed getting the checkmark image file.
2017-07-03 15:19:23 +02:00
nathan
a6711dacb4
Fixed issues with reading structure data from JNA. Now gets text size
...
and padding VIA pango. Fixed issues with getting colors on linux.
Abstracted Gtk2 from Gtk once Gtk2 deprecated methods are removed.
2017-07-03 15:18:33 +02:00
nathan
0caf22de16
Fixed issues with unbalanced () during parsing CSS attribute values.
2017-07-02 02:34:23 +02:00