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

Diff of /xforms/demos/objpos.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   * This is a crazy demo showing the "use" of changing   * This is a crazy demo showing the "use" of changing
25   * fields in objects.   * fields in objects.
26   *   *
# Line 37  move_cb(FL_OBJECT *ob, long data) Line 37  move_cb(FL_OBJECT *ob, long data)
37  {  {
38     static FL_Coord dx=11, dy=7;     static FL_Coord dx=11, dy=7;
39     FL_OBJECT *but = (FL_OBJECT *)data;     FL_OBJECT *but = (FL_OBJECT *)data;
40     FL_Coord x,y,w,h;     FL_Coord x,y,w,h;
41    
42     fl_get_object_geometry(but,&x,&y, &w, &h);     fl_get_object_geometry(but,&x,&y, &w, &h);
43    

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