Cursor-Handling questions
Roman Kennke
roman at kennke.org
Tue Jul 26 13:35:20 PDT 2011
Hi Clemens,
> I had a look at cursor-handling, as it should be relativly easy to do
> and looks cool for demo-purposes ;)
> Unfourtunatly I didn't find a lot of cursor related stuff in cacio,
> except CacioComponentPeer.updateCursorImmediately, which mentions a
> global cursor manager.
> What was the original design idea here?
We did not really care much about cursor handling so far. So far I
believed the updateCursorImmediately() together with the
GlobalCursorManager (search for it in the JDK sources) provides a nice
and flexible enough abstraction for this. I guess you need to study that
and see if it matches what you want to do. If not, I'd be happy to work
with you on an improved framework for this in Cacio.
> I noticed managed top-level windows can't be moved/resized and don't
> repaint their background when closed, what would be a good point to
> start?
They can't? I thought I remember that I spent quite some time to
implement this. I know that it wasn't working very well, e.g. it was
slow as hell etc, but I believe it was possible. But I don't know from
the top off my head how/where to start. (IOW, you need to study the code
and find out, I can assist you on IRC if you like.)
Cheers, Roman
More information about the caciocavallo-dev
mailing list