UserInterface.fl 722 B

12345678910111213141516171819202122232425262728293031
  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0300
  3. i18n_type 1
  4. i18n_include <libintl.h>
  5. i18n_function gettext
  6. header_name {.hpp}
  7. code_name {.cpp}
  8. decl {\#include "PopupDialog.hpp"} {public global
  9. }
  10. class UserInterface {open
  11. } {
  12. Function {UserInterface()} {open
  13. } {
  14. Fl_Window main_win {
  15. callback {Fl::delete_widget(o);} open
  16. private xywh {12 31 125 80} type Double selection_color 48 align 80 when 1 visible
  17. } {
  18. Fl_Button {} {
  19. label {click me}
  20. callback {PopupDialog* p = new PopupDialog(165, 55, "PopupDialog");
  21. p->show();} selected
  22. xywh {25 25 70 20}
  23. }
  24. }
  25. }
  26. Function {show()} {open
  27. } {
  28. code {main_win->show();} {}
  29. }
  30. }