11 messages in net.java.dev.jna.usersRe: [jna-users] Re: shaped windows us...
FromSent OnAttachments
Timothy WallMay 24, 2007 7:12 am 
Christopher DeckersMay 29, 2007 2:21 am 
Christopher DeckersMay 29, 2007 3:29 am 
Wayne MeissnerMay 29, 2007 3:53 am 
Christopher DeckersMay 29, 2007 7:10 am 
Wayne MeissnerMay 29, 2007 7:43 am 
Timothy WallMay 29, 2007 11:04 am 
Olivier ChafikMay 29, 2007 6:19 pm 
Christopher DeckersMay 29, 2007 11:56 pm 
Timothy WallMay 30, 2007 5:19 am 
Christopher DeckersMay 30, 2007 6:10 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Re: shaped windows using images - performanceActions...
From:Christopher Deckers (chrr@gmail.com)
Date:May 29, 2007 11:56:20 pm
List:net.java.dev.jna.users

Hi,

Please tell me if this new code works for you (I did very little testing), and... have fun !

There are a few issues with the new code, and I replied to Olivier directly to avoid spamming the list. I guess if we come up with a fixed version we will say so on that list.

It would be good to have this fast algorithm to be in the official version

This matter has been mentioned once and Timothy pointed out that it was better to keep the examples clean and simple. I proposed to create a package com.sun.jna.awt for windowing-related stuff, but I am unsure whether this is a good idea... Maybe it would be better to create a separate jar jna-extras.jar with code samples that are expected to be more complete and performant than simple examples.

I am personally troubled by this statement. When I discovered JNA, it was through one of the several blog entries like this one: http://rabbit-hole.blogspot.com/2007/04/alpha-mask-transparency.html

I assumed the example was a complete implementation of the feature. Moreover, when I talked about transparency with some other developers, they also pointed out JNA. I believe having good examples is a way for people to experiment JNA and consider its quality. If the alpha transparency is slow, they may think it is because of JNA rather than because of the examples itself. That is why I think there should be somewhere a complete optimized version of the transparency using JNA. What do you think?

Keep up the good work! :)

Cheers, -Christopher