File: ui_theforms.h

package info (click to toggle)
libforms 1.0.93sp1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,548 kB
  • ctags: 9,107
  • sloc: ansic: 97,227; sh: 9,236; makefile: 858
file content (119 lines) | stat: -rw-r--r-- 3,141 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* Header file generated by fdesign on Wed May 19 23:10:20 2010 */

#ifndef FD_control_h_
#define FD_control_h_

#include <forms.h>

/* Callbacks, globals and object handlers */

extern void func_cb( FL_OBJECT *, long );
extern void form_cb( FL_OBJECT *, long );
extern void group_cb( FL_OBJECT *, long );
extern void object_cb( FL_OBJECT *, long );
extern void addform_cb( FL_OBJECT *, long );
extern void deleteform_cb( FL_OBJECT *, long );
extern void changename_cb( FL_OBJECT *, long );
extern void changesize_cb( FL_OBJECT *, long );
extern void align_cb( FL_OBJECT *, long );
extern void test_cb( FL_OBJECT *, long );
extern void help_cb( FL_OBJECT *, long );
extern void optionmenu_callback( FL_OBJECT *, long );
extern void filemenu_callback( FL_OBJECT *, long );
extern void formmenu_callback( FL_OBJECT *, long );
extern void objectmenu_callback( FL_OBJECT *, long );
extern void groupmenu_callback( FL_OBJECT *, long );

extern void doalign_cb( FL_OBJECT *, long );
extern void snap_cb( FL_OBJECT *, long );
extern void undoalign_cb( FL_OBJECT *, long );
extern void exitalign_cb( FL_OBJECT *, long );

extern void stoptest_cb( FL_OBJECT *, long );
extern void clearlog_cb( FL_OBJECT *, long );

extern void showhelp_cb( FL_OBJECT *, long );
extern void exithelp_cb( FL_OBJECT *, long );



/* Forms and Objects */

typedef struct {
    FL_FORM   * control;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * title;
    FL_OBJECT * selmsg;
    FL_OBJECT * oristatus;
    FL_OBJECT * fkey_group;
    FL_OBJECT * formbrowser;
    FL_OBJECT * groupbrowser;
    FL_OBJECT * sizestatus;
    FL_OBJECT * objectbrowser;
    FL_OBJECT * shortcut_group;
    FL_OBJECT * renameform;
    FL_OBJECT * resizeform;
    FL_OBJECT * menubar_group;
    FL_OBJECT * optionmenu;
    FL_OBJECT * filemenu;
    FL_OBJECT * formmenu;
    FL_OBJECT * objectmenu;
    FL_OBJECT * groupmenu;
} FD_control;

extern FD_control * create_form_control( void );
typedef struct {
    FL_FORM   * align;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * left;
    FL_OBJECT * hcenter;
    FL_OBJECT * right;
    FL_OBJECT * hequal;
    FL_OBJECT * snapobj;
    FL_OBJECT * bottom;
    FL_OBJECT * vcenter;
    FL_OBJECT * top;
    FL_OBJECT * vequal;
    FL_OBJECT * undo;
    FL_OBJECT * dismiss;
} FD_align;

extern FD_align * create_form_align( void );
typedef struct {
    FL_FORM   * test;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * browser;
    FL_OBJECT * stoptesting;
} FD_test;

extern FD_test * create_form_test( void );
typedef struct {
    FL_FORM   * helpform;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * browser;
    FL_OBJECT * vbutt;
} FD_helpform;

extern FD_helpform * create_form_helpform( void );
typedef struct {
    FL_FORM   * resize;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * width;
    FL_OBJECT * height;
    FL_OBJECT * quit;
    FL_OBJECT * set_size;
} FD_resize;

extern FD_resize * create_form_resize( void );

#endif /* FD_control_h_ */