taoujouti / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Multiplataform transparent HUD #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
look for JNA integration:
https://jna.dev.java.net/source/browse/jna/trunk/jnalib/src/com/sun/jna/examples
/WindowUtils.j
ava?rev=HEAD&view=markup

this enable transparency in windows and linux (X).

Original issue reported on code.google.com by dyorgio on 16 Jun 2009 at 1:20

GoogleCodeExporter commented 9 years ago
I prefer not to have to use JNA. I'll probably try to do it using reflection 
for now, which will only end up working 
on JDK 6 platforms. 

Suggested implementations welcome.

Original comment by kenneth....@gmail.com on 18 Jun 2009 at 11:59

GoogleCodeExporter commented 9 years ago
Understand...
if (isWindows){ 
Class.forName("jnaWindowsUtilities").windowTransparent(myHudWindow)}

Original comment by dyorgio on 19 Jun 2009 at 12:01

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 19 Jun 2009 at 11:56