waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

UserInterface.fl (722B)


      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 
     11 class UserInterface {open
     12 } {
     13   Function {UserInterface()} {open
     14   } {
     15     Fl_Window main_win {
     16       callback {Fl::delete_widget(o);} open
     17       private xywh {12 31 125 80} type Double selection_color 48 align 80 when 1 visible
     18     } {
     19       Fl_Button {} {
     20         label {click me}
     21         callback {PopupDialog* p = new PopupDialog(165, 55, "PopupDialog");
     22 p->show();} selected
     23         xywh {25 25 70 20}
     24       }
     25     }
     26   }
     27   Function {show()} {open
     28   } {
     29     code {main_win->show();} {}
     30   }
     31 }