You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.5KB

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0108
  3. header_name {.h}
  4. code_name {.cxx}
  5. class CubeViewUI {open
  6. } {
  7. Function {CubeViewUI()} {open
  8. } {
  9. Fl_Window mainWindow {
  10. label CubeView open
  11. private xywh {428 124 415 405} type Double box UP_BOX labelsize 12 resizable visible
  12. } {
  13. Fl_Group {} {open
  14. xywh {5 3 374 399}
  15. } {
  16. Fl_Group VChange {open
  17. xywh {5 100 37 192}
  18. } {
  19. Fl_Roller vrot {
  20. label {V Rot}
  21. callback {cube->v_angle(((Fl_Roller *)o)->value());
  22. cube->redraw();}
  23. xywh {5 100 17 186} labeltype NO_LABEL labelsize 12 align 128 minimum -180 maximum 180 step 1
  24. code0 {\#include <stdio.h>}
  25. }
  26. Fl_Slider ypan {
  27. label {V Pan}
  28. callback {cube->pany(((Fl_Slider *)o)->value());
  29. cube->redraw();}
  30. 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
  31. }
  32. }
  33. Fl_Group HChange {open
  34. xywh {120 362 190 40}
  35. } {
  36. Fl_Slider xpan {
  37. label {H Pan}
  38. callback {cube->panx(((Fl_Slider *)o)->value());
  39. cube->redraw();}
  40. 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
  41. }
  42. Fl_Roller hrot {
  43. label {H Rotation}
  44. callback {cube->h_angle(((Fl_Roller *)o)->value());
  45. cube->redraw();}
  46. xywh {122 383 186 17} type Horizontal labeltype NO_LABEL labelsize 12 align 8 minimum -180 maximum 180 step 1
  47. }
  48. }
  49. Fl_Group MainView {open
  50. xywh {46 27 333 333} resizable
  51. } {
  52. Fl_Box cframe {
  53. xywh {46 27 333 333} box DOWN_FRAME color 4 selection_color 69
  54. }
  55. Fl_Box cube {
  56. label {This is the cube_view} selected
  57. xywh {48 29 329 329} align 16 resizable
  58. code0 {\#include "CubeView.h"}
  59. class CubeView
  60. }
  61. }
  62. Fl_Value_Slider zoom {
  63. label Zoom
  64. callback {cube->size=((Fl_Value_Slider *)o)->value();
  65. cube->redraw();}
  66. 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
  67. }
  68. }
  69. }
  70. }
  71. Function {show(int argc, char **argv)} {open
  72. } {
  73. code {mainWindow->show(argc, argv);} {}
  74. }
  75. }