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)  

code.cxx File Reference
#include <stdio.h>
#include <stdlib.h>
#include "../src/flstring.h"
#include <stdarg.h>
#include <FL/Fl.H>
#include "Fl_Type.h"
#include "alignment_panel.h"
#include <FL/filename.H>
Include dependency graph for code.cxx:

Go to the source code of this file.

Classes

struct  id
 
struct  included
 

Functions

int is_id (char c)
 
const char * unique_id (void *o, const char *type, const char *name, const char *label)
 
const char * indent ()
 
int write_declare (const char *format,...)
 
void write_cstring (const char *s, int length)
 
void write_cstring (const char *s)
 
void write_cdata (const char *s, int length)
 
void vwrite_c (const char *format, va_list args)
 
void write_c (const char *format,...)
 
void write_h (const char *format,...)
 
static Fl_Typewrite_code (Fl_Type *p)
 
int write_code (const char *s, const char *t)
 
int write_strings (const char *sfile)
 

Variables

static FILE * code_file
 
static FILE * header_file
 
char i18n_program []
 
int i18n_type
 
const char * i18n_include
 
const char * i18n_function
 
const char * i18n_file
 
const char * i18n_set
 
static idid_root
 
static const char * spaces = " "
 
int indentation
 
static includedincluded_root
 
int varused_test
 
int varused
 
int write_number
 
int write_sourceview
 
Fl_Widget_Class_Typecurrent_widget_class
 
const char * header_file_name
 
Fl_Class_Typecurrent_class
 

Function Documentation

◆ indent()

◆ is_id()

int is_id ( char  c)

◆ unique_id()

const char* unique_id ( void *  o,
const char *  type,
const char *  name,
const char *  label 
)

◆ 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 *  s,
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_code() [1/2]

◆ write_code() [2/2]

◆ write_cstring() [1/2]

void write_cstring ( const char *  s)

Definition at line 222 of file code.cxx.

References write_cstring().

◆ write_cstring() [2/2]

◆ write_declare()

int write_declare ( const char *  format,
  ... 
)

◆ write_h()

◆ write_strings()

int write_strings ( const char *  sfile)

Variable Documentation

◆ code_file

FILE* code_file
static

Definition at line 28 of file code.cxx.

Referenced by vwrite_c(), write_cdata(), write_code(), and write_cstring().

◆ current_class

◆ current_widget_class

Fl_Widget_Class_Type* current_widget_class

Definition at line 1435 of file Fl_Window_Type.cxx.

Referenced by write_code().

◆ header_file

FILE* header_file
static

Definition at line 29 of file code.cxx.

Referenced by write_code(), write_declare(), and write_h().

◆ header_file_name

const char* header_file_name

Definition at line 700 of file fluid.cxx.

Referenced by write_code().

◆ i18n_file

const char* i18n_file

Definition at line 705 of file fluid.cxx.

Referenced by write_code().

◆ i18n_function

const char* i18n_function

Definition at line 704 of file fluid.cxx.

◆ i18n_include

const char* i18n_include

Definition at line 703 of file fluid.cxx.

Referenced by write_code().

◆ i18n_program

char i18n_program[]

Definition at line 707 of file fluid.cxx.

Referenced by write_code().

◆ i18n_set

const char* i18n_set

Definition at line 706 of file fluid.cxx.

Referenced by write_strings().

◆ i18n_type

int i18n_type

Definition at line 702 of file fluid.cxx.

Referenced by write_code(), and write_strings().

◆ id_root

id* id_root
static

Definition at line 61 of file code.cxx.

Referenced by unique_id(), and write_code().

◆ included_root

included* included_root
static

Definition at line 125 of file code.cxx.

Referenced by write_code(), and write_declare().

◆ indentation

◆ spaces

const char* spaces = " "
static

Definition at line 97 of file code.cxx.

Referenced by indent().

◆ varused

int varused

Definition at line 151 of file code.cxx.

Referenced by vwrite_c(), write_cdata(), Fl_Widget_Type::write_code1(), and write_cstring().

◆ varused_test

int varused_test

Definition at line 150 of file code.cxx.

Referenced by vwrite_c(), write_cdata(), Fl_Widget_Type::write_code1(), write_cstring(), and write_h().

◆ 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().