test.cxx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // generated by Fast Light User Interface Designer (fluid) version 1.0300
  2. #include "test.h"
  3. namespace utils
  4. {
  5. int x;
  6. UserInterface::UserInterface(int X, int Y, int W, int H, const char *L)
  7. : Fl_Group(X, Y, W, H, L) {
  8. end();
  9. }
  10. }
  11. //namespace utils
  12. /*
  13. int x;
  14. */
  15. #if 1
  16. #endif
  17. Dad::Dad(int X, int Y, int W, int H, const char *L)
  18. : Fl_Window(X, Y, W, H, L) {
  19. _Dad();
  20. }
  21. Dad::Dad(int W, int H, const char *L)
  22. : Fl_Window(0, 0, W, H, L) {
  23. clear_flag(16);
  24. _Dad();
  25. }
  26. Dad::Dad()
  27. : Fl_Window(0, 0, 108, 100, 0) {
  28. clear_flag(16);
  29. _Dad();
  30. }
  31. void Dad::_Dad() {
  32. this->box(FL_FLAT_BOX);
  33. this->color(FL_BACKGROUND_COLOR);
  34. this->selection_color(FL_BACKGROUND_COLOR);
  35. this->labeltype(FL_NO_LABEL);
  36. this->labelfont(0);
  37. this->labelsize(14);
  38. this->labelcolor(FL_FOREGROUND_COLOR);
  39. this->align(Fl_Align(FL_ALIGN_TOP));
  40. this->when(FL_WHEN_RELEASE);
  41. { gui.in = new Fl_Input(25, 25, 15, 24, "input:");
  42. } // Fl_Input* in
  43. { gui.but = new Fl_Button(25, 25, 64, 20, "button");
  44. } // Fl_Button* but
  45. { gui.age = new Fl_Input(25, 25, 15, 24, "input:");
  46. gui.age->tooltip("adsdad");
  47. } // Fl_Input* age
  48. end();
  49. }
  50. void Dad::init() {
  51. printf("Hello, World!\n");
  52. }