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 |
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; |
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; |
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; |
157 |
} |
} |
158 |
/*---------------------------------------*/ |
/*---------------------------------------*/ |
159 |
|
|
160 |
void |
void |
161 |
create_the_forms (void) |
create_the_forms (void) |
162 |
{ |
{ |
163 |
create_form_form (); |
create_form_form (); |