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

Diff of /xforms/demos/boxtype.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 demo show the different boxtypes. Note that some   * This demo show the different boxtypes. Note that some
25   * boxtypes are not appropriate for some objects   * boxtypes are not appropriate for some objects
26   *   *
27   *  This file is part of xforms package.   *  This file is part of xforms package.
28   *  M. Overmars and T.C. Zhao  (1997)   *  M. Overmars and T.C. Zhao  (1997)
29   */   */
30    
31  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 73  static VN_struct btypes[]= Line 73  static VN_struct btypes[]=
73  FL_FORM *form;  FL_FORM *form;
74  FL_OBJECT *tobj[18], *exitob, *btypeob, *modeob;  FL_OBJECT *tobj[18], *exitob, *btypeob, *modeob;
75    
76  void  void
77  boxtype_cb (FL_OBJECT * ob, long arg)  boxtype_cb (FL_OBJECT * ob, long arg)
78  {  {
79     int i, req_bt = fl_get_choice(ob) - 1;     int i, req_bt = fl_get_choice(ob) - 1;
# Line 90  boxtype_cb (FL_OBJECT * ob, long arg) Line 90  boxtype_cb (FL_OBJECT * ob, long arg)
90     }     }
91  }  }
92    
93  void  void
94  mode_cb (FL_OBJECT * ob, long arg)  mode_cb (FL_OBJECT * ob, long arg)
95  {  {
96     static int lval = -1;     static int lval = -1;
# Line 115  mode_cb (FL_OBJECT * ob, long arg) Line 115  mode_cb (FL_OBJECT * ob, long arg)
115    
116  /*************** Creation Routines *********************/  /*************** Creation Routines *********************/
117    
118  void  void
119  create_form_form (void)  create_form_form (void)
120  {  {
121    FL_OBJECT *obj;    FL_OBJECT *obj;
# Line 157  create_form_form (void) Line 157  create_form_form (void)
157  }  }
158  /*---------------------------------------*/  /*---------------------------------------*/
159    
160  void  void
161  create_the_forms (void)  create_the_forms (void)
162  {  {
163     create_form_form ();     create_form_form ();

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