File: ui_attrib.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 (76 lines) | stat: -rw-r--r-- 1,870 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
/* Header file generated by fdesign on Fri May 21 18:00:00 2010 */

#ifndef FD_attrib_h_
#define FD_attrib_h_

#include <forms.h>

/* Callbacks, globals and object handlers */

extern void apply_cb( FL_OBJECT *, long );
extern void restore_cb( FL_OBJECT *, long );
extern void autoapply_setting_cb( FL_OBJECT *, long );
extern void folder_switch_cb( FL_OBJECT *, long );

extern void auto_apply_cb( FL_OBJECT *, long );
extern void validate_cvar_name_cb( FL_OBJECT *, long );
extern void setcolor_cb( FL_OBJECT *, long );



/* Forms and Objects */

typedef struct {
    FL_FORM   * attrib;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * background;
    FL_OBJECT * readyobj;
    FL_OBJECT * cancelobj;
    FL_OBJECT * applyobj;
    FL_OBJECT * restoreobj;
    FL_OBJECT * autoapplyobj;
    FL_OBJECT * attrib_folder;
} FD_attrib;

extern FD_attrib * create_form_attrib( void );
typedef struct {
    FL_FORM   * generic_attrib;
    void      * vdata;
    char      * cdata;
    long        ldata;
    FL_OBJECT * background;
    FL_OBJECT * generic_group;
    FL_OBJECT * typeobj;
    FL_OBJECT * boxobj;
    FL_OBJECT * nameobj;
    FL_OBJECT * cbnameobj;
    FL_OBJECT * argobj;
    FL_OBJECT * scobj;
    FL_OBJECT * labelobj;
    FL_OBJECT * fontobj;
    FL_OBJECT * styleobj;
    FL_OBJECT * sizeobj;
    FL_OBJECT * lcolobj;
    FL_OBJECT * col1obj;
    FL_OBJECT * col2obj;
    FL_OBJECT * align;
    FL_OBJECT * nwgravity;
    FL_OBJECT * segravity;
    FL_OBJECT * inside;
    FL_OBJECT * resize;
    FL_OBJECT * text[ 4 ];
} FD_generic_attrib;

extern FD_generic_attrib * create_form_generic_attrib( void );
typedef struct {
    FL_FORM   * nullattrib;
    void      * vdata;
    char      * cdata;
    long        ldata;
} FD_nullattrib;

extern FD_nullattrib * create_form_nullattrib( void );

#endif /* FD_attrib_h_ */