[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Re: Question: Customizable cursor/mouse pointer?

Thank you for your quick reply, Mr. Muskalla.


While it would be nice to change the whole cursor, the solution with an image next to the cursor works for me as well.

I would go for the Javascript approach -
maybe it is possible to adapt a script I have seen on a web page once.



Thanks again

Timo Hosters



Benjamin Muskalla wrote:
Hi,

at the moment the API to change the Cursor is not in place (Control#setCursor). The feature should not be that hard to implement but currently we have other plans.

But in your case you want a sign *besides* the cursor which implies that you not just want to change the cursor be create your own. Theoretically this is possible with the SWT API but I'm not yet sure if this will also work as expected in RAP. This is something we need to investigate.

In the meantime you could take a look at some Javascript/DHTML snippets on the web. There are many snippets how to attach an image to the cursor. You would then need to adapt this to RAP by integrating it into your custom widget.

See also the qooxdoo API for cursors like Widget#setCursor.

Best greets
  Benny