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 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 <stdarg.h>
#include "ExternalCodeEditor_UNIX.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
 

Macros

#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 redraw_widget_browser (Fl_Type *)
 
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 *,...)
 
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 *,...)
 
int is_id (char)
 
const char * unique_id (void *o, const char *, const char *, const char *)
 
void write_c (const char *,...)
 
void vwrite_c (const char *format, va_list args)
 
void write_h (const char *,...)
 
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
 

Macro Definition Documentation

◆ __fl_attr

#define __fl_attr (   x)

Definition at line 852 of file Fl_Type.h.

◆ NUM_EXTRA_CODE

#define NUM_EXTRA_CODE   4

Definition at line 372 of file Fl_Type.h.

Function Documentation

◆ c_check()

◆ delete_all()

void delete_all ( int  selected_only = 0)

◆ has_toplevel_function()

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 989 of file Fl_Type.cxx.

References Fl_Type::first, 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().

◆ indent()

◆ is_id()

int is_id ( char  )

◆ make_widget_browser()

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

Definition at line 228 of file Fl_Type.cxx.

References Fl_Type::Widget_Browser, widget_browser, x, and y.

Referenced by make_main_window().

◆ read_error()

void read_error ( const char *  format,
  ... 
)

◆ read_file()

◆ read_word()

◆ redraw_widget_browser()

void redraw_widget_browser ( Fl_Type )

Definition at line 232 of file Fl_Type.cxx.

References Fl_Browser_::display(), Fl_Widget::redraw(), and widget_browser.

◆ reveal_in_browser()

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 1082 of file Fl_Type.cxx.

References Fl_Browser_::display(), fixvisible(), p, Fl_Type::parent, redraw_browser(), and widget_browser.

Referenced by Fl_Window_Type::handle().

◆ selection_changed()

◆ set_modflag()

void set_modflag ( int  mf)

Definition at line 1687 of file fluid.cxx.

References Fl_Menu_Item::activate(), Fl::add_timeout(), Fl_Menu_Item::deactivate(), filename, FL_PATH_MAX, Fl_Window::label(), main_window, modflag, NULL, Fl::remove_timeout(), save_item, snprintf, sourceview_panel, sv_autorefresh, title, 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(), cb(), Fl_Tabs_Type::click_test(), code_input_cb(), color2_cb(), color_cb(), comment_cb(), cut_cb(), delete_cb(), down_box_cb(), earlier_cb(), external_editor_timer(), 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_Function_Type::open(), Fl_Decl_Type::open(), Fl_Data_Type::open(), Fl_DeclBlock_Type::open(), Fl_Comment_Type::open(), Fl_Class_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().

◆ storestring()

◆ unique_id()

const char* unique_id ( void *  o,
const char *  ,
const char *  ,
const char *   
)

◆ vwrite_c()

void vwrite_c ( const char *  format,
va_list  args 
)

Definition at line 257 of file code.cxx.

References code_file, varused, and varused_test.

Referenced by write_c(), and Fluid_Image::write_initializer().

◆ write_c()

◆ write_cdata()

void write_cdata ( const char *  ,
int  length 
)

Definition at line 225 of file code.cxx.

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

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

◆ write_close()

void write_close ( int  n)

Definition at line 117 of file file.cxx.

References fout, needspace, and write_indent().

Referenced by Fl_Type::write().

◆ write_code()

◆ write_cstring() [1/2]

void write_cstring ( const char *  )

Definition at line 222 of file code.cxx.

References write_cstring().

◆ write_cstring() [2/2]

◆ write_declare()

int write_declare ( const char *  ,
  ... 
)

◆ write_file()

◆ write_h()

◆ write_indent()

void write_indent ( int  n)

Definition at line 103 of file file.cxx.

References fout, and needspace.

Referenced by Fl_Type::write(), write_close(), Fl_Type::write_properties(), and Fl_Widget_Type::write_properties().

◆ write_open()

void write_open ( int  )

Definition at line 110 of file file.cxx.

References fout, and needspace.

Referenced by Fl_Type::write().

◆ write_public()

◆ write_string()

◆ write_strings()

int write_strings ( const char *  sfile)

◆ write_word()

Variable Documentation

◆ button_type_menu

Fl_Menu_Item button_type_menu[]

Definition at line 513 of file Fl_Menu_Type.cxx.

Referenced by Fl_Menu_Button_Type::subtypes().

◆ dummymenu

Fl_Menu_Item dummymenu[]

Definition at line 528 of file Fl_Menu_Type.cxx.

Referenced by Fl_Choice_Type::widget(), and Fl_Input_Choice_Type::widget().

◆ include_H_from_C

int include_H_from_C

◆ indentation

◆ menu_item_type_menu

Fl_Menu_Item menu_item_type_menu[]

Definition at line 37 of file Fl_Menu_Type.cxx.

Referenced by Fl_Menu_Item_Type::subtypes().

◆ modflag

◆ pack_type_menu

Fl_Menu_Item pack_type_menu[]

Definition at line 131 of file Fl_Group_Type.cxx.

Referenced by Fl_Pack_Type::subtypes().

◆ pack_type_name

const char pack_type_name[]

Definition at line 129 of file Fl_Group_Type.cxx.

Referenced by Fl_Pack_Type::type_name().

◆ scroll_type_menu

Fl_Menu_Item scroll_type_menu[]

Definition at line 411 of file Fl_Group_Type.cxx.

Referenced by Fl_Scroll_Type::subtypes().

◆ scroll_type_name

const char scroll_type_name[]

Definition at line 393 of file Fl_Group_Type.cxx.

Referenced by Fl_Scroll_Type::type_name().

◆ table_type_name

const char table_type_name[]

Definition at line 216 of file Fl_Group_Type.cxx.

Referenced by Fl_Table_Type::type_name().

◆ tabs_type_name

const char tabs_type_name[]

Definition at line 227 of file Fl_Group_Type.cxx.

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

◆ tile_type_name

const char tile_type_name[]

Definition at line 433 of file Fl_Group_Type.cxx.

Referenced by Fl_Tile_Type::type_name().

◆ use_FL_COMMAND

◆ window_type_menu

Fl_Menu_Item window_type_menu[]

Definition at line 271 of file Fl_Window_Type.cxx.

Referenced by Fl_Window_Type::subtypes().

◆ wizard_type_name

const char wizard_type_name[]

Definition at line 258 of file Fl_Group_Type.cxx.

Referenced by Fl_Wizard_Type::type_name().

◆ write_number

◆ write_sourceview

int write_sourceview

Definition at line 282 of file code.cxx.

Referenced by update_sourceview_cb(), write_cdata(), write_code(), and Fl_Data_Type::write_code1().