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

Fl_Type.h File Reference

#include <FL/Fl_Widget.H>
#include <FL/Fl_Menu.H>
#include <FL/Fl_Plugin.H>
#include "Fluid_Image.h"
#include <FL/fl_draw.H>
#include <FL/Fl_Tabs.H>
#include <FL/Fl_Pack.H>
#include <FL/Fl_Wizard.H>
#include <FL/Fl_Menu_.H>
#include <FL/Fl_Menu_Button.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Input_Choice.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Menu_Bar.H>
Include dependency graph for Fl_Type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Fl_Type
class  Fl_Function_Type
class  Fl_Code_Type
class  Fl_CodeBlock_Type
class  Fl_Decl_Type
class  Fl_Data_Type
class  Fl_DeclBlock_Type
class  Fl_Comment_Type
class  Fl_Class_Type
class  Fl_Widget_Type
class  igroup
class  itabs
class  iwizard
class  Fl_Group_Type
class  Fl_Pack_Type
class  Fl_Table_Type
class  Fl_Tabs_Type
class  Fl_Scroll_Type
class  Fl_Tile_Type
class  Fl_Wizard_Type
class  Fl_Window_Type
class  Fl_Widget_Class_Type
class  Fl_Menu_Item_Type
class  Fl_Submenu_Type
class  Fl_Menu_Type
class  Fl_Menu_Button_Type
class  Fl_Choice_Type
class  Fl_Input_Choice_Type
class  Fl_Menu_Bar_Type
class  Fl_Commandline_Plugin

Defines

#define NUM_EXTRA_CODE   4
#define __fl_attr(x)

Functions

void set_modflag (int mf)
Fl_Widgetmake_widget_browser (int X, int Y, int W, int H)
void delete_all (int selected_only=0)
void selection_changed (Fl_Type *new_current)
void reveal_in_browser (Fl_Type *)
int has_toplevel_function (const char *rtype, const char *sig)
void write_word (const char *)
void write_string (const char *,...) __fl_attr((__format__(__printf__
void int write_file (const char *, int selected_only=0)
int write_code (const char *cfile, const char *hfile)
int write_strings (const char *sfile)
int write_declare (const char *,...) __fl_attr((__format__(__printf__
int int is_id (char)
const char * unique_id (void *o, const char *, const char *, const char *)
void write_c (const char *,...) __fl_attr((__format__(__printf__
void void write_h (const char *,...) __fl_attr((__format__(__printf__
void void void write_cstring (const char *)
void write_cstring (const char *, int length)
void write_cdata (const char *, int length)
void write_indent (int n)
void write_open (int)
void write_close (int n)
void write_public (int state)
const char * indent ()
int read_file (const char *, int merge)
const char * read_word (int wantbrace=0)
void read_error (const char *format,...)
const char * c_check (const char *c, int type=0)
int storestring (const char *n, const char *&p, int nostrip=0)

Variables

const char pack_type_name []
Fl_Menu_Item pack_type_menu []
const char table_type_name []
const char tabs_type_name []
const char scroll_type_name []
Fl_Menu_Item scroll_type_menu []
const char tile_type_name []
const char wizard_type_name []
Fl_Menu_Item window_type_menu []
Fl_Menu_Item menu_item_type_menu []
Fl_Menu_Item button_type_menu []
Fl_Menu_Item dummymenu []
int modflag
int write_number
int write_sourceview
int indentation
int include_H_from_C
int use_FL_COMMAND

Define Documentation

#define __fl_attr (   x)

Definition at line 810 of file Fl_Type.h.


Function Documentation

void delete_all ( int  selected_only = 0)
int has_toplevel_function ( const char *  rtype,
const char *  sig 
)

Return 1 if the list contains a function with the given signature at the top level

Definition at line 912 of file Fl_Type.cxx.

References Fl_Function_Type::has_signature(), Fl_Type::is_in_class(), Fl_Type::next, and Fl_Type::type_name().

Referenced by Fl_Widget_Type::write_static().

int int is_id ( char  )
Fl_Widget* make_widget_browser ( int  X,
int  Y,
int  W,
int  H 
)

Definition at line 200 of file Fl_Type.cxx.

References Fl_Type::Widget_Browser.

Referenced by make_main_window().

void read_error ( const char *  format,
  ... 
)
void reveal_in_browser ( Fl_Type t)

Make sure that the given item is visible in the browser by opening all parent groups and moving the item into the visible space.

Definition at line 974 of file Fl_Type.cxx.

References Fl_Browser_::display(), Fl_Type::open_, Fl_Type::parent, and redraw_browser().

Referenced by Fl_Window_Type::handle().

void set_modflag ( int  mf)

Definition at line 2213 of file fluid.cxx.

References Fl_Menu_Item::activate(), Fl::add_timeout(), Fl_Menu_Item::deactivate(), FL_PATH_MAX, Fl_Window::label(), modflag, NULL, Fl::remove_timeout(), snprintf, sourceview_panel, sv_autorefresh, update_sourceview_timer(), Fl_Button::value(), and Fl_Widget::visible().

Referenced by active_cb(), Fl_Type::add(), align_cb(), align_position_cb(), align_text_image_cb(), align_widget_cb(), border_cb(), box_cb(), callback_cb(), Fl_Tabs_Type::click_test(), code_input_cb(), color2_cb(), color_cb(), cut_cb(), delete_cb(), down_box_cb(), earlier_cb(), h_cb(), header_input_cb(), hotspot_cb(), i18n_int_cb(), i18n_text_cb(), i18n_type_cb(), image_browse_cb(), image_cb(), inactive_browse_cb(), inactive_cb(), include_H_from_C_button_cb(), label_cb(), labelcolor_cb(), labelfont_cb(), labelsize_cb(), labeltype_cb(), later_cb(), main(), max_cb(), max_h_cb(), max_w_cb(), min_cb(), min_h_cb(), min_w_cb(), modal_cb(), Fl_Window_Type::moveallchildren(), name_public_cb(), name_public_member_cb(), new_cb(), non_modal_cb(), Fl_Class_Type::open(), Fl_Comment_Type::open(), Fl_DeclBlock_Type::open(), Fl_Data_Type::open(), Fl_Decl_Type::open(), Fl_Function_Type::open(), open_cb(), open_history_cb(), redo_cb(), resizable_cb(), Overlay_Window::resize(), revert_cb(), save_cb(), set_filename(), set_max_size_cb(), set_min_size_cb(), shortcut_in_cb(), slider_size_cb(), step_cb(), storestring(), subclass_cb(), subtype_cb(), textcolor_cb(), textfont_cb(), textsize_cb(), tooltip_cb(), type_make_cb(), undo_cb(), use_FL_COMMAND_button_cb(), user_data_cb(), user_data_type_cb(), v_input_cb(), value_cb(), visible_cb(), w_cb(), wc_relative_cb(), when_button_cb(), when_cb(), widget_size_cb(), x_cb(), xclass_cb(), and y_cb().

const char* unique_id ( void *  o,
const char *  ,
const char *  ,
const char *   
)
void write_c ( const char *  ,
  ... 
)
void write_cdata ( const char *  ,
int  length 
)

Definition at line 233 of file code.cxx.

References length, varused, varused_test, w, and write_sourceview.

Referenced by Fl_Data_Type::write_code1(), and Fluid_Image::write_static().

void write_close ( int  n)

Definition at line 122 of file file.cxx.

References write_indent().

Referenced by Fl_Type::write().

void void void write_cstring ( const char *  )

Definition at line 230 of file code.cxx.

References write_cstring().

int write_declare ( const char *  ,
  ... 
)
void int write_file ( const char *  ,
int  selected_only = 0 
)
void void write_h ( const char *  ,
  ... 
)
void write_indent ( int  n)
void write_open ( int  )

Definition at line 115 of file file.cxx.

Referenced by Fl_Type::write().

void write_string ( const char *  ,
  ... 
)
int write_strings ( const char *  sfile)

Variable Documentation

Definition at line 510 of file Fl_Menu_Type.cxx.

Definition at line 525 of file Fl_Menu_Type.cxx.

Definition at line 141 of file Fl_Group_Type.cxx.

const char pack_type_name[]

Definition at line 139 of file Fl_Group_Type.cxx.

Referenced by Fl_Pack_Type::type_name().

Definition at line 419 of file Fl_Group_Type.cxx.

const char scroll_type_name[]

Definition at line 401 of file Fl_Group_Type.cxx.

Referenced by Fl_Scroll_Type::type_name().

const char table_type_name[]

Definition at line 224 of file Fl_Group_Type.cxx.

Referenced by Fl_Table_Type::type_name().

const char tabs_type_name[]

Definition at line 235 of file Fl_Group_Type.cxx.

Referenced by color_cb(), and Fl_Tabs_Type::type_name().

const char tile_type_name[]

Definition at line 441 of file Fl_Group_Type.cxx.

Referenced by Fl_Tile_Type::type_name().

Definition at line 280 of file Fl_Window_Type.cxx.

Referenced by Fl_Window_Type::subtypes().

const char wizard_type_name[]

Definition at line 266 of file Fl_Group_Type.cxx.

Referenced by Fl_Wizard_Type::type_name().