gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Third, PEG cursors--humppake: Changing mouse cursor


From: Tuomas Lukka
Subject: Re: [Gzz] Third, PEG cursors--humppake: Changing mouse cursor
Date: Mon, 12 May 2003 11:07:09 +0300
User-agent: Mutt/1.4.1i

On Mon, May 12, 2003 at 09:25:57AM +0300, Asko Soukka wrote:
> Tuomas Lukka wrote:
> > No, we need to define a stable subset somewhere. AWT and GL can then
> > extend it as they like.
> > - GraphicsAPI uses String and works for both AWT and GL
> 
> "Somewhere"? In the javadoc of GraphicsAPI.Window.setCursor()?

An excellent choice ;)

> Although, we should check somewhere that Cursor corresponding to given
> string exists. Should it throw just Error or some existing/new exception 
> if proposed cursor doesn't exist?

Exception sounds reasonable.

> Should that check be done in both AWTScreen and GLScreen distinctly or 
> should we use our own Cursor wrapper class for this? 

I think separately, to enable supersetting.

> And then we would 
> be just reinventing then wheel / the java.awt.Cursor :/

Well, the problem is that our philosophy is opposite of AWT in this sense;
AWT restricts EVERYONE to a least common subset. We provide the least
common subset but also access to extensions.
        
        Tuomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]