|
/* |
|
|
* |
|
|
* This file is part of the XForms library package. |
|
|
* |
|
|
* XForms is free software; you can redistribute it and/or modify it |
|
|
* under the terms of the GNU Lesser General Public License as |
|
|
* published by the Free Software Foundation; either version 2.1, or |
|
|
* (at your option) any later version. |
|
|
* |
|
|
* XForms is distributed in the hope that it will be useful, but |
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
* Lesser General Public License for more details. |
|
|
* |
|
|
* You should have received a copy of the GNU Lesser General Public |
|
|
* License along with XForms; see the file COPYING. If not, write to |
|
|
* the Free Software Foundation, 59 Temple Place - Suite 330, Boston, |
|
|
* MA 02111-1307, USA. |
|
|
* |
|
|
*/ |
|
|
|
|
|
|
|
|
/* Form definition file generated with fdesign. */ |
|
|
|
|
1 |
#include "include/forms.h" |
#include "include/forms.h" |
2 |
#include <stdlib.h> |
#include <stdlib.h> |
3 |
#include "ginput.h" |
#include "ginput.h" |
|
|
|
4 |
FD_form *create_form_form(void) |
FD_form *create_form_form(void) |
5 |
{ |
{ |
6 |
FL_OBJECT *obj; |
FL_OBJECT *obj; |
7 |
FD_form *fdui = (FD_form *) fl_calloc(1, sizeof(*fdui)); |
FD_form *fdui = (FD_form *) fl_calloc(1, sizeof(*fdui)); |
|
|
|
8 |
fdui->form = fl_bgn_form(FL_NO_BOX, 410, 120); |
fdui->form = fl_bgn_form(FL_NO_BOX, 410, 120); |
9 |
obj = fl_add_box(FL_UP_BOX,0,0,410,120,""); |
obj = fl_add_box(FL_UP_BOX,0,0,410,120,""); |
10 |
obj = fl_add_frame(FL_ENGRAVED_FRAME,8,9,394,67,""); |
obj = fl_add_frame(FL_ENGRAVED_FRAME,8,9,394,67,""); |
16 |
fl_set_object_callback(obj,clear_cb,0); |
fl_set_object_callback(obj,clear_cb,0); |
17 |
fdui->ok = obj = fl_add_button(FL_RETURN_BUTTON,165,85,80,26,"OK"); |
fdui->ok = obj = fl_add_button(FL_RETURN_BUTTON,165,85,80,26,"OK"); |
18 |
fl_end_form(); |
fl_end_form(); |
|
|
|
19 |
fdui->form->fdui = fdui; |
fdui->form->fdui = fdui; |
|
|
|
20 |
return fdui; |
return fdui; |
21 |
} |
} |
|
/*---------------------------------------*/ |
|
|
|
|