1 # Constants used by the FORMS library (module fl).
2 # This corresponds to "forms.h".
3 # Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
4 # Alternate use: from FL import *; ... NORMAL_BOX ... etc.
10 ## _v20 = (fl.get_rgbmode is not None)
30 FL_PLACE_FULLSCREEN
= 6
70 FONT_NAME
= 'Helvetica'
71 FONT_BOLDNAME
= 'Helvetica-Bold'
72 FONT_ITALICNAME
= 'Helvetica-Oblique'
73 FONT_FIXEDNAME
= 'Courier'
74 FONT_ICONNAME
= 'Icon'
86 BITMAP_BOXTYPE
= NO_BOX
90 BITMAP_ALIGN
= ALIGN_BOTTOM
91 BITMAP_MAXSIZE
= 128*128
92 BITMAP_BW
= BOUND_WIDTH
97 BOX_ALIGN
= ALIGN_CENTER
104 BROWSER_BOXTYPE
= DOWN_BOX
108 BROWSER_ALIGN
= ALIGN_BOTTOM
110 BROWSER_BW
= BOUND_WIDTH
111 BROWSER_LINELENGTH
= 128
112 BROWSER_MAXLINE
= 512
122 HIDDEN_RET_BUTTON
= 7
123 BUTTON_BOXTYPE
= UP_BOX
127 BUTTON_ALIGN
= ALIGN_CENTER
130 BUTTON_BW
= BOUND_WIDTH
140 CHART_BOXTYPE
= BORDER_BOX
143 CHART_ALIGN
= ALIGN_BOTTOM
144 CHART_BW
= BOUND_WIDTH
148 CHOICE_BOXTYPE
= DOWN_BOX
152 CHOICE_ALIGN
= ALIGN_LEFT
153 CHOICE_BW
= BOUND_WIDTH
155 CHOICE_MAXITEMS
= 128
160 CLOCK_BOXTYPE
= UP_BOX
164 CLOCK_ALIGN
= ALIGN_BOTTOM
166 CLOCK_BW
= BOUND_WIDTH
170 COUNTER_BOXTYPE
= UP_BOX
174 COUNTER_ALIGN
= ALIGN_BOTTOM
176 COUNTER_BW
= BOUND_WIDTH
184 DIAL_BOXTYPE
= NO_BOX
188 DIAL_ALIGN
= ALIGN_BOTTOM
190 DIAL_BW
= BOUND_WIDTH
208 INPUT_BOXTYPE
= DOWN_BOX
212 INPUT_ALIGN
= ALIGN_LEFT
215 INPUT_BW
= BOUND_WIDTH
218 LIGHTBUTTON_BOXTYPE
= UP_BOX
219 LIGHTBUTTON_COL1
= 39
221 LIGHTBUTTON_LCOL
= LCOL
222 LIGHTBUTTON_ALIGN
= ALIGN_CENTER
223 LIGHTBUTTON_TOPCOL
= COL1
224 LIGHTBUTTON_MCOL
= MCOL
225 LIGHTBUTTON_BW1
= BOUND_WIDTH
226 LIGHTBUTTON_BW2
= BOUND_WIDTH
/2.0
227 LIGHTBUTTON_MINSIZE
= 12.0
231 MENU_BOXTYPE
= BORDER_BOX
235 MENU_ALIGN
= ALIGN_CENTER
236 MENU_BW
= BOUND_WIDTH
239 NORMAL_POSITIONER
= 0
240 POSITIONER_BOXTYPE
= DOWN_BOX
241 POSITIONER_COL1
= COL1
243 POSITIONER_LCOL
= LCOL
244 POSITIONER_ALIGN
= ALIGN_BOTTOM
245 POSITIONER_BW
= BOUND_WIDTH
247 ROUNDBUTTON_BOXTYPE
= NO_BOX
250 ROUNDBUTTON_LCOL
= LCOL
251 ROUNDBUTTON_ALIGN
= ALIGN_CENTER
252 ROUNDBUTTON_TOPCOL
= COL1
253 ROUNDBUTTON_MCOL
= MCOL
254 ROUNDBUTTON_BW
= BOUND_WIDTH
263 SLIDER_BOXTYPE
= DOWN_BOX
267 SLIDER_ALIGN
= ALIGN_BOTTOM
268 SLIDER_BW1
= BOUND_WIDTH
269 SLIDER_BW2
= BOUND_WIDTH
*0.75
274 TEXT_BOXTYPE
= NO_BOX
277 TEXT_ALIGN
= ALIGN_LEFT
278 TEXT_BW
= BOUND_WIDTH
283 TIMER_BOXTYPE
= DOWN_BOX
287 TIMER_ALIGN
= ALIGN_CENTER
288 TIMER_BW
= BOUND_WIDTH
289 TIMER_BLINKRATE
= 0.2