1FDESIGN(1L) Forms Library FDESIGN(1L)
2
3
4
6 fdesign - Forms Library User Interface Designer
7
9 fdesign [-xformoptions] [-options] [files]
10
12 fdesign is a GUI builder that helps the construction of graphical user
13 interface in a WYSIWYG (what you see is what you get) way by allowing
14 the user to directly manipulate various objects, such as buttons, slid‐
15 ers and menus etc. Once a satisfactory UI is constructed, the user can
16 save the composed interface into an external file containing some pro‐
17 gram code. When compiled, linked with the Forms Library, and executed,
18 the generated code would, at run time (or print time for PostScript
19 output), construct the exact same interfaces as those seen within fde‐
20 sign.
21
22 A variety of output language is possible via external filters. As of
23 this writing, C, perl, ada95, Fortran, pascal, and PostScript output
24 filters are known to exist.
25
26
28 fdesign accepts all standard Forms Library command line options as well
29 as the following:
30
31 -help Prints a brief summary of all command line options. This option
32 does not require a connection to the X server.
33
34 -version
35 Prints the current version of fdesign and exits.
36
37 -geometry geom
38 Specifies the prefered size and location of main working area in
39 which the UI is to be constructed.
40
41 -convert fdfile-list
42 This option prevents fdesign from attempting to make a connection
43 to the X server. The file list following this flag is converted
44 to C code directly.
45
46 -dir destdir
47 output any converted files in destdir.
48
49 -unit pixel|point|mm|cp|cmm
50 selects the unit of measure for object geometries. For non-pixel
51 unit, the interface created is screen resolution independent and
52 may be desirable for many applications. Note that for typical
53 screens, point (about 1/72 inch) and mm may be too coarse and
54 subject to round-off errors. Use cp (centi-point, 100th of a
55 point) and cmm (centi-mm) instead.
56
57 -altformat
58 selects an alternative format for the generated C code where
59 global variables are used for the UI components.
60
61 -main requests the output of main program template.
62
63 -callback
64 requests the output of callback function template.
65
66 -compensate
67 requests the emission of font/server resolution variation compen‐
68 sation code.
69
70 -I headerfile
71 uses an alternative header file instead of the default forms.h in
72 the output C code.
73
74 -lax requests relaxed C syntax checking.
75
76 -ps This option specifies that instead of emitting the c code for the
77 user interface, PostScript code should be emitted.
78
79 -ada This option requests ada95 code output
80
81 -perl This option requests perl code output.
82
83 -fortran
84 This option requests Fortran code output.
85
86 -pascal
87 This option requests pascal code output.
88
89 -nocode
90 suppresses the output of UI code. Only the .fd file is written.
91
92 The most useful Forms Library command line options are
93
94 -display host:dpy
95 This option specifies the X server to connect.
96
97 -flversion
98 This option prints the version string of the Forms Library, with
99 which fdesign was build.
100
101 -name appname
102 This option specifies the application name under which resources
103 are to be obtained, instead of the executable name. appname
104 should not contain . or *. fdesign.
105
107 The program understands all of the Forms Library's resource names and
108 classes as well as the following
109
110 control.geometry (class Control.Geometry)
111 specifies the geometry of the control panel. Currently the size
112 is ignored.
113
114 unit (Unit)
115 specifies the default unit of measure. Default is pixel.
116
117
118 attributes.geometry (class Attributes.Geometry)
119 specifies the geometry of the object attributes panel. Cur‐
120 rently the size is ignored.
121
122 align.geometry (class Align.Geometry)
123 specifies the geometry of the object align panel. Currently
124 the size is ignored.
125
126 xformsHeader (class XFormsHeader)
127 specifies the header filename generated in the output C code.
128 Default is forms.h
129
130 filter (class Filter)
131 specifies post-processing filter (an external executable name).
132
133 language (class Language)
134 specifies target language name.
135
136
137 Among the standard Forms Library resources, the following are most use‐
138 ful
139
140 xform.fontsize (class XFORM.FontSize)
141 specifies the font size used for most object labels.
142
143 xform.pupfontsize (class XFORM.PupFontSize)
144 specifies the font size used in pop-up menus.
145
146 xform.browserFontSize (class XFORM.BrowserFontSize)
147 specifies the font size used for the text inside a browser.
148
149
151 xforms(5), fd2ps(1L)
152
154 Copyright (c) 1996-2000 T.C. Zhao (tc_zhao@yahoo.com) and Mark Overmars
155 (markov@cs.ruu.nl)
156
158 http://world.std.com/~xforms
159
160
161
162Version 0.57 May 2000 FDESIGN(1L)