[info-performer] pfuDrawPWin2DCursor()

New Message Reply Date view Thread view Subject view Author view

From: Nguyen, Tien (Tien.Nguyen++at++dsto.defence.gov.au)
Date: 07/08/2002 20:06:27


hi pf

i am trying to control the mouse cursor using pfuDrawPWin2DCursor()
Is this function meant to be used to position the mouse cursor at a
particular place?
if so, i can't seem to make it move? have someone found the solution for
this?
does this have something to do with the underlying operating system?
any suggestion is appreciated.

regards
tien

/****code segment****/
{
        static int x_mouse=-40, y_mouse=-40;
        static int first = 1;
        static Cursor cursor;

        if(first){
                cursor = pfuCreateCursor(0);
                pfuCursor(cursor,0);
                pfuLoadPWinCursor( pwin, 0);
                first=0;
        }
        x_mouse += 5;
        y_mouse += 5;
        printf("Moving the mouse cursor: x_mouse = %d, y_mouse = %d\n",
x_mouse, y_mouse);
        pfuLoadPWinCursor( pwin, 0);
        pfuDrawPWin2DCursor( pwin, x_mouse, y_mouse);
}


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Jul 08 2002 - 20:14:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.