/[xforms]/xforms/demos/cursor.c
ViewVC logotype

Diff of /xforms/demos/cursor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by leeming, Thu Apr 24 09:35:33 2003 UTC revision 1.4 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 20  Line 20 
20   */   */
21    
22    
23  /*  /*
24   * Cursor routines demo.   * Cursor routines demo.
25   *   *
26   * This file is part of xforms package   * This file is part of xforms package
# Line 58  void setbitmapcursor_cb(FL_OBJECT *ob, l Line 58  void setbitmapcursor_cb(FL_OBJECT *ob, l
58     static int bitmapcur;     static int bitmapcur;
59    
60     if(!bitmapcur)     if(!bitmapcur)
61        bitmapcur = fl_create_bitmap_cursor((char *)bm1_bits, (char *)bm2_bits,        bitmapcur = fl_create_bitmap_cursor((char *)bm1_bits, (char *)bm2_bits,
62                                            bm1_width, bm1_height,                                            bm1_width, bm1_height,
63                                            bm1_width/2, bm1_height/2);                                            bm1_width/2, bm1_height/2);
64     fl_set_cursor(FL_ObjWin(ob), bitmapcur);     fl_set_cursor(FL_ObjWin(ob), bitmapcur);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26