1999-02-23 00:33:55 +03:00
|
|
|
# data file for the Fltk User Interface Designer (fluid)
|
2016-01-30 03:56:42 +03:00
|
|
|
version 1.0400
|
2015-07-09 05:09:33 +03:00
|
|
|
header_name {.h}
|
2002-06-13 23:36:01 +04:00
|
|
|
code_name {.cxx}
|
1999-02-23 00:33:55 +03:00
|
|
|
class CubeViewUI {open
|
|
|
|
} {
|
|
|
|
Function {CubeViewUI()} {open
|
|
|
|
} {
|
|
|
|
Fl_Window mainWindow {
|
2006-08-17 13:49:43 +04:00
|
|
|
label CubeView open
|
2015-03-10 04:41:55 +03:00
|
|
|
private xywh {428 124 415 405} type Double box UP_BOX labelsize 12 hide resizable
|
1999-02-23 00:33:55 +03:00
|
|
|
} {
|
|
|
|
Fl_Group {} {open
|
|
|
|
xywh {5 3 374 399}
|
|
|
|
} {
|
|
|
|
Fl_Group VChange {open
|
|
|
|
xywh {5 100 37 192}
|
|
|
|
} {
|
|
|
|
Fl_Roller vrot {
|
|
|
|
label {V Rot}
|
|
|
|
callback {cube->v_angle(((Fl_Roller *)o)->value());
|
|
|
|
cube->redraw();}
|
|
|
|
xywh {5 100 17 186} labeltype NO_LABEL labelsize 12 align 128 minimum -180 maximum 180 step 1
|
|
|
|
code0 {\#include <stdio.h>}
|
|
|
|
}
|
|
|
|
Fl_Slider ypan {
|
|
|
|
label {V Pan}
|
|
|
|
callback {cube->pany(((Fl_Slider *)o)->value());
|
|
|
|
cube->redraw();}
|
|
|
|
xywh {25 100 17 186} type {Vert Knob} selection_color 136 labeltype NO_LABEL labelsize 12 align 0 minimum -25 maximum 25 step 0.1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Fl_Group HChange {open
|
|
|
|
xywh {120 362 190 40}
|
|
|
|
} {
|
|
|
|
Fl_Slider xpan {
|
|
|
|
label {H Pan}
|
|
|
|
callback {cube->panx(((Fl_Slider *)o)->value());
|
|
|
|
cube->redraw();}
|
|
|
|
xywh {122 364 186 17} type {Horz Knob} selection_color 136 labeltype NO_LABEL labelsize 12 align 16 minimum 25 maximum -25 step 0.1
|
|
|
|
}
|
|
|
|
Fl_Roller hrot {
|
|
|
|
label {H Rotation}
|
|
|
|
callback {cube->h_angle(((Fl_Roller *)o)->value());
|
|
|
|
cube->redraw();}
|
|
|
|
xywh {122 383 186 17} type Horizontal labeltype NO_LABEL labelsize 12 align 8 minimum -180 maximum 180 step 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Fl_Group MainView {open
|
2006-08-17 13:49:43 +04:00
|
|
|
xywh {46 27 333 333} resizable
|
1999-02-23 00:33:55 +03:00
|
|
|
} {
|
|
|
|
Fl_Box cframe {
|
|
|
|
xywh {46 27 333 333} box DOWN_FRAME color 4 selection_color 69
|
|
|
|
}
|
|
|
|
Fl_Box cube {
|
2006-08-17 13:49:43 +04:00
|
|
|
label {This is the cube_view} selected
|
|
|
|
xywh {48 29 329 329} align 16 resizable
|
1999-02-23 00:33:55 +03:00
|
|
|
code0 {\#include "CubeView.h"}
|
|
|
|
class CubeView
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Fl_Value_Slider zoom {
|
|
|
|
label Zoom
|
|
|
|
callback {cube->size=((Fl_Value_Slider *)o)->value();
|
|
|
|
cube->redraw();}
|
|
|
|
xywh {106 3 227 19} type {Horz Knob} selection_color 136 labelfont 1 labelsize 12 align 4 minimum 1 maximum 50 step 0.1 value 10 textfont 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2002-06-13 23:36:01 +04:00
|
|
|
Function {show(int argc, char **argv)} {open
|
1999-02-23 00:33:55 +03:00
|
|
|
} {
|
2001-12-23 06:40:51 +03:00
|
|
|
code {mainWindow->show(argc, argv);} {}
|
1999-02-23 00:33:55 +03:00
|
|
|
}
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|