Re: User defined cursors

From: Bertrand Bellenot <bertrand.bellenot_at_cern.ch>
Date: Wed, 28 Sep 2005 22:48:01 +0200


Hi Giorgio,

Sorry for the late answer.
As far as I know, there is no simple way to use custom cursors in Root (not yet).

Cheers,
Bertrand.

Giorgio De Nunzio wrote:

>Hi again! A question about cursors.
>It is simple to set the mouse pointer shape according to the context
>(arrows, hands, and so on) by gPad->SetCursor(cursor) where cursor is
>kBottomLeft, kHand, and so on. You are just limited by the 18 predefined
>cursors.
>Is it possible to define one's own shapes?
>Looking at ROOT code and documentation, I saw that for this kind of "low
>level" problems, ROOT defines an interface to the underlying graphics system
>(X11, for linux) (see TVirtualX.h).
>Unhappily, following the exact mechanism was difficult and time consuming,
>so I gave up.
>Any hint?
>Thanks!
>Ciao
>Giorgio
>
>-------------------------------------
>Dott. Giorgio De Nunzio
>
>Dipartimento di Scienza dei Materiali
>Universita' di Lecce
>Lecce (Italy)
>
>tel. 0832 297084
>
>giorgio.denunzio_at_unile.it
>
>
>
>
>
Received on Wed Sep 28 2005 - 22:48:00 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET