On 17 September 2012 15:46, Fernando Olivero <fernando.olivero@usi.ch> wrote:
HandMorph is the software cursor, which now only gets drawn when the hand is drawn, which only happens when its carrying a morph.
Cursor is the hardware cursor, the one handled by the VM and drawn most of the time.
IMO, we need to change the VM, to not handle the hardware cursor anymore, so we can rely only on the software cursor. So we can always be sure that HandMorph or (the equivalent using other UI framework) is the cursor being drawn.
why throwing hardware cursors? we just must make sure that a cursor appearance controlled by a single point, not multiple ones, like hand and Cursor class.
Fernando
On Mon, Sep 17, 2012 at 12:00 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 17 September 2012 11:40, Hilaire Fernandes <hilaire.fernandes@edu.ge.ch> wrote:
Hello,
One can change temporary the mouse cursor with something like:
World currentHand showTemporaryCursor: ThemeIcons eyedropperIcon
But depending on the widgets the mouse is over, its cursor may change again.
Beside hacking the HandMorph class is there a way to change permanently the mouse cursor?
Good question.
AFAIK, last time i seen it in code, the point where cursor is controlled is in Cursor class. Hand resets cursor by sending #normal message to it.
It would be really nice to have changeable default cursor. The Cursor global used everywhere in system. We should find the way how to avoid that.
Thanks
Hilaire
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.