fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Type.h
Go to the documentation of this file.
1 //
2 // "$Id$"
3 //
4 // Widget type header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Each object described by Fluid is one of these objects. They
7 // are all stored in a double-linked list.
8 //
9 // There is also a single "factory" instance of each type of this.
10 // The method "make()" is called on this factory to create a new
11 // instance of this object. It could also have a "copy()" function,
12 // but it was easier to implement this by using the file read/write
13 // that is needed to save the setup anyways.
14 //
15 // Copyright 1998-2016 by Bill Spitzak and others.
16 //
17 // This library is free software. Distribution and use rights are outlined in
18 // the file "COPYING" which should have been included with this file. If this
19 // file is missing or damaged, see the license at:
20 //
21 // http://www.fltk.org/COPYING.php
22 //
23 // Please report all bugs and problems on the following page:
24 //
25 // http://www.fltk.org/str.php
26 //
27 
28 #include <FL/Fl_Widget.H>
29 #include <FL/Fl_Menu.H>
30 #include <FL/Fl_Plugin.H>
31 #include "Fluid_Image.h"
32 #include <FL/fl_draw.H>
33 #include <stdarg.h>
34 
35 #ifdef WIN32
37 #else
38  #include "ExternalCodeEditor_UNIX.h"
39 #endif
40 
41 void set_modflag(int mf);
42 
43 class Fl_Type {
44 
45  friend class Widget_Browser;
46  friend Fl_Widget *make_type_browser(int,int,int,int,const char *);
47  friend class Fl_Window_Type;
48  virtual void setlabel(const char *); // virtual part of label(char*)
49 
50 protected:
51 
52  Fl_Type();
53 
54  const char *name_;
55  const char *label_;
56  const char *callback_;
57  const char *user_data_;
58  const char *user_data_type_;
59  const char *comment_;
60 
61 public: // things that should not be public:
62 
63  Fl_Type *parent; // parent, which is previous in list
64  char new_selected; // browser highlight
65  char selected; // copied here by selection_changed()
66  char open_; // state of triangle in browser
67  char visible; // true if all parents are open
68  char rtti; // hack because I have no rtti, this is 0 for base class
69  int level; // number of parents over this
70  static Fl_Type *first, *last; // linked list of all objects
71  Fl_Type *next, *prev; // linked list of all objects
72 
74  const char *callback_name();
75 
78 
79 protected:
80  int user_defined(const char* cbname) const;
81 
82 public:
83 
84  virtual ~Fl_Type();
85  virtual Fl_Type *make() = 0;
86 
87  void add(Fl_Type *parent); // add as new child
88  void insert(Fl_Type *n); // insert into list before n
89  Fl_Type* remove(); // remove from list
90  void move_before(Fl_Type*); // move before a sibling
91 
92  virtual const char *title(); // string for browser
93  virtual const char *type_name() = 0; // type for code output
94  virtual const char *alt_type_name() { return type_name(); } // alternate type for FLTK2 code output
95 
96  const char *name() const {return name_;}
97  void name(const char *);
98  const char *label() const {return label_;}
99  void label(const char *);
100  const char *callback() const {return callback_;}
101  void callback(const char *);
102  const char *user_data() const {return user_data_;}
103  void user_data(const char *);
104  const char *user_data_type() const {return user_data_type_;}
105  void user_data_type(const char *);
106  const char *comment() { return comment_; }
107  void comment(const char *);
108 
109  virtual Fl_Type* click_test(int,int);
110  virtual void add_child(Fl_Type*, Fl_Type* beforethis);
111  virtual void move_child(Fl_Type*, Fl_Type* beforethis);
112  virtual void remove_child(Fl_Type*);
113 
114  static Fl_Type *current; // most recently picked object
115  virtual void open(); // what happens when you double-click
116 
117  // read and write data to a saved file:
118  virtual void write();
119  virtual void write_properties();
120  virtual void read_property(const char *);
121  virtual int read_fdesign(const char*, const char*);
122 
123  // write code, these are called in order:
124  virtual void write_static(); // write static stuff to .c file
125  virtual void write_code1(); // code and .h before children
126  virtual void write_code2(); // code and .h after children
127  void write_comment_h(const char *ind=""); // write the commentary text into the header file
128  void write_comment_c(const char *ind=""); // write the commentary text into the source file
129  void write_comment_inline_c(const char *ind=0L); // write the commentary text
130 
131  // live mode
132  virtual Fl_Widget *enter_live_mode(int top=0); // build wdgets needed for live mode
133  virtual void leave_live_mode(); // free allocated resources
134  virtual void copy_properties(); // copy properties from this type into a potetial live object
135 
136  // get message number for I18N
137  int msgnum();
138 
139  // fake rtti:
140  virtual int is_parent() const;
141  virtual int is_widget() const;
142  virtual int is_button() const;
143  virtual int is_input() const;
144  virtual int is_value_input() const;
145  virtual int is_text_display() const;
146  virtual int is_valuator() const;
147  virtual int is_spinner() const;
148  virtual int is_menu_item() const;
149  virtual int is_menu_button() const;
150  virtual int is_group() const;
151  virtual int is_window() const;
152  virtual int is_code() const;
153  virtual int is_code_block() const;
154  virtual int is_decl_block() const;
155  virtual int is_comment() const;
156  virtual int is_class() const;
157  virtual int is_public() const;
158 
159  virtual int pixmapID() { return 0; }
160 
161  const char* class_name(const int need_nest) const;
162  const class Fl_Class_Type* is_in_class() const;
163 };
164 
165 class Fl_Function_Type : public Fl_Type {
166  const char* return_type;
168 public:
170  Fl_Type(),
171  return_type(0L), public_(0), cdecl_(0), constructor(0), havewidgets(0)
172  { }
174  if (return_type) free((void*)return_type);
175  }
176  Fl_Type *make();
177  void write_code1();
178  void write_code2();
179  void open();
180  int ismain() {return name_ == 0;}
181  virtual const char *type_name() {return "Function";}
182  virtual const char *title() {
183  return name() ? name() : "main()";
184  }
185  int is_parent() const {return 1;}
186  int is_code_block() const {return 1;}
187  virtual int is_public() const;
188  int pixmapID() { return 7; }
189  void write_properties();
190  void read_property(const char *);
191  int has_signature(const char *, const char*) const;
192 };
193 
194 class Fl_Code_Type : public Fl_Type {
196 public:
197  Fl_Type *make();
198  void write();
199  void write_code1();
200  void write_code2();
201  void open();
202  virtual const char *type_name() {return "code";}
203  int is_code_block() const {return 0;}
204  int is_code() const {return 1;}
205  int pixmapID() { return 8; }
206  virtual int is_public() const;
207  // See if external editor is open
208  int is_editing() {
209  return editor_.is_editing();
210  }
211  // Reap the editor's pid
212  // Returns:
213  // -2 -- editor not open
214  // -1 -- wait failed
215  // 0 -- process still running
216  // >0 -- process finished + reaped (returns pid)
217  //
218  int reap_editor() {
219  return editor_.reap_editor();
220  }
221  // Handle external editor file modifications
222  // If changed, record keeping is updated and file's contents is loaded into ram
223  //
224  // Returns:
225  // 0 -- file unchanged or not editing
226  // 1 -- file changed, internal records updated, 'code' has new content
227  // -1 -- error getting file info (get_ms_errmsg() has reason)
228  //
229  // TODO: Figure out how saving a fluid file can be intercepted to grab
230  // current contents of editor file..
231  //
233  const char *newcode = 0;
234  switch ( editor_.handle_changes(&newcode) ) {
235  case 1: { // (1)=changed
236  name(newcode); // update value in ram
237  free((void*)newcode);
238  return 1;
239  }
240  case -1: return -1; // (-1)=error -- couldn't read file (dialog showed reason)
241  default: break; // (0)=no change
242  }
243  return 0;
244  }
245 };
246 
247 class Fl_CodeBlock_Type : public Fl_Type {
248  const char* after;
249 public:
252  if (after) free((void*)after);
253  }
254  Fl_Type *make();
255  void write_code1();
256  void write_code2();
257  void open();
258  virtual const char *type_name() {return "codeblock";}
259  int is_code_block() const {return 1;}
260  int is_parent() const {return 1;}
261  virtual int is_public() const;
262  int pixmapID() { return 9; }
263  void write_properties();
264  void read_property(const char *);
265 };
266 
267 class Fl_Decl_Type : public Fl_Type {
268 protected:
269  char public_;
270  char static_;
271 public:
272  Fl_Type *make();
273  void write_code1();
274  void write_code2();
275  void open();
276  virtual const char *type_name() {return "decl";}
277  void write_properties();
278  void read_property(const char *);
279  virtual int is_public() const;
280  int pixmapID() { return 10; }
281 };
282 
283 class Fl_Data_Type : public Fl_Decl_Type {
284  const char *filename_;
285 public:
288  if (filename_) free((void*)filename_);
289  }
290  Fl_Type *make();
291  void write_code1();
292  void write_code2();
293  void open();
294  virtual const char *type_name() {return "data";}
295  void write_properties();
296  void read_property(const char *);
297  int pixmapID() { return 49; }
298 };
299 
300 class Fl_DeclBlock_Type : public Fl_Type {
301  const char* after;
302  char public_;
303 public:
306  if (after) free((void*)after);
307  }
308  Fl_Type *make();
309  void write_code1();
310  void write_code2();
311  void open();
312  virtual const char *type_name() {return "declblock";}
313  void write_properties();
314  void read_property(const char *);
315  int is_parent() const {return 1;}
316  int is_decl_block() const {return 1;}
317  virtual int is_public() const;
318  int pixmapID() { return 11; }
319 };
320 
321 class Fl_Comment_Type : public Fl_Type {
323  char title_buf[64];
324 public:
325  Fl_Type *make();
326  void write_code1();
327  void write_code2();
328  void open();
329  virtual const char *type_name() {return "comment";}
330  virtual const char *title(); // string for browser
331  void write_properties();
332  void read_property(const char *);
333  virtual int is_public() const { return 1; }
334  virtual int is_comment() const { return 1; }
335  int pixmapID() { return 46; }
336 };
337 
338 class Fl_Class_Type : public Fl_Type {
339  const char* subclass_of;
340  char public_;
341 public:
344  if (subclass_of) free((void*)subclass_of);
345  }
346 
347  // state variables for output:
348  char write_public_state; // true when public: has been printed
349  Fl_Class_Type* parent_class; // save class if nested
350 //
351  Fl_Type *make();
352  void write_code1();
353  void write_code2();
354  void open();
355  virtual const char *type_name() {return "class";}
356  int is_parent() const {return 1;}
357  int is_decl_block() const {return 1;}
358  int is_class() const {return 1;}
359  virtual int is_public() const;
360  int pixmapID() { return 12; }
361  void write_properties();
362  void read_property(const char *);
363 
364  // class prefix attribute access
365  void prefix(const char* p);
366  const char* prefix() const {return class_prefix;}
367  int has_function(const char*, const char*) const;
368 private:
369  const char* class_prefix;
370 };
371 
372 #define NUM_EXTRA_CODE 4
373 
374 class Fl_Widget_Type : public Fl_Type {
375  virtual Fl_Widget *widget(int,int,int,int) = 0;
376  virtual Fl_Widget_Type *_make() = 0; // virtual constructor
377  virtual void setlabel(const char *);
378 
380  const char *subclass_;
381  const char *tooltip_;
382  const char *image_name_;
383  const char *inactive_name_;
385 
386 protected:
387 
388  void write_static();
389  void write_code1();
390  void write_widget_code();
391  void write_extra_code();
392  void write_block_close();
393  void write_code2();
394  void write_color(const char*, Fl_Color);
396 
397 public:
398  static int default_size;
399 
400  const char *xclass; // junk string, used for shortcut
402  int public_;
403 
405  void setimage(Fluid_Image *);
407  void setinactive(Fluid_Image *);
408 
409  Fl_Widget_Type();
410  Fl_Type *make();
411  void open();
412 
413  const char *extra_code(int n) const {return extra_code_[n];}
414  void extra_code(int n,const char *);
415  const char *subclass() const {return subclass_;}
416  void subclass(const char *);
417  const char *tooltip() const {return tooltip_;}
418  void tooltip(const char *);
419  const char *image_name() const {return image_name_;}
420  void image_name(const char *);
421  const char *inactive_name() const {return inactive_name_;}
422  void inactive_name(const char *);
423  uchar hotspot() const {return hotspot_;}
424  void hotspot(uchar v) {hotspot_ = v;}
425  uchar resizable() const;
426  void resizable(uchar v);
427 
428  virtual int textstuff(int what, Fl_Font &, int &, Fl_Color &);
429  virtual Fl_Menu_Item *subtypes();
430 
431  virtual int is_widget() const;
432  virtual int is_public() const;
433 
434  virtual void write_properties();
435  virtual void read_property(const char *);
436  virtual int read_fdesign(const char*, const char*);
437 
438  virtual Fl_Widget *enter_live_mode(int top=0);
439  virtual void leave_live_mode();
440  virtual void copy_properties();
441 
442  virtual void ideal_size(int &w, int &h);
443  virtual void ideal_spacing(int &x, int &y);
444 
445  ~Fl_Widget_Type();
446  void redraw();
447 };
448 
449 #include <FL/Fl_Tabs.H>
450 #include <FL/Fl_Pack.H>
451 #include <FL/Fl_Wizard.H>
452 
453 class igroup : public Fl_Group {
454 public:
455  void resize(int,int,int,int);
456  void full_resize(int X, int Y, int W, int H) { Fl_Group::resize(X, Y, W, H); }
457  igroup(int X,int Y,int W,int H) : Fl_Group(X,Y,W,H) {Fl_Group::current(0);}
458 };
459 
460 class itabs : public Fl_Tabs {
461 public:
462  void resize(int,int,int,int);
463  void full_resize(int X, int Y, int W, int H) { Fl_Group::resize(X, Y, W, H); }
464  itabs(int X,int Y,int W,int H) : Fl_Tabs(X,Y,W,H) {}
465 };
466 
467 class iwizard : public Fl_Wizard {
468 public:
469  void resize(int,int,int,int);
470  void full_resize(int X, int Y, int W, int H) { Fl_Group::resize(X, Y, W, H); }
471  iwizard(int X,int Y,int W,int H) : Fl_Wizard(X,Y,W,H) {}
472 };
473 
475 public:
476  virtual const char *type_name() {return "Fl_Group";}
477  virtual const char *alt_type_name() {return "fltk::Group";}
478  Fl_Widget *widget(int X,int Y,int W,int H) {
479  igroup *g = new igroup(X,Y,W,H); Fl_Group::current(0); return g;}
480  Fl_Widget_Type *_make() {return new Fl_Group_Type();}
481  Fl_Type *make();
482  void write_code1();
483  void write_code2();
484  void add_child(Fl_Type*, Fl_Type*);
485  void move_child(Fl_Type*, Fl_Type*);
486  void remove_child(Fl_Type*);
487  int is_parent() const {return 1;}
488  int is_group() const {return 1;}
489  int pixmapID() { return 6; }
490 
491  virtual Fl_Widget *enter_live_mode(int top=0);
492  virtual void leave_live_mode();
493  virtual void copy_properties();
494 };
495 
496 extern const char pack_type_name[];
498 
499 class Fl_Pack_Type : public Fl_Group_Type {
501 public:
502  virtual const char *type_name() {return pack_type_name;}
503  virtual const char *alt_type_name() {return "fltk::PackedGroup";}
504  Fl_Widget_Type *_make() {return new Fl_Pack_Type();}
505  int pixmapID() { return 22; }
506  void copy_properties();
507 };
508 
509 extern const char table_type_name[];
510 
511 class Fl_Table_Type : public Fl_Group_Type {
512 public:
513  virtual const char *type_name() {return table_type_name;}
514  virtual const char *alt_type_name() {return "fltk::TableGroup";}
515  Fl_Widget_Type *_make() {return new Fl_Table_Type();}
516  Fl_Widget *widget(int X,int Y,int W,int H);
517  int pixmapID() { return 51; }
518  virtual Fl_Widget *enter_live_mode(int top=0);
519  void add_child(Fl_Type*, Fl_Type*);
520  void move_child(Fl_Type*, Fl_Type*);
521  void remove_child(Fl_Type*);
522 };
523 
524 extern const char tabs_type_name[];
525 
526 class Fl_Tabs_Type : public Fl_Group_Type {
527 public:
528  virtual void ideal_spacing(int &x, int &y) {
529  x = 10;
530  fl_font(o->labelfont(), o->labelsize());
531  y = fl_height() + o->labelsize() - 6;
532  }
533  virtual const char *type_name() {return tabs_type_name;}
534  virtual const char *alt_type_name() {return "fltk::TabGroup";}
535  Fl_Widget *widget(int X,int Y,int W,int H) {
536  itabs *g = new itabs(X,Y,W,H); Fl_Group::current(0); return g;}
537  Fl_Widget_Type *_make() {return new Fl_Tabs_Type();}
538  Fl_Type* click_test(int,int);
539  void add_child(Fl_Type*, Fl_Type*);
540  void remove_child(Fl_Type*);
541  int pixmapID() { return 13; }
542  Fl_Widget *enter_live_mode(int top=0);
543 };
544 
545 extern const char scroll_type_name[];
547 
550 public:
551  virtual const char *type_name() {return scroll_type_name;}
552  virtual const char *alt_type_name() {return "fltk::ScrollGroup";}
554  int pixmapID() { return 19; }
555  Fl_Widget *enter_live_mode(int top=0);
556  void copy_properties();
557 };
558 
559 extern const char tile_type_name[];
560 
561 class Fl_Tile_Type : public Fl_Group_Type {
562 public:
563  virtual const char *type_name() {return tile_type_name;}
564  virtual const char *alt_type_name() {return "fltk::TileGroup";}
565  Fl_Widget_Type *_make() {return new Fl_Tile_Type();}
566  int pixmapID() { return 20; }
567  void copy_properties();
568 };
569 
570 extern const char wizard_type_name[];
571 
573 public:
574  virtual const char *type_name() {return wizard_type_name;}
575  virtual const char *alt_type_name() {return "fltk::WizardGroup";}
576  Fl_Widget *widget(int X,int Y,int W,int H) {
577  iwizard *g = new iwizard(X,Y,W,H); Fl_Group::current(0); return g;}
579  int pixmapID() { return 21; }
580 };
581 
583 
585 protected:
586 
588 
589  friend class Overlay_Window;
590  int mx,my; // mouse position during dragging
591  int x1,y1; // initial position of selection box
592  int bx,by,br,bt; // bounding box of selection before snapping
593  int sx,sy,sr,st; // bounding box of selection after snapping to guides
594  int dx,dy;
595  int drag; // which parts of bbox are being moved
596  int numselected; // number of children selected
597  enum {LEFT=1,RIGHT=2,BOTTOM=4,TOP=8,DRAG=16,BOX=32};
598  void draw_overlay();
599  void newdx();
600  void newposition(Fl_Widget_Type *,int &x,int &y,int &w,int &h);
601  int handle(int);
602  virtual void setlabel(const char *);
603  void write_code1();
604  void write_code2();
605  Fl_Widget_Type *_make() {return 0;} // we don't call this
606  Fl_Widget *widget(int,int,int,int) {return 0;}
607  int recalc; // set by fix_overlay()
608  void moveallchildren();
609  int pixmapID() { return 1; }
610 
611 public:
612 
615 
616  Fl_Type *make();
617  virtual const char *type_name() {return "Fl_Window";}
618  virtual const char *alt_type_name() {return "fltk::Window";}
619 
620  void open();
621 
622  void fix_overlay(); // Update the bounding box, etc
623  uchar *read_image(int &ww, int &hh); // Read an image of the window
624 
625  virtual void write_properties();
626  virtual void read_property(const char *);
627  virtual int read_fdesign(const char*, const char*);
628 
629  void add_child(Fl_Type*, Fl_Type*);
630  void move_child(Fl_Type*, Fl_Type*);
631  void remove_child(Fl_Type*);
632 
633  int is_parent() const {return 1;}
634  int is_group() const {return 1;}
635  int is_window() const {return 1;}
636 
637  Fl_Widget *enter_live_mode(int top=0);
638  void leave_live_mode();
639  void copy_properties();
640 
642 };
643 
645 public:
647  write_public_state = 0;
648  wc_relative = 0;
649  }
650  // state variables for output:
651  char write_public_state; // true when public: has been printed
652  char wc_relative; // if true, reposition all child widgets in an Fl_Group
653 
654  virtual void write_properties();
655  virtual void read_property(const char *);
656 
657  void write_code1();
658  void write_code2();
659  Fl_Type *make();
660  virtual const char *type_name() {return "widget_class";}
661  int pixmapID() { return 48; }
662  int is_parent() const {return 1;}
663  int is_code_block() const {return 1;}
664  int is_decl_block() const {return 1;}
665  int is_class() const {return 1;}
666 };
667 
668 
670 
672 public:
674  const char* type_name() {return "MenuItem";}
675  const char* alt_type_name() {return "fltk::Item";}
676  Fl_Type* make();
677  int is_menu_item() const {return 1;}
678  int is_button() const {return 1;} // this gets shortcut to work
679  Fl_Widget* widget(int,int,int,int) {return 0;}
680  Fl_Widget_Type* _make() {return 0;}
681  const char* menu_name(int& i);
682  int flags();
683  void write_static();
684  void write_item();
685  void write_code1();
686  void write_code2();
687  int pixmapID() { return 16; }
688 };
689 
691 public:
692  Fl_Menu_Item* subtypes() {return 0;}
693  const char* type_name() {return "Submenu";}
694  const char* alt_type_name() {return "fltk::ItemGroup";}
695  int is_parent() const {return 1;}
696  int is_button() const {return 0;} // disable shortcut
697  Fl_Type* make();
698  // changes to submenu must propagate up so build_menu is called
699  // on the parent Fl_Menu_Type:
703  int pixmapID() { return 18; }
704 };
705 
706 
707 #include <FL/Fl_Menu_.H>
708 class Fl_Menu_Type : public Fl_Widget_Type {
709  int textstuff(int w, Fl_Font& f, int& s, Fl_Color& c) {
710  Fl_Menu_ *myo = (Fl_Menu_*)(w==4 ? ((Fl_Widget_Type*)this->factory)->o : this->o);
711  switch (w) {
712  case 4:
713  case 0: f = myo->textfont(); s = myo->textsize(); c = myo->textcolor(); break;
714  case 1: myo->textfont(f); break;
715  case 2: myo->textsize(s); break;
716  case 3: myo->textcolor(c); break;
717  }
718  return 1;
719  }
720 public:
721  int is_menu_button() const {return 1;}
722  int is_parent() const {return 1;}
723  int menusize;
724  virtual void build_menu();
727  if (menusize) delete[] (Fl_Menu_Item*)(((Fl_Menu_*)o)->menu());
728  }
732  Fl_Type* click_test(int x, int y);
733  void write_code2();
734  void copy_properties();
735 };
736 
738 
739 #include <FL/Fl_Menu_Button.H>
742 public:
743  virtual void ideal_size(int &w, int &h) {
745  w += 2 * ((o->labelsize() - 3) & ~1) + o->labelsize() - 4;
746  h = (h / 5) * 5;
747  if (h < 15) h = 15;
748  if (w < (15 + h)) w = 15 + h;
749  }
750  virtual const char *type_name() {return "Fl_Menu_Button";}
751  virtual const char *alt_type_name() {return "fltk::MenuButton";}
752  Fl_Widget *widget(int X,int Y,int W,int H) {
753  return new Fl_Menu_Button(X,Y,W,H,"menu");}
755  int pixmapID() { return 26; }
756 };
757 
758 extern Fl_Menu_Item dummymenu[];
759 
760 #include <FL/Fl_Choice.H>
761 class Fl_Choice_Type : public Fl_Menu_Type {
762 public:
763  virtual void ideal_size(int &w, int &h) {
765  int w1 = o->h() - Fl::box_dh(o->box());
766  if (w1 > 20) w1 = 20;
767  w1 = (w1 - 4) / 3;
768  if (w1 < 1) w1 = 1;
769  w += 2 * w1 + o->labelsize() - 4;
770  h = (h / 5) * 5;
771  if (h < 15) h = 15;
772  if (w < (15 + h)) w = 15 + h;
773  }
774  virtual const char *type_name() {return "Fl_Choice";}
775  virtual const char *alt_type_name() {return "fltk::Choice";}
776  Fl_Widget *widget(int X,int Y,int W,int H) {
777  Fl_Choice *myo = new Fl_Choice(X,Y,W,H,"choice:");
778  myo->menu(dummymenu);
779  return myo;
780  }
782  int pixmapID() { return 15; }
783 };
784 
785 #include <FL/Fl_Input_Choice.H>
787  int textstuff(int w, Fl_Font& f, int& s, Fl_Color& c) {
788  Fl_Input_Choice *myo = (Fl_Input_Choice*)(w==4 ? ((Fl_Widget_Type*)this->factory)->o : this->o);
789  switch (w) {
790  case 4:
791  case 0: f = (Fl_Font)myo->textfont(); s = myo->textsize(); c = myo->textcolor(); break;
792  case 1: myo->textfont(f); break;
793  case 2: myo->textsize(s); break;
794  case 3: myo->textcolor(c); break;
795  }
796  return 1;
797  }
798 public:
799  virtual void ideal_size(int &w, int &h) {
801  fl_font(myo->textfont(), myo->textsize());
802  h = fl_height() + myo->textsize() - 6;
803  w = o->w() - 20 - Fl::box_dw(o->box());
804  int ww = (int)fl_width('m');
805  w = ((w + ww - 1) / ww) * ww + 20 + Fl::box_dw(o->box());
806  if (h < 15) h = 15;
807  if (w < (15 + h)) w = 15 + h;
808  }
809  virtual const char *type_name() {return "Fl_Input_Choice";}
810  virtual const char *alt_type_name() {return "fltk::ComboBox";}
811  virtual Fl_Type* click_test(int,int);
812  Fl_Widget *widget(int X,int Y,int W,int H) {
813  Fl_Input_Choice *myo = new Fl_Input_Choice(X,Y,W,H,"input choice:");
814  myo->menu(dummymenu);
815  myo->value("input");
816  return myo;
817  }
819  virtual void build_menu();
820  int pixmapID() { return 15; }
821  void copy_properties();
822 };
823 
824 #include <FL/Fl_Window.H>
825 #include <FL/Fl_Menu_Bar.H>
827 public:
828  virtual void ideal_size(int &w, int &h) {
829  w = o->window()->w();
830  h = ((o->labelsize() + Fl::box_dh(o->box()) + 4) / 5) * 5;
831  if (h < 15) h = 15;
832  }
833  virtual const char *type_name() {return "Fl_Menu_Bar";}
834  virtual const char *alt_type_name() {return "fltk::MenuBar";}
835  Fl_Widget *widget(int X,int Y,int W,int H) {return new Fl_Menu_Bar(X,Y,W,H);}
837  int pixmapID() { return 17; }
838 };
839 // object list operations:
840 Fl_Widget *make_widget_browser(int X,int Y,int W,int H);
842 extern int modflag;
843 void delete_all(int selected_only=0);
844 void selection_changed(Fl_Type* new_current);
846 int has_toplevel_function(const char *rtype, const char *sig);
847 
848 // file operations:
849 # ifdef __GNUC__
850 # define __fl_attr(x) __attribute__ (x)
851 # else
852 # define __fl_attr(x)
853 # endif // __GNUC__
854 
855 void write_word(const char *);
856 void write_string(const char *,...) __fl_attr((__format__ (__printf__, 1, 2)));
857 int write_file(const char *, int selected_only = 0);
858 int write_code(const char *cfile, const char *hfile);
859 int write_strings(const char *sfile);
860 
861 int write_declare(const char *, ...) __fl_attr((__format__ (__printf__, 1, 2)));
862 int is_id(char);
863 const char* unique_id(void* o, const char*, const char*, const char*);
864 void write_c(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2)));
865 void vwrite_c(const char* format, va_list args);
866 void write_h(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2)));
867 void write_cstring(const char *);
868 void write_cstring(const char *,int length);
869 void write_cdata(const char *,int length);
870 void write_indent(int n);
871 void write_open(int);
872 void write_close(int n);
873 extern int write_number;
874 extern int write_sourceview;
875 void write_public(int state); // writes pubic:/private: as needed
876 extern int indentation;
877 extern const char* indent();
878 
879 int read_file(const char *, int merge);
880 const char *read_word(int wantbrace = 0);
881 void read_error(const char *format, ...);
882 
883 // check legality of c code (sort of) and return error:
884 const char *c_check(const char *c, int type = 0);
885 
886 // replace a string pointer with new value, strips leading/trailing blanks:
887 int storestring(const char *n, const char * & p, int nostrip=0);
888 
889 extern int include_H_from_C;
890 extern int use_FL_COMMAND;
891 
892 /*
893  * This class is needed for additional command line plugins.
894  */
896 public:
898  : Fl_Plugin(klass(), name) { }
899  virtual const char *klass() { return "commandline"; }
900  // return a unique name for this plugin
901  virtual const char *name() = 0;
902  // return a help text for all supported commands
903  virtual const char *help() = 0;
904  // handle a command and return the number of args used, or 0
905  virtual int arg(int argc, char **argv, int &i) = 0;
906  // optional test the plugin
907  virtual int test(const char *a1=0L, const char *a2=0L, const char *a3=0L) {
908  return 0;
909  }
910  // show a GUI panel to edit some data
911  virtual void show_panel() { }
912 };
913 
914 
915 //
916 // End of "$Id$".
917 //
Fl_Type::write_static
virtual void write_static()
Definition: code.cxx:590
Fl_Window_Type::RIGHT
Definition: Fl_Type.h:597
Fl_Type::callback
const char * callback() const
Definition: Fl_Type.h:100
Fl_Widget.H
Fl_Table_Type::enter_live_mode
virtual Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Group_Type.cxx:368
Fl_Class_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:1361
include_H_from_C
int include_H_from_C
Definition: Fl_Window_Type.cxx:42
Fl_Type::title
virtual const char * title()
Definition: Fl_Type.cxx:294
fl_font
void fl_font(Fl_Font face, Fl_Fontsize fsize)
Definition: fl_draw.H:509
Fl_Type::write_code1
virtual void write_code1()
Definition: code.cxx:591
Fl_Menu_Bar_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:835
Fl_Class_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:1349
fl_width
FL_EXPORT double fl_width(const char *txt)
Definition: fl_font.cxx:65
Fl_Window_Type::enter_live_mode
Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Window_Type.cxx:1572
Fl_Group_Type::copy_properties
virtual void copy_properties()
Definition: Fl_Group_Type.cxx:384
Fl_Widget_Type::setlabel
virtual void setlabel(const char *)
Definition: Fl_Widget_Type.cxx:191
Fl_Group_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:478
button_type_menu
Fl_Menu_Item button_type_menu[]
Definition: Fl_Menu_Type.cxx:513
Fl_Widget_Type::_make
virtual Fl_Widget_Type * _make()=0
Fl_Tabs_Type::remove_child
void remove_child(Fl_Type *)
Definition: Fl_Group_Type.cxx:303
Fl_Menu_Type::textstuff
int textstuff(int w, Fl_Font &f, int &s, Fl_Color &c)
Definition: Fl_Type.h:709
Fl_Class_Type::write_public_state
char write_public_state
Definition: Fl_Type.h:348
Fl_Choice
A button that is used to pop up a menu.
Definition: Fl_Choice.H:83
Fl_CodeBlock_Type::Fl_CodeBlock_Type
Fl_CodeBlock_Type()
Definition: Fl_Type.h:250
Fluid_Image.h
igroup::resize
void resize(int, int, int, int)
Definition: Fl_Group_Type.cxx:31
use_FL_COMMAND
int use_FL_COMMAND
Definition: Fl_Window_Type.cxx:43
Fl_Class_Type::subclass_of
const char * subclass_of
Definition: Fl_Type.h:339
Fl_Input_Choice::textfont
Fl_Font textfont() const
Gets the Fl_Input text field's font style.
Definition: Fl_Input_Choice.H:227
Fl_Class_Type::is_decl_block
int is_decl_block() const
Definition: Fl_Type.h:357
Fl_Widget_Class_Type
Definition: Fl_Type.h:644
Fl_Widget_Type
Definition: Fl_Type.h:374
Fl_Widget_Type::~Fl_Widget_Type
~Fl_Widget_Type()
Definition: Fl_Widget_Type.cxx:210
ExternalCodeEditor::handle_changes
int handle_changes(const char **code, int force=0)
Definition: ExternalCodeEditor_UNIX.cxx:146
Fl_DeclBlock_Type
Definition: Fl_Type.h:300
Fl_Widget_Class_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:660
Fl_Submenu_Type::make
Fl_Type * make()
Definition: Fl_Menu_Type.cxx:126
Fl_Menu_Type::build_menu
virtual void build_menu()
Definition: Fl_Menu_Type.cxx:395
Fl_Comment_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:1072
Fl_Comment_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:1078
scroll_type_menu
Fl_Menu_Item scroll_type_menu[]
Definition: Fl_Group_Type.cxx:411
Fl_Type::callback_
const char * callback_
Definition: Fl_Type.h:56
Fl_Decl_Type::public_
char public_
Definition: Fl_Type.h:269
Fl_Group_Type::enter_live_mode
virtual Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Group_Type.cxx:337
Fl_Window_Type::br
int br
Definition: Fl_Type.h:592
Fl_Window_Type::handle
int handle(int)
Definition: Fl_Window_Type.cxx:1175
Fl_Window_Type::sr_min_h
int sr_min_h
Definition: Fl_Type.h:641
itabs::resize
void resize(int, int, int, int)
Definition: Fl_Group_Type.cxx:230
Fl_Function_Type::is_public
virtual int is_public() const
Definition: Fl_Function_Type.cxx:127
Fl_Type::current
static Fl_Type * current
Definition: Fl_Type.h:114
Fl_Menu_Type::copy_properties
void copy_properties()
Definition: Fl_Menu_Type.cxx:500
Fl_Type::next
Fl_Type * next
Definition: Fl_Type.h:71
Fl_Color
unsigned int Fl_Color
Definition: Enumerations.H:934
Fl_Submenu_Type::add_child
void add_child(Fl_Type *a, Fl_Type *b)
Definition: Fl_Type.h:700
Fl_Input_Choice_Type::copy_properties
void copy_properties()
Definition: Fl_Menu_Type.cxx:534
Fl_Widget_Class_Type::is_code_block
int is_code_block() const
Definition: Fl_Type.h:663
Fl_Window_Type::st
int st
Definition: Fl_Type.h:593
Fl_Group_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:487
Fl_Menu_::menu
const Fl_Menu_Item * menu() const
Definition: Fl_Menu_.H:110
Fl_Comment_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:335
Fl_Plugin.H
pack_type_menu
Fl_Menu_Item pack_type_menu[]
Definition: Fl_Group_Type.cxx:131
Fl_Function_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:399
Fl_Data_Type::open
void open()
Definition: Fl_Function_Type.cxx:793
Fl_Widget_Type::write_color
void write_color(const char *, Fl_Color)
Definition: Fl_Widget_Type.cxx:2201
Fl_Widget_Type::tooltip_
const char * tooltip_
Definition: Fl_Type.h:381
Fl_Wizard_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:579
Fl_Comment_Type::in_c_
char in_c_
Definition: Fl_Type.h:322
Fl_Table_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:517
Fl_Window_Type::DRAG
Definition: Fl_Type.h:597
write_cdata
void write_cdata(const char *, int length)
Definition: code.cxx:225
Fl_Submenu_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:692
Fl_Type::is_public
virtual int is_public() const
Definition: Fl_Type.cxx:765
Fl_Widget_Type::image_name
const char * image_name() const
Definition: Fl_Type.h:419
Fl_Input_Choice_Type::textstuff
int textstuff(int w, Fl_Font &f, int &s, Fl_Color &c)
Definition: Fl_Type.h:787
Fl_Scroll_Type::enter_live_mode
Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Group_Type.cxx:395
iwizard::full_resize
void full_resize(int X, int Y, int W, int H)
Definition: Fl_Type.h:470
Fl_Window_Type::sr_max_h
int sr_max_h
Definition: Fl_Type.h:641
Fl_Type::is_text_display
virtual int is_text_display() const
Definition: Fl_Type.cxx:755
ExternalCodeEditor
Definition: ExternalCodeEditor_UNIX.h:19
Fl_Type::user_defined
int user_defined(const char *cbname) const
Definition: Fl_Type.cxx:1127
Fl_Type::write_properties
virtual void write_properties()
Definition: Fl_Type.cxx:935
Fl_Tile_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:564
Fl_Function_Type::public_
char public_
Definition: Fl_Type.h:167
Fl_Class_Type::is_public
virtual int is_public() const
Definition: Fl_Function_Type.cxx:1329
Fl_Type::user_data_type
const char * user_data_type() const
Definition: Fl_Type.h:104
Fl_Menu_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:722
Fl_Type::rtti
char rtti
Definition: Fl_Type.h:68
Fl_Window_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:605
Fl_Code_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:507
Fl_Type::is_parent
virtual int is_parent() const
Definition: Fl_Type.cxx:748
Fl_Function_Type::open
void open()
Definition: Fl_Function_Type.cxx:172
Fl_Table_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:513
Fl_Type::parent
Fl_Type * parent
Definition: Fl_Type.h:63
Fl_Type::comment_
const char * comment_
Definition: Fl_Type.h:59
write_string
void write_string(const char *,...)
Definition: file.cxx:93
Fl_Code_Type::write
void write()
Definition: Fl_Function_Type.cxx:479
Fl_Type::is_code_block
virtual int is_code_block() const
Definition: Fl_Type.cxx:761
Fl_Menu_Button_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:754
Fl_Type::enter_live_mode
virtual Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Type.cxx:1102
Fl_Scroll_Type::copy_properties
void copy_properties()
Definition: Fl_Group_Type.cxx:422
Fl_Widget_Type::read_fdesign
virtual int read_fdesign(const char *, const char *)
Definition: Fl_Widget_Type.cxx:2706
Fl_Window_Type::recalc
int recalc
Definition: Fl_Type.h:607
Fl_Scroll_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:551
Fl_Class_Type::class_prefix
const char * class_prefix
Definition: Fl_Type.h:369
Fl_Comment_Type::open
void open()
Definition: Fl_Function_Type.cxx:1108
Fl_Data_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:777
Fl_Data_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:964
Fl_Menu_Bar
Definition: Fl_Menu_Bar.H:67
Fl_Type::move_child
virtual void move_child(Fl_Type *, Fl_Type *beforethis)
Definition: Fl_Type.cxx:570
Fl_Function_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:181
Fl_Widget_Type::setimage
void setimage(Fluid_Image *)
Definition: Fl_Widget_Type.cxx:171
Fl_Menu_Type::menusize
int menusize
Definition: Fl_Type.h:723
Fl_Type::add
void add(Fl_Type *parent)
Definition: Fl_Type.cxx:574
Fl_Input_Choice_Type::click_test
virtual Fl_Type * click_test(int, int)
Definition: Fl_Menu_Type.cxx:544
Fl_Menu_Bar_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:837
Fl_Window_Type::sx
int sx
Definition: Fl_Type.h:593
iwizard::iwizard
iwizard(int X, int Y, int W, int H)
Definition: Fl_Type.h:471
state
int state
Definition: Fl_Text_Editor.cxx:92
Fl_Widget_Class_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:661
Fl_Widget_Type::tooltip
const char * tooltip() const
Definition: Fl_Type.h:417
Fl_Group_Type
Definition: Fl_Type.h:474
Fl_CodeBlock_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:511
Fl_Window_Type::my
int my
Definition: Fl_Type.h:590
Fl_Widget::window
Fl_Window * window() const
Definition: Fl_Window.cxx:118
Fl_Widget_Type::textstuff
virtual int textstuff(int what, Fl_Font &, int &, Fl_Color &)
Definition: Fl_Widget_Type.cxx:1390
read_file
int read_file(const char *, int merge)
Definition: file.cxx:493
Fl_Submenu_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:703
Fl_Function_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:248
Fl_CodeBlock_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:260
Fl_Menu_Item_Type::is_button
int is_button() const
Definition: Fl_Type.h:678
Fl_Widget::labelfont
Fl_Font labelfont() const
Definition: Fl_Widget.H:487
Fl_Tabs_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:535
Fl_Decl_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:280
Overlay_Window
Definition: Fl_Window_Type.cxx:281
Fl_Tabs_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:537
Fl_Menu_Bar_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:834
Fl_Window_Type::sr_min_w
int sr_min_w
Definition: Fl_Type.h:641
Fl_Class_Type::has_function
int has_function(const char *, const char *) const
Definition: Fl_Function_Type.cxx:1482
Fl_Menu_Button_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:750
Fl_Data_Type::filename_
const char * filename_
Definition: Fl_Type.h:284
Fl_DeclBlock_Type::~Fl_DeclBlock_Type
~Fl_DeclBlock_Type()
Definition: Fl_Type.h:305
Fl_Class_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:356
Fl_Widget_Class_Type::read_property
virtual void read_property(const char *)
Definition: Fl_Window_Type.cxx:1471
Fl_Class_Type::Fl_Class_Type
Fl_Class_Type()
Definition: Fl_Type.h:342
Fl_Type::level
int level
Definition: Fl_Type.h:69
Fl_DeclBlock_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:312
free
void free()
Fl_Menu_Button_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:751
H
static int H
Definition: Fl_Tooltip.cxx:76
Fl_Scroll_Type
Definition: Fl_Type.h:548
write_code
int write_code(const char *cfile, const char *hfile)
Definition: code.cxx:342
Fl_Type::is_widget
virtual int is_widget() const
Definition: Fl_Type.cxx:749
Fl_Type::name_
const char * name_
Definition: Fl_Type.h:54
Fl_CodeBlock_Type::is_code_block
int is_code_block() const
Definition: Fl_Type.h:259
write_public
void write_public(int state)
Definition: Fl_Function_Type.cxx:1447
Fl_CodeBlock_Type::after
const char * after
Definition: Fl_Type.h:248
fl_height
int fl_height()
Definition: fl_draw.H:527
Fl_Table_Type::remove_child
void remove_child(Fl_Type *)
Definition: Fl_Group_Type.cxx:310
Fl_Type::user_data_
const char * user_data_
Definition: Fl_Type.h:57
Fl_Window_Type::read_fdesign
virtual int read_fdesign(const char *, const char *)
Definition: Fl_Window_Type.cxx:1413
Fl_Type::is_menu_item
virtual int is_menu_item() const
Definition: Fl_Type.cxx:756
write_number
int write_number
Definition: code.cxx:281
Fl_Table_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Group_Type.cxx:220
Fl_Data_Type::Fl_Data_Type
Fl_Data_Type()
Definition: Fl_Type.h:286
Fl_Type::open_
char open_
Definition: Fl_Type.h:66
Fl_CodeBlock_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:258
Fl_CodeBlock_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:534
Fl_Type::write
virtual void write()
Definition: Fl_Type.cxx:912
igroup::full_resize
void full_resize(int X, int Y, int W, int H)
Definition: Fl_Type.h:456
Fl_Widget_Type::ideal_spacing
virtual void ideal_spacing(int &x, int &y)
Definition: Fl_Widget_Type.cxx:85
Fl_Menu_Button_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:755
Fl_Widget_Class_Type::write_code2
void write_code2()
Definition: Fl_Window_Type.cxx:1552
Fl_Window_Type::by
int by
Definition: Fl_Type.h:592
Fl_Type::is_decl_block
virtual int is_decl_block() const
Definition: Fl_Type.cxx:762
iwizard
Definition: Fl_Type.h:467
Fl_Class_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:355
Fl_DeclBlock_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:1042
Fl_Tabs
Definition: Fl_Tabs.H:201
Fl_CodeBlock_Type::~Fl_CodeBlock_Type
~Fl_CodeBlock_Type()
Definition: Fl_Type.h:251
Fl_Window_Type::BOTTOM
Definition: Fl_Type.h:597
Fl_Type::Fl_Type
Fl_Type()
Definition: Fl_Type.cxx:539
Fl_Wizard_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:576
modflag
int modflag
Definition: fluid.cxx:122
Fl_Comment_Type::title
virtual const char * title()
Definition: Fl_Function_Type.cxx:1227
Fl_Function_Type::return_type
const char * return_type
Definition: Fl_Type.h:166
Fl_Choice_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:776
Fl_Wizard_Type
Definition: Fl_Type.h:572
Fl_Menu_Type::is_menu_button
int is_menu_button() const
Definition: Fl_Type.h:721
Fl_DeclBlock_Type::is_decl_block
int is_decl_block() const
Definition: Fl_Type.h:316
ExternalCodeEditor::is_editing
int is_editing()
Definition: ExternalCodeEditor_UNIX.cxx:70
Fl_Menu_Type::~Fl_Menu_Type
~Fl_Menu_Type()
Definition: Fl_Type.h:726
Fl_Submenu_Type::move_child
void move_child(Fl_Type *a, Fl_Type *b)
Definition: Fl_Type.h:701
Fl_Type::leave_live_mode
virtual void leave_live_mode()
Definition: Fl_Type.cxx:1110
Fl_Window_Type::numselected
int numselected
Definition: Fl_Type.h:596
Fl_Menu_Button_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:741
Fl_Group_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:477
b
long b
Definition: jpegint.h:397
Fl_Choice_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:782
Fl_Menu_Item_Type::flags
int flags()
Definition: Fl_Menu_Type.cxx:269
Fl_Menu_Type::click_test
Fl_Type * click_test(int x, int y)
Definition: Fl_Menu_Type.cxx:442
Fl_Data_Type
Definition: Fl_Type.h:283
Fl_Function_Type::~Fl_Function_Type
~Fl_Function_Type()
Definition: Fl_Type.h:173
Fl_CodeBlock_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:576
Fl_Input_Choice::menu
const Fl_Menu_Item * menu()
Definition: Fl_Input_Choice.H:214
delete_all
void delete_all(int selected_only=0)
Definition: Fl_Type.cxx:833
__fl_attr
#define __fl_attr(x)
Definition: Fl_Type.h:852
write_strings
int write_strings(const char *sfile)
Definition: code.cxx:466
Fl_Menu_Type::write_code2
void write_code2()
Definition: Fl_Menu_Type.cxx:460
Fl_Comment_Type::style_
char style_
Definition: Fl_Type.h:322
write_open
void write_open(int)
Definition: file.cxx:110
read_error
void read_error(const char *format,...)
Definition: file.cxx:151
Fl_Type::is_in_class
const class Fl_Class_Type * is_in_class() const
Definition: Fl_Function_Type.cxx:1318
Fl_Type::first
static Fl_Type * first
Definition: Fl_Type.h:70
Fl_Widget_Type::image_name_
const char * image_name_
Definition: Fl_Type.h:382
Fl_Decl_Type::static_
char static_
Definition: Fl_Type.h:270
Fl_Widget_Class_Type::make
Fl_Type * make()
Definition: Fl_Window_Type.cxx:1437
Fl_Tile_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:563
Fl_DeclBlock_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:992
Fl_Type::insert
void insert(Fl_Type *n)
Definition: Fl_Type.cxx:614
redraw_widget_browser
void redraw_widget_browser(Fl_Type *)
Definition: Fl_Type.cxx:232
Fl_Type::~Fl_Type
virtual ~Fl_Type()
Definition: Fl_Type.cxx:733
Fl_Type::is_comment
virtual int is_comment() const
Definition: Fl_Type.cxx:763
Fl_Tabs_Type::enter_live_mode
Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Group_Type.cxx:352
Fl_Type::write_code2
virtual void write_code2()
Definition: code.cxx:595
Fl_Code_Type::reap_editor
int reap_editor()
Definition: Fl_Type.h:218
Fl_Tabs_Type::click_test
Fl_Type * click_test(int, int)
Definition: Fl_Group_Type.cxx:241
Fl_Type::is_button
virtual int is_button() const
Definition: Fl_Type.cxx:752
Fl::box_dh
static int box_dh(Fl_Boxtype)
Definition: fl_boxtype.cxx:397
Fl_Type::add_child
virtual void add_child(Fl_Type *, Fl_Type *beforethis)
Definition: Fl_Type.cxx:569
Fl_Group_Type::is_group
int is_group() const
Definition: Fl_Type.h:488
iwizard::resize
void resize(int, int, int, int)
Definition: Fl_Group_Type.cxx:261
Fl_Tile_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:566
Fl_Decl_Type::is_public
virtual int is_public() const
Definition: Fl_Function_Type.cxx:584
Fl_Tabs.H
Fl_CodeBlock_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:570
Fl_Menu_Item_Type::is_menu_item
int is_menu_item() const
Definition: Fl_Type.h:677
Fl_Widget::w
int w() const
Definition: Fl_Widget.H:294
Fl_Pack_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:504
ExternalCodeEditor::reap_editor
pid_t reap_editor()
Definition: ExternalCodeEditor_UNIX.cxx:356
Fl_Comment_Type::in_h_
char in_h_
Definition: Fl_Type.h:322
Fl_Type::is_group
virtual int is_group() const
Definition: Fl_Type.cxx:758
pack_type_name
const char pack_type_name[]
Definition: Fl_Group_Type.cxx:129
Fl_Window_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:609
Fl_Pack_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:503
Fl_Tabs_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:534
Fl_Window_Type::is_window
int is_window() const
Definition: Fl_Type.h:635
Fl::box_dw
static int box_dw(Fl_Boxtype)
Definition: fl_boxtype.cxx:391
Fl_Class_Type::parent_class
Fl_Class_Type * parent_class
Definition: Fl_Type.h:349
Fl_Comment_Type::is_public
virtual int is_public() const
Definition: Fl_Type.h:333
Fl_Choice.H
Fl_Commandline_Plugin::show_panel
virtual void show_panel()
Definition: Fl_Type.h:911
Fl_Type::header_position_end
int header_position_end
Definition: Fl_Type.h:77
Fl_Window_Type::leave_live_mode
void leave_live_mode()
Definition: Fl_Window_Type.cxx:1587
Fl_Window.H
Fl_Widget_Type::Fl_Widget_Type
Fl_Widget_Type()
Definition: Fl_Widget_Type.cxx:196
Fl_Menu_Bar_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:836
Fl_Widget_Type::extra_code
const char * extra_code(int n) const
Definition: Fl_Type.h:413
Fl_Window_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:617
Fl_Decl_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:607
Fl_Input_Choice.H
window_type_menu
Fl_Menu_Item window_type_menu[]
Definition: Fl_Window_Type.cxx:271
Fl_CodeBlock_Type
Definition: Fl_Type.h:247
Fl_Choice_Type
Definition: Fl_Type.h:761
Fl_Choice_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:775
Fl_Submenu_Type::type_name
const char * type_name()
Definition: Fl_Type.h:693
Fl_Widget_Type::setinactive
void setinactive(Fluid_Image *)
Definition: Fl_Widget_Type.cxx:181
Fl_Window_Type::copy_properties
void copy_properties()
Definition: Fl_Window_Type.cxx:1593
dummymenu
Fl_Menu_Item dummymenu[]
Definition: Fl_Menu_Type.cxx:528
p
static menustate * p
Definition: Fl_Menu.cxx:606
Fl_Widget_Type::default_size
static int default_size
Definition: Fl_Type.h:398
Fl_Type::comment
const char * comment()
Definition: Fl_Type.h:106
has_toplevel_function
int has_toplevel_function(const char *rtype, const char *sig)
Definition: Fl_Type.cxx:989
table_type_name
const char table_type_name[]
Definition: Fl_Group_Type.cxx:216
Fl_Widget::w
void w(int v)
Definition: Fl_Widget.H:143
Fl_Code_Type
Definition: Fl_Type.h:194
Fl_Comment_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:1250
Fl_Code_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:202
Fl_Menu_::textfont
Fl_Font textfont() const
Definition: Fl_Menu_.H:155
Fl_Table_Type::add_child
void add_child(Fl_Type *, Fl_Type *)
Definition: Fl_Group_Type.cxx:282
Fl_Type::new_selected
char new_selected
Definition: Fl_Type.h:64
Fl_Menu_Button_Type
Definition: Fl_Type.h:740
Fl_Wizard_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:575
Fl_Type::copy_properties
virtual void copy_properties()
Definition: Fl_Type.cxx:1116
Fl_Class_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:1474
write_declare
int write_declare(const char *,...)
Definition: code.cxx:127
Fl_Widget_Type::is_public
virtual int is_public() const
Definition: Fl_Widget_Type.cxx:53
Fl_DeclBlock_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:970
Fl_Decl_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:276
reveal_in_browser
void reveal_in_browser(Fl_Type *)
Definition: Fl_Type.cxx:1082
Fl_Type::is_class
virtual int is_class() const
Definition: Fl_Type.cxx:764
Fl_Tabs_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:533
Fl_CodeBlock_Type::open
void open()
Definition: Fl_Function_Type.cxx:542
Fl_Data_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:764
Fl_Pack_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:500
Fl_Submenu_Type
Definition: Fl_Type.h:690
Fl_Function_Type::constructor
char constructor
Definition: Fl_Type.h:167
Fl_Widget_Type::extra_code_
const char * extra_code_[4]
Definition: Fl_Type.h:379
Fl_Type::label_
const char * label_
Definition: Fl_Type.h:55
Fl_Comment_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:329
Fl_Widget_Class_Type::write_public_state
char write_public_state
Definition: Fl_Type.h:651
Fl_Type::user_data
const char * user_data() const
Definition: Fl_Type.h:102
Fl_Menu_Item_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:673
Fl_Window_Type::fix_overlay
void fix_overlay()
Definition: Fl_Window_Type.cxx:1088
Fl_Function_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:185
Fl_Pack_Type::copy_properties
void copy_properties()
Definition: Fl_Widget_Type.cxx:2896
Fl_Function_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:188
fl_draw.H
utility header to pull drawing functions together
Fl_Code_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:487
write_c
void write_c(const char *,...)
Definition: code.cxx:265
Fl_Wizard.H
Fl_Commandline_Plugin::Fl_Commandline_Plugin
Fl_Commandline_Plugin(const char *name)
Definition: Fl_Type.h:897
Fl_DeclBlock_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:982
Fl_Window_Type::Fl_Window_Type
Fl_Window_Type()
Definition: Fl_Type.h:613
Fl_Decl_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:760
arg
static int arg(int argc, char **argv, int &i)
Definition: fluid.cxx:1723
Fl_Input_Choice_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:812
Fl_Type::type_name
virtual const char * type_name()=0
Fl_Window_Type::dx
int dx
Definition: Fl_Type.h:594
indentation
int indentation
Definition: code.cxx:98
Fl_Table_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:514
Fl_Widget_Type::hotspot
uchar hotspot() const
Definition: Fl_Type.h:423
Fl_Input_Choice_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:818
Widget_Browser
Definition: Fl_Type.cxx:206
Fl_Data_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:294
Fl_Window_Type::setlabel
virtual void setlabel(const char *)
Definition: Fl_Window_Type.cxx:498
Fl_Widget_Type::o
Fl_Widget * o
Definition: Fl_Type.h:401
Fl_Widget_Type::public_
int public_
Definition: Fl_Type.h:402
Fl_DeclBlock_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:318
Fl_Window_Type::is_group
int is_group() const
Definition: Fl_Type.h:634
Fl_Window_Type::open
void open()
Definition: Fl_Window_Type.cxx:410
Fl_Widget_Class_Type::Fl_Widget_Class_Type
Fl_Widget_Class_Type()
Definition: Fl_Type.h:646
Fl_Widget_Class_Type::is_decl_block
int is_decl_block() const
Definition: Fl_Type.h:664
Fl_Class_Type::is_class
int is_class() const
Definition: Fl_Type.h:358
Fl_Input_Choice_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:809
Fl_Table_Type::move_child
void move_child(Fl_Type *, Fl_Type *)
Definition: Fl_Group_Type.cxx:326
Fl_Data_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:785
Fl_DeclBlock_Type::Fl_DeclBlock_Type
Fl_DeclBlock_Type()
Definition: Fl_Type.h:304
Fl_Group_Type::add_child
void add_child(Fl_Type *, Fl_Type *)
Definition: Fl_Group_Type.cxx:271
Fl_Scroll_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:554
Fl_Type::is_window
virtual int is_window() const
Definition: Fl_Type.cxx:759
Fl_Window_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:618
Fl_Type::user_data_type_
const char * user_data_type_
Definition: Fl_Type.h:58
Fl_Group_Type::make
Fl_Type * make()
Definition: Fl_Group_Type.cxx:38
Fl_Scroll_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:553
Fl_Choice_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:781
indent
const char * indent()
Definition: code.cxx:99
Fl_Data_Type::~Fl_Data_Type
~Fl_Data_Type()
Definition: Fl_Type.h:287
Fl_Widget_Type::subtypes
virtual Fl_Menu_Item * subtypes()
Definition: Fl_Widget_Type.cxx:1730
Fl_Type
Definition: Fl_Type.h:43
Fl_Table_Type
Definition: Fl_Type.h:511
Fl_Comment_Type
Definition: Fl_Type.h:321
Fl_Type::write_comment_h
void write_comment_h(const char *ind="")
Definition: Fl_Type.cxx:1004
Fl_Menu_Item_Type
Definition: Fl_Type.h:671
Fl_Commandline_Plugin::test
virtual int test(const char *a1=0L, const char *a2=0L, const char *a3=0L)
Definition: Fl_Type.h:907
ExternalCodeEditor_UNIX.h
Fl_Menu_::textcolor
Fl_Color textcolor() const
Definition: Fl_Menu_.H:163
write_cstring
void write_cstring(const char *)
Definition: code.cxx:222
Fl_Menu_Bar_Type
Definition: Fl_Type.h:826
Fl_Plugin
Fl_Plugin allows link-time and run-time integration of binary modules.
Definition: Fl_Plugin.H:61
Fl_Function_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:142
Fl_DeclBlock_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:315
Fl_Decl_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:595
Fl_Menu_Item_Type::write_code1
void write_code1()
Definition: Fl_Menu_Type.cxx:326
Fl_Type::callback_name
const char * callback_name()
Definition: Fl_Widget_Type.cxx:2094
Fl_Menu_Button
Definition: Fl_Menu_Button.H:58
Fl_Pack.H
Fl_Type::class_name
const char * class_name(const int need_nest) const
Definition: Fl_Function_Type.cxx:1293
Fl_Menu_::textsize
Fl_Fontsize textsize() const
Definition: Fl_Menu_.H:159
Fl_Menu_.H
itabs::itabs
itabs(int X, int Y, int W, int H)
Definition: Fl_Type.h:464
Fl_Wizard
Definition: Fl_Wizard.H:41
Fl_Widget
Definition: Fl_Widget.H:101
Fl_Input_Choice_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:820
Fl_Group
Definition: Fl_Group.H:41
Fl_Group::current
static Fl_Group * current()
Definition: Fl_Group.cxx:84
menu_item_type_menu
Fl_Menu_Item menu_item_type_menu[]
Definition: Fl_Menu_Type.cxx:37
Fl_Comment_Type::title_buf
char title_buf[64]
Definition: Fl_Type.h:323
Fl_Menu_
Definition: Fl_Menu_.H:51
write_indent
void write_indent(int n)
Definition: file.cxx:103
Fl_Window_Type::bx
int bx
Definition: Fl_Type.h:592
Fl_CodeBlock_Type::write_properties
void write_properties()
Definition: Fl_Function_Type.cxx:526
Fl_Type::open
virtual void open()
Definition: Fl_Type.cxx:727
Fl_Code_Type::handle_editor_changes
int handle_editor_changes()
Definition: Fl_Type.h:232
Fl_Window_Type::TOP
Definition: Fl_Type.h:597
Fl_Widget_Type::inactive_name_
const char * inactive_name_
Definition: Fl_Type.h:383
Fl_Window_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:633
c_check
const char * c_check(const char *c, int type=0)
Definition: Fl_Function_Type.cxx:121
Fl_Widget::box
Fl_Boxtype box() const
Definition: Fl_Widget.H:363
Fl_Type::setlabel
virtual void setlabel(const char *)
Definition: Fl_Type.cxx:731
Fl_Class_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:1460
Fl_Window_Type::widget
Fl_Widget * widget(int, int, int, int)
Definition: Fl_Type.h:606
is_id
int is_id(char)
Definition: code.cxx:40
Fl_Type::is_menu_button
virtual int is_menu_button() const
Definition: Fl_Type.cxx:757
Fl_Widget::h
int h() const
Definition: Fl_Widget.H:299
Fl_Code_Type::is_code_block
int is_code_block() const
Definition: Fl_Type.h:203
Fl_Function_Type::havewidgets
char havewidgets
Definition: Fl_Type.h:167
Fl_Group::resize
void resize(int, int, int, int)
Definition: Fl_Group.cxx:634
Fl_Code_Type::is_editing
int is_editing()
Definition: Fl_Type.h:208
Fl_Commandline_Plugin::klass
virtual const char * klass()
Definition: Fl_Type.h:899
Fl_Type::read_property
virtual void read_property(const char *)
Definition: Fl_Type.cxx:965
igroup
Definition: Fl_Type.h:453
Fl_Menu_Bar_Type::ideal_size
virtual void ideal_size(int &w, int &h)
Definition: Fl_Type.h:828
Fl_Widget::h
void h(int v)
Definition: Fl_Widget.H:145
Fl_Comment_Type::is_comment
virtual int is_comment() const
Definition: Fl_Type.h:334
Fl_Decl_Type::open
void open()
Definition: Fl_Function_Type.cxx:636
Fl_Widget_Type::subclass_
const char * subclass_
Definition: Fl_Type.h:380
Fl_Window_Type::newposition
void newposition(Fl_Widget_Type *, int &x, int &y, int &w, int &h)
Definition: Fl_Window_Type.cxx:567
Fl_Type::msgnum
int msgnum()
Definition: Fl_Type.cxx:633
Fl_Type::read_fdesign
virtual int read_fdesign(const char *, const char *)
Definition: Fl_Type.cxx:984
Fl_Widget_Class_Type::wc_relative
char wc_relative
Definition: Fl_Type.h:652
Fl_Window_Type::moveallchildren
void moveallchildren()
Definition: Fl_Window_Type.cxx:1140
Fl_Widget_Class_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:662
Fl_Input_Choice_Type
Definition: Fl_Type.h:786
Fl_Widget_Class_Type::write_properties
virtual void write_properties()
Definition: Fl_Window_Type.cxx:1466
Fl_Scroll_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:552
Fl_Input_Choice::textsize
Fl_Fontsize textsize() const
Gets the Fl_Input text field's font size.
Definition: Fl_Input_Choice.H:231
Fl_Class_Type::open
void open()
Definition: Fl_Function_Type.cxx:1373
write_sourceview
int write_sourceview
Definition: code.cxx:282
Fl_Widget_Type::copy_properties
virtual void copy_properties()
Definition: Fl_Widget_Type.cxx:2814
Fl_Decl_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:697
Fl_Decl_Type
Definition: Fl_Type.h:267
Fl_Menu_Type::remove_child
void remove_child(Fl_Type *)
Definition: Fl_Type.h:731
Fl_DeclBlock_Type::public_
char public_
Definition: Fl_Type.h:302
Fl_Input_Choice_Type::build_menu
virtual void build_menu()
Definition: Fl_Menu_Type.cxx:53
Fl_Type::click_test
virtual Fl_Type * click_test(int, int)
Definition: Fl_Type.cxx:568
Fl_Pack_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:502
Fl_Window_Type::write_properties
virtual void write_properties()
Definition: Fl_Window_Type.cxx:1376
Fl_Group_Type::write_code1
void write_code1()
Definition: Fl_Group_Type.cxx:113
tile_type_name
const char tile_type_name[]
Definition: Fl_Group_Type.cxx:433
Fl_Type::move_before
void move_before(Fl_Type *)
Definition: Fl_Type.cxx:852
set_modflag
void set_modflag(int mf)
Definition: fluid.cxx:1687
Fl_Wizard_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:574
Fl_Widget_Type::hotspot
void hotspot(uchar v)
Definition: Fl_Type.h:424
Fl_Function_Type::has_signature
int has_signature(const char *, const char *) const
Definition: Fl_Function_Type.cxx:419
Fl_Widget_Type::widget
virtual Fl_Widget * widget(int, int, int, int)=0
Fl_Window_Type::move_child
void move_child(Fl_Type *, Fl_Type *)
Definition: Fl_Window_Type.cxx:398
Fl_Type::last
static Fl_Type * last
Definition: Fl_Type.h:70
x
int x
Definition: test.c:73
Fl_CodeBlock_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:262
Fl_Menu_Item_Type::alt_type_name
const char * alt_type_name()
Definition: Fl_Type.h:675
Fl_DeclBlock_Type::after
const char * after
Definition: Fl_Type.h:301
Fl_Font
int Fl_Font
Definition: Enumerations.H:877
Fl_Window_Type::add_child
void add_child(Fl_Type *, Fl_Type *)
Definition: Fl_Window_Type.cxx:384
Fl_Widget_Type::subclass
const char * subclass() const
Definition: Fl_Type.h:415
Fl_Menu_Type::add_child
void add_child(Fl_Type *, Fl_Type *)
Definition: Fl_Type.h:729
Fl_Widget_Type::ideal_size
virtual void ideal_size(int &w, int &h)
Definition: Fl_Widget_Type.cxx:72
Fl_Tabs_Type::ideal_spacing
virtual void ideal_spacing(int &x, int &y)
Definition: Fl_Type.h:528
Fl_Scroll_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:549
Fl_Code_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:431
Fl_Type::make_type_browser
friend Fl_Widget * make_type_browser(int, int, int, int, const char *)
Fl_Code_Type::is_code
int is_code() const
Definition: Fl_Type.h:204
Fl_Data_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:297
Fl_Window_Type::drag
int drag
Definition: Fl_Type.h:595
Fl_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:94
Fl_Type::visible
char visible
Definition: Fl_Type.h:67
Fl_Widget_Type::write_code1
void write_code1()
Definition: Fl_Widget_Type.cxx:2101
Fl_Input_Choice_Type::alt_type_name
virtual const char * alt_type_name()
Definition: Fl_Type.h:810
Fl_Window_Type::sr
int sr
Definition: Fl_Type.h:593
scroll_type_name
const char scroll_type_name[]
Definition: Fl_Group_Type.cxx:393
Fl_Window_Type::sy
int sy
Definition: Fl_Type.h:593
Fl_Window_Type::non_modal
uchar non_modal
Definition: Fl_Type.h:614
Fl_Group_Type::write_code2
void write_code2()
Definition: Fl_Group_Type.cxx:117
Fl_Type::remove_child
virtual void remove_child(Fl_Type *)
Definition: Fl_Type.cxx:571
make_widget_browser
Fl_Widget * make_widget_browser(int X, int Y, int W, int H)
Definition: Fl_Type.cxx:228
Fl_Window_Type::newdx
void newdx()
Definition: Fl_Window_Type.cxx:522
Fl_Widget_Type::image
Fluid_Image * image
Definition: Fl_Type.h:404
itabs::full_resize
void full_resize(int X, int Y, int W, int H)
Definition: Fl_Type.h:463
Fl_Type::code_position_end
int code_position_end
Definition: Fl_Type.h:77
Fl_Window_Type::mx
int mx
Definition: Fl_Type.h:590
Fl_Class_Type::public_
char public_
Definition: Fl_Type.h:340
Fl_Submenu_Type::alt_type_name
const char * alt_type_name()
Definition: Fl_Type.h:694
Fl_Menu_Item
Definition: Fl_Menu_Item.H:112
Fl_Widget_Type::live_widget
Fl_Widget * live_widget
Definition: Fl_Type.h:395
Fl_Type::label
const char * label() const
Definition: Fl_Type.h:98
Fl_Type::name
const char * name() const
Definition: Fl_Type.h:96
Fl_Widget_Type::is_widget
virtual int is_widget() const
Definition: Fl_Widget_Type.cxx:52
Fl_Submenu_Type::remove_child
void remove_child(Fl_Type *a)
Definition: Fl_Type.h:702
Fl_Widget_Type::write_properties
virtual void write_properties()
Definition: Fl_Widget_Type.cxx:2418
y
int y
Definition: test.c:74
Fl_Type::write_comment_inline_c
void write_comment_inline_c(const char *ind=0L)
Definition: Fl_Type.cxx:1050
Fl_Widget_Type::write_static
void write_static()
Definition: Fl_Widget_Type.cxx:2005
Fl_Input_Choice::textcolor
Fl_Color textcolor() const
Gets the Fl_Input text field's text color.
Definition: Fl_Input_Choice.H:223
Fl_Widget_Type::read_property
virtual void read_property(const char *)
Definition: Fl_Widget_Type.cxx:2539
Fl_Window_Type::y1
int y1
Definition: Fl_Type.h:591
Fl_Class_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:1336
Fl_Pack_Type
Definition: Fl_Type.h:499
Fl_Group_Type::move_child
void move_child(Fl_Type *, Fl_Type *)
Definition: Fl_Group_Type.cxx:318
Fl_Menu_Bar_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:833
Fl_Type::is_value_input
virtual int is_value_input() const
Definition: Fl_Type.cxx:754
Fl_Class_Type::prefix
const char * prefix() const
Definition: Fl_Type.h:366
Fl_DeclBlock_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:1049
Fl_Type::code_position
int code_position
Definition: Fl_Type.h:76
Fl_Type::is_spinner
virtual int is_spinner() const
Definition: Fl_Type.cxx:751
Fl_Pack_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:505
Fl_Type::is_code
virtual int is_code() const
Definition: Fl_Type.cxx:760
wizard_type_name
const char wizard_type_name[]
Definition: Fl_Group_Type.cxx:258
storestring
int storestring(const char *n, const char *&p, int nostrip=0)
Definition: Fl_Type.cxx:670
f
Fl_Box_Draw_F * f
Definition: fl_boxtype.cxx:285
selection_changed
void selection_changed(Fl_Type *new_current)
Definition: Fl_Widget_Type.cxx:1921
Fl_Wizard_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:578
Fl_Tabs_Type
Definition: Fl_Type.h:526
Fl_Menu_Item_Type::menu_name
const char * menu_name(int &i)
Definition: Fl_Menu_Type.cxx:147
Fl_Type::write_comment_c
void write_comment_c(const char *ind="")
Definition: Fl_Type.cxx:1027
Fl_Window_Type::draw_overlay
void draw_overlay()
Definition: Fl_Window_Type.cxx:724
Fl_Widget_Class_Type::is_class
int is_class() const
Definition: Fl_Type.h:665
Fl_Window_Type::remove_child
void remove_child(Fl_Type *)
Definition: Fl_Window_Type.cxx:392
Fl_Submenu_Type::is_parent
int is_parent() const
Definition: Fl_Type.h:695
tabs_type_name
const char tabs_type_name[]
Definition: Fl_Group_Type.cxx:227
Fl_Menu_Item_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:680
Fl_Class_Type::~Fl_Class_Type
~Fl_Class_Type()
Definition: Fl_Type.h:343
Fl_Menu_Button_Type::widget
Fl_Widget * widget(int X, int Y, int W, int H)
Definition: Fl_Type.h:752
Fl_Tabs_Type::add_child
void add_child(Fl_Type *, Fl_Type *)
Definition: Fl_Group_Type.cxx:278
Fl_Tile_Type::copy_properties
void copy_properties()
Definition: Fl_Group_Type.cxx:437
Y
static int Y
Definition: Fl_Tooltip.cxx:76
Fl_Menu_Item_Type::widget
Fl_Widget * widget(int, int, int, int)
Definition: Fl_Type.h:679
Fl_Input_Choice::value
const char * value() const
Returns the Fl_Input text field's current contents.
Definition: Fl_Input_Choice.H:235
Fl_Data_Type::write_code1
void write_code1()
Definition: Fl_Function_Type.cxx:895
Fl_Menu_Item_Type::type_name
const char * type_name()
Definition: Fl_Type.h:674
Fl_Menu_Item_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:687
Fl_CodeBlock_Type::is_public
virtual int is_public() const
Definition: Fl_Type.cxx:768
Fl_Decl_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:620
Fl_Type::prev
Fl_Type * prev
Definition: Fl_Type.h:71
Fl_Window_Type
Definition: Fl_Type.h:584
Fl_Type::selected
char selected
Definition: Fl_Type.h:65
Fl_Menu_Button.H
Fl_Menu_Item_Type::write_code2
void write_code2()
Definition: Fl_Menu_Type.cxx:386
Fl_Window_Type::sr_max_w
int sr_max_w
Definition: Fl_Type.h:641
Fl_Code_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:205
Fl_DeclBlock_Type::is_public
virtual int is_public() const
Definition: Fl_Function_Type.cxx:968
write_close
void write_close(int n)
Definition: file.cxx:117
Fl_Window_Type::make
Fl_Type * make()
Definition: Fl_Window_Type.cxx:355
Fl_Choice_Type::ideal_size
virtual void ideal_size(int &w, int &h)
Definition: Fl_Type.h:763
Fl_Submenu_Type::is_button
int is_button() const
Definition: Fl_Type.h:696
Fl_Widget_Type::open
void open()
Definition: Fl_Widget_Type.cxx:1905
Fl_Widget_Type::enter_live_mode
virtual Fl_Widget * enter_live_mode(int top=0)
Definition: Fl_Widget_Type.cxx:2801
Fl_Class_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:360
Fl_Table_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:515
Fl_Group_Type::remove_child
void remove_child(Fl_Type *)
Definition: Fl_Group_Type.cxx:297
Fl_Function_Type::ismain
int ismain()
Definition: Fl_Type.h:180
Fl_Menu_Bar.H
Fl_Window_Type::read_image
uchar * read_image(int &ww, int &hh)
Definition: Fl_Window_Type.cxx:427
Fl_Type::make
virtual Fl_Type * make()=0
Fl_Input_Choice_Type::ideal_size
virtual void ideal_size(int &w, int &h)
Definition: Fl_Type.h:799
Fl_Window_Type::LEFT
Definition: Fl_Type.h:597
Fl_Group_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:476
Fl_Widget_Type::xclass
const char * xclass
Definition: Fl_Type.h:400
Fl_Choice_Type::type_name
virtual const char * type_name()
Definition: Fl_Type.h:774
Fl_Window_Type::subtypes
Fl_Menu_Item * subtypes()
Definition: Fl_Type.h:587
Fl_Widget_Class_Type::write_code1
void write_code1()
Definition: Fl_Window_Type.cxx:1490
unique_id
const char * unique_id(void *o, const char *, const char *, const char *)
Definition: code.cxx:63
Fl_Tile_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:565
Fl_Function_Type::read_property
void read_property(const char *)
Definition: Fl_Function_Type.cxx:155
Fl_Window_Type::dy
int dy
Definition: Fl_Type.h:594
Fl_Widget_Type::inactive_name
const char * inactive_name() const
Definition: Fl_Type.h:421
Fl_Type::factory
Fl_Type * factory
Definition: Fl_Type.h:73
Fl_Function_Type::is_code_block
int is_code_block() const
Definition: Fl_Type.h:186
Fl_Menu_Item_Type::write_static
void write_static()
Definition: Fl_Menu_Type.cxx:163
length
png_uint_32 length
Definition: png.c:2173
Fl_Widget_Type::redraw
void redraw()
Definition: Fl_Widget_Type.cxx:256
Fl_Widget_Type::inactive
Fluid_Image * inactive
Definition: Fl_Type.h:406
Fl_Code_Type::open
void open()
Definition: Fl_Function_Type.cxx:445
write_file
int write_file(const char *, int selected_only=0)
Definition: file.cxx:312
Fl_Window_Type::read_property
virtual void read_property(const char *)
Definition: Fl_Window_Type.cxx:1388
Fl_Menu_Type::Fl_Menu_Type
Fl_Menu_Type()
Definition: Fl_Type.h:725
Fl_Menu_Type
Definition: Fl_Type.h:708
Fl_Widget::labelsize
Fl_Fontsize labelsize() const
Definition: Fl_Widget.H:502
Fl_Window_Type::BOX
Definition: Fl_Type.h:597
Fl_Widget_Type::make
Fl_Type * make()
Definition: Fl_Widget_Type.cxx:94
vwrite_c
void vwrite_c(const char *format, va_list args)
Definition: code.cxx:257
Fl_Comment_Type::write_code2
void write_code2()
Definition: Fl_Function_Type.cxx:1289
ExternalCodeEditor_WIN32.h
Fl_Widget_Type::write_code2
void write_code2()
Definition: Fl_Widget_Type.cxx:2411
uchar
unsigned char uchar
Definition: fl_types.h:30
Fl_Group_Type::_make
Fl_Widget_Type * _make()
Definition: Fl_Type.h:480
Fl_Menu.H
name
static const char * name
Definition: Fl_arg.cxx:53
Fl_Type::is_valuator
virtual int is_valuator() const
Definition: Fl_Type.cxx:750
Fl_Window_Type::modal
uchar modal
Definition: Fl_Type.h:614
NUM_EXTRA_CODE
#define NUM_EXTRA_CODE
Definition: Fl_Type.h:372
read_word
const char * read_word(int wantbrace=0)
Definition: file.cxx:230
Fluid_Image
Definition: Fluid_Image.h:29
Fl_Widget_Type::write_widget_code
void write_widget_code()
Definition: Fl_Widget_Type.cxx:2240
Fl_Menu_Item_Type::make
Fl_Type * make()
Definition: Fl_Menu_Type.cxx:101
write_h
void write_h(const char *,...)
Definition: code.cxx:272
Fl_Window_Type::x1
int x1
Definition: Fl_Type.h:591
igroup::igroup
igroup(int X, int Y, int W, int H)
Definition: Fl_Type.h:457
Fl_Widget_Type::hotspot_
uchar hotspot_
Definition: Fl_Type.h:384
Fl_Type::is_input
virtual int is_input() const
Definition: Fl_Type.cxx:753
Fl_Window_Type::write_code2
void write_code2()
Definition: Fl_Window_Type.cxx:1351
Fl_Group_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:489
Fl_Type::remove
Fl_Type * remove()
Definition: Fl_Type.cxx:650
Fl_Function_Type::cdecl_
char cdecl_
Definition: Fl_Type.h:167
Fl_Class_Type
Definition: Fl_Type.h:338
Fl_Function_Type::Fl_Function_Type
Fl_Function_Type()
Definition: Fl_Type.h:169
Fl_Function_Type
Definition: Fl_Type.h:165
write_word
void write_word(const char *)
Definition: file.cxx:58
Fl_Input_Choice
Definition: Fl_Input_Choice.H:95
Fl_Window_Type::bt
int bt
Definition: Fl_Type.h:592
Fl_Function_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:129
Fl_Code_Type::is_public
virtual int is_public() const
Definition: Fl_Type.cxx:767
Fl_Menu_Type::move_child
void move_child(Fl_Type *, Fl_Type *)
Definition: Fl_Type.h:730
Fl_Tabs_Type::pixmapID
int pixmapID()
Definition: Fl_Type.h:541
Fl_Function_Type::title
virtual const char * title()
Definition: Fl_Type.h:182
Fl_Type::header_position
int header_position
Definition: Fl_Type.h:76
Fl_Widget_Type::write_extra_code
void write_extra_code()
Definition: Fl_Widget_Type.cxx:2399
Fl_Tile_Type
Definition: Fl_Type.h:561
Fl_Menu_Item_Type::write_item
void write_item()
Definition: Fl_Menu_Type.cxx:282
Fl_Widget_Type::leave_live_mode
virtual void leave_live_mode()
Definition: Fl_Widget_Type.cxx:2808
const
#define const
Definition: zconf.h:226
Fl_Widget_Type::resizable
uchar resizable() const
Definition: Fl_Widget_Type.cxx:859
Fl_Group_Type::leave_live_mode
virtual void leave_live_mode()
Definition: Fl_Group_Type.cxx:378
Fl_Widget_Type::write_block_close
void write_block_close()
Definition: Fl_Widget_Type.cxx:2405
Fl_Comment_Type::make
Fl_Type * make()
Definition: Fl_Function_Type.cxx:1058
Fl_DeclBlock_Type::open
void open()
Definition: Fl_Function_Type.cxx:1004
Fl_Menu_Button_Type::ideal_size
virtual void ideal_size(int &w, int &h)
Definition: Fl_Type.h:743
Fl_Window_Type::write_code1
void write_code1()
Definition: Fl_Window_Type.cxx:1347
itabs
Definition: Fl_Type.h:460
Fl_Code_Type::editor_
ExternalCodeEditor editor_
Definition: Fl_Type.h:195
Fl_Commandline_Plugin
Definition: Fl_Type.h:895
Fl_Type::pixmapID
virtual int pixmapID()
Definition: Fl_Type.h:159