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

Diff of /xforms/demos/pushbutton.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 35  push_cb(FL_OBJECT *ob, long n) Line 35  push_cb(FL_OBJECT *ob, long n)
35  {  {
36     if(fl_get_button(ob))     if(fl_get_button(ob))
37        fl_show_object(abox[n]);        fl_show_object(abox[n]);
38     else     else
39        fl_hide_object(abox[n]);        fl_hide_object(abox[n]);
40  }  }
41    
# Line 61  void makeform(void) Line 61  void makeform(void)
61    
62  int  int
63  main(int argc, char *argv[])  main(int argc, char *argv[])
64  {  {
65    fl_initialize(&argc, argv, "FormDemo", 0, 0);    fl_initialize(&argc, argv, "FormDemo", 0, 0);
66    makeform();    makeform();
67    

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