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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
|
/* Form definition file generated by fdesign. */
#include <stdlib.h>
#include "pallette.h"
/***************************************
***************************************/
FD_pmain *
create_form_pmain( void )
{
FL_OBJECT *obj;
FD_pmain *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->pmain = fl_bgn_form( FL_NO_BOX, 380, 210 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 380, 210, "" );
fdui->folder = obj = fl_add_tabfolder( FL_TOP_TABFOLDER, 5, 5, 370, 175, "" );
fl_set_object_resize( obj, FL_RESIZE_ALL );
obj = fl_add_button( FL_NORMAL_BUTTON, 311, 183, 62, 23, " Dismiss " );
fl_set_object_callback( obj, dismiss_pallete, 0 );
fl_end_form( );
fdui->pmain->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
#include "butt.xpm"
#include "lightb.xpm"
#include "roundb.xpm"
#include "r3dbut.xpm"
#include "check.xpm"
#include "picture.xbm"
#include "xconq.xpm"
/***************************************
***************************************/
FD_buttform *
create_form_buttform( void )
{
FL_OBJECT *obj;
FD_buttform *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->buttform = fl_bgn_form( FL_NO_BOX, 360, 150 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 360, 150, "" );
obj = fl_add_frame( FL_ENGRAVED_FRAME, 10, 10, 345, 130, "" );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 15, 15, 70, 40, "Button" );
fl_set_button_shortcut( obj, "B#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_BUTTON );
fl_set_pixmapbutton_data( obj, butt_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 101, 15, 70, 40, "LightButton" );
fl_set_button_shortcut( obj, "L#L", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_LIGHTBUTTON );
fl_set_pixmapbutton_data( obj, lightb_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 188, 15, 70, 40, "RoundButton" );
fl_set_button_shortcut( obj, "R#R", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_ROUNDBUTTON );
fl_set_pixmapbutton_data( obj, roundb_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 275, 15, 70, 40, "Round3DButton" );
fl_set_button_shortcut( obj, "3#3", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_ROUND3DBUTTON );
fl_set_pixmapbutton_align( obj, FL_ALIGN_TOP | FL_ALIGN_INSIDE, 3, 3 );
fl_set_pixmapbutton_data( obj, r3dbut_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 58, 80, 70, 40, "CheckButton" );
fl_set_button_shortcut( obj, "C#C", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_CHECKBUTTON );
fl_set_pixmapbutton_data( obj, check_pixels );
obj = fl_add_bitmapbutton( FL_RADIO_BUTTON, 145, 80, 70, 40, "BitmapButton" );
fl_set_button_shortcut( obj, "B#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_BITMAPBUTTON );
fl_set_bitmapbutton_data( obj, picture_width, picture_height, ( unsigned char * ) picture_bits );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 231, 80, 70, 40, "PixmapButton" );
fl_set_button_shortcut( obj, "P#P", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_PIXMAPBUTTON );
fl_set_pixmapbutton_data( obj, xconq );
fl_end_form( );
fdui->buttform->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
#include "box.xpm"
#include "text.xpm"
#include "frame.xpm"
#include "chart.xpm"
#include "clock.xpm"
#include "picture1.xbm"
#include "xconq1.xpm"
/***************************************
***************************************/
FD_staticform *
create_form_staticform( void )
{
FL_OBJECT *obj;
FD_staticform *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->staticform = fl_bgn_form( FL_NO_BOX, 360, 150 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 360, 150, "" );
obj = fl_add_frame( FL_ENGRAVED_FRAME, 10, 10, 345, 130, "" );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 20, 65, 40, "Box" );
fl_set_button_shortcut( obj, "B#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_BOX );
fl_set_pixmapbutton_data( obj, box_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 110, 20, 65, 40, "Text" );
fl_set_button_shortcut( obj, "T#T", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_TEXT );
fl_set_pixmapbutton_data( obj, text_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 190, 20, 65, 40, "Frame" );
fl_set_button_shortcut( obj, "F#F", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_LABELFRAME );
fl_set_pixmapbutton_data( obj, frame_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 270, 20, 65, 40, "Chart" );
fl_set_button_shortcut( obj, "C#C", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_CHART );
fl_set_pixmapbutton_data( obj, chart_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 80, 65, 40, "Clock" );
fl_set_button_shortcut( obj, "o#O", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_CLOCK );
fl_set_pixmapbutton_data( obj, clock_pixels );
obj = fl_add_bitmapbutton( FL_RADIO_BUTTON, 110, 80, 65, 40, "Bitmap" );
fl_set_button_shortcut( obj, "B#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_BITMAP );
fl_set_bitmapbutton_data( obj, picture1_width, picture1_height, ( unsigned char * ) picture1_bits );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 210, 80, 65, 40, "Pixmap" );
fl_set_button_shortcut( obj, "P#P", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_PIXMAP );
fl_set_pixmapbutton_data( obj, xconq1 );
fl_end_form( );
fdui->staticform->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
#include "sld.xpm"
#include "scb.xpm"
#include "dial.xpm"
#include "cnt.xpm"
#include "pos.xpm"
#include "vals.xpm"
#include "twheel.xpm"
/***************************************
***************************************/
FD_valuatorform *
create_form_valuatorform( void )
{
FL_OBJECT *obj;
FD_valuatorform *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->valuatorform = fl_bgn_form( FL_NO_BOX, 360, 150 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 360, 150, "" );
obj = fl_add_frame( FL_ENGRAVED_FRAME, 10, 8, 345, 130, "" );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 16, 70, 40, "Slider" );
fl_set_button_shortcut( obj, "S#S", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_SLIDER );
fl_set_pixmapbutton_data( obj, sld_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 183, 16, 70, 40, "Scrollbar" );
fl_set_button_shortcut( obj, "b#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_SCROLLBAR );
fl_set_pixmapbutton_data( obj, scb_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 260, 16, 70, 40, "Dial" );
fl_set_button_shortcut( obj, "D#D", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_DIAL );
fl_set_pixmapbutton_data( obj, dial_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 76, 70, 40, "Counter" );
fl_set_button_shortcut( obj, "C#C", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_COUNTER );
fl_set_pixmapbutton_data( obj, cnt_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 105, 76, 70, 40, "Positioner" );
fl_set_button_shortcut( obj, "P#P", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_POSITIONER );
fl_set_pixmapbutton_data( obj, pos_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 106, 16, 70, 40, "Valslider" );
fl_set_button_shortcut( obj, "#V", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_VALSLIDER );
fl_set_pixmapbutton_data( obj, vals_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 185, 76, 70, 40, "Thumbwheel" );
fl_set_button_shortcut( obj, "t#T", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_THUMBWHEEL );
fl_set_pixmapbutton_data( obj, twheel );
fl_end_form( );
fdui->valuatorform->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
#include "menu.xpm"
#include "choice.xpm"
#include "br.xpm"
/***************************************
***************************************/
FD_choiceform *
create_form_choiceform( void )
{
FL_OBJECT *obj;
FD_choiceform *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->choiceform = fl_bgn_form( FL_NO_BOX, 360, 150 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 360, 150, "" );
obj = fl_add_frame( FL_ENGRAVED_FRAME, 10, 10, 345, 130, "" );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 20, 60, 60, "Menu" );
fl_set_button_shortcut( obj, "M#M", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_MENU );
fl_set_pixmapbutton_data( obj, menu_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 100, 20, 60, 60, "Choice" );
fl_set_button_shortcut( obj, "C#C", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_CHOICE );
fl_set_pixmapbutton_data( obj, choice_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 170, 20, 60, 60, "Browser" );
fl_set_button_shortcut( obj, "B#B", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_BROWSER );
fl_set_pixmapbutton_data( obj, br_pixels );
fl_end_form( );
fdui->choiceform->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
#include "timer.xpm"
#include "xyplot.xpm"
#include "glcan.xpm"
#include "tab.xpm"
/***************************************
***************************************/
FD_miscform *
create_form_miscform( void )
{
FL_OBJECT *obj;
FD_miscform *fdui = fl_malloc( sizeof *fdui );
int old_bw = fl_get_border_width( );
fl_set_border_width( -1 );
fdui->vdata = fdui->cdata = NULL;
fdui->ldata = 0;
fdui->miscform = fl_bgn_form( FL_NO_BOX, 360, 150 );
obj = fl_add_box( FL_FLAT_BOX, 0, 0, 360, 150, "" );
obj = fl_add_frame( FL_ENGRAVED_FRAME, 10, 10, 345, 130, "" );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 16, 70, 45, "Timer" );
fl_set_button_shortcut( obj, "T#T", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_TIMER );
fl_set_pixmapbutton_data( obj, timer_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 103, 16, 70, 45, "XYPlot" );
fl_set_button_shortcut( obj, "X#X", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_XYPLOT );
fl_set_pixmapbutton_data( obj, xyplot_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 176, 16, 70, 45, "Canvas" );
fl_set_button_shortcut( obj, "C#C", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_CANVAS );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 250, 16, 70, 45, "GLCanvas" );
fl_set_button_shortcut( obj, "G#G", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_GLCANVAS );
fl_set_pixmapbutton_data( obj, glcan_pixels );
obj = fl_add_pixmapbutton( FL_RADIO_BUTTON, 30, 82, 70, 40, "Tabfolder" );
fl_set_button_shortcut( obj, "f#F", 1 );
fl_set_object_color( obj, FL_COL1, FL_YELLOW );
fl_set_object_callback( obj, pallette_entry_callback, FL_NTABFOLDER );
fl_set_pixmapbutton_data( obj, tabfolder_pixels );
fl_end_form( );
fdui->miscform->fdui = fdui;
fl_set_border_width( old_bw );
return fdui;
}
|