resources.h File Reference

#include "paintop.h"

Include dependency graph for resources.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Cmap
struct  fig_colors
struct  _appres
struct  pr_size
struct  RectRec
struct  MenuItemRec
struct  Menu
struct  paper_def
struct  _recent_file_struct

Defines

#define NUMSHADEPATS   21
#define NUMTINTPATS   20
#define NUMPATTERNS   22
#define NUMFILLPATS   NUMSHADEPATS+NUMTINTPATS+NUMPATTERNS
#define LETTER_WIDTH   10200
#define LETTER_HEIGHT   13200
#define A4_WIDTH   9921
#define A4_HEIGHT   14031
#define MIN_ZOOM   0.01
#define MAX_ZOOM   100
#define DEF_DEPTH   50
#define MIN_DEPTH   0
#define MAX_DEPTH   999
#define MIN_FONT_SIZE   1
#define MAX_FONT_SIZE   500
#define MIN_X_FONT_SIZE   5
#define MAX_X_FONT_SIZE   MAX_FONT_SIZE
#define MAX_LINE_WIDTH   500
#define MIN_POLY_SIDES   3
#define MAX_POLY_SIDES   200
#define MIN_TEXT_STEP   0
#define MAX_TEXT_STEP   100
#define MIN_BOX_RADIUS   2
#define MAX_BOX_RADIUS   1000
#define NUM_STD_COLS   32
#define MAX_USR_COLS   512
#define NUMPAPERSIZES   29
#define PAPER_LETTER   0
#define PAPER_A4   13
#define Color   int
#define DEF_MAX_IMAGE_COLS   64
#define MAX_RECENT_FILES   9
#define DEF_RECENT_FILES   5
#define MAX_COLORMAP_SIZE   MAX_USR_COLS
#define DEF_JPEG_QUALITY   75
#define DEF_EXPORT_MARGIN   0
#define IMAGE_PALETTE   0
#define IMAGE_RGB   1
#define MENU_IMAGESTRING   0x00
#define MENU_GRAPHIC   0x01
#define XFIG_ENV_GIF_EDITOR   getenv("XFIG_GIF_EDITOR")

Typedefs

typedef _appres appresStruct
typedef _appresappresPtr
typedef Menu MenuRec
typedef XImage * PIXRECT
typedef pr_size PR_SIZE
typedef RectRec RECT
typedef _recent_file_struct _recent_files

Variables

Pixmap fig_icon
char xfig_version []
XColor black_color
XColor white_color
char orig_dir [PATH_MAX+2]
Boolean update_figs
fig_colors colorNames [NUM_STD_COLS+1]
char * short_clrNames [NUM_STD_COLS+1]
Pixel colors [NUM_STD_COLS+MAX_USR_COLS]
XColor user_colors [MAX_USR_COLS]
XColor undel_user_color
XColor n_user_colors [MAX_USR_COLS]
XColor save_colors [MAX_USR_COLS]
int num_usr_cols
int n_num_usr_cols
int current_memory
Boolean colorUsed [MAX_USR_COLS]
Boolean colorFree [MAX_USR_COLS]
Boolean n_colorFree [MAX_USR_COLS]
Boolean all_colors_available
Pixel dark_gray_color
Pixel med_gray_color
Pixel lt_gray_color
Pixel pageborder_color
Pixel zero_lines_color
int max_depth
int min_depth
char tool_name [200]
int export_background_color
Boolean display_fractions
char * userhome
_pics * pictures
float scale_factor
int avail_image_cols
XColor image_cells [MAX_COLORMAP_SIZE]
appresStruct appres
float ZOOM_FACTOR
float PIC_FACTOR
Window main_canvas
Window canvas_win
Window msg_win
Window sideruler_win
Window topruler_win
Cursor cur_cursor
Cursor arrow_cursor
Cursor bull_cursor
Cursor buster_cursor
Cursor crosshair_cursor
Cursor null_cursor
Cursor text_cursor
Cursor pick15_cursor
Cursor pick9_cursor
Cursor panel_cursor
Cursor l_arrow_cursor
Cursor lr_arrow_cursor
Cursor r_arrow_cursor
Cursor u_arrow_cursor
Cursor ud_arrow_cursor
Cursor d_arrow_cursor
Cursor wait_cursor
Cursor magnify_cursor
Widget tool
XtAppContext tool_app
Widget canvas_sw
Widget ps_fontmenu
Widget latex_fontmenu
Widget msg_form
Widget msg_panel
Widget name_panel
Widget cmd_form
Widget mode_panel
Widget d_label
Widget e_label
Widget mousefun
Widget ind_panel
Widget ind_box
Widget upd_ctrl
Widget unitbox_sw
Widget sideruler_sw
Widget topruler_sw
Display * tool_d
Screen * tool_s
Window tool_w
Widget tool_form
int tool_sn
int tool_vclass
Visual * tool_v
int tool_dpth
int tool_cells
int image_bpp
int screen_wd
int screen_ht
Colormap tool_cm
Colormap newcmap
Boolean swapped_cmap
Atom wm_delete_window
int num_recent_files
int max_recent_files
int splash_onscreen
GC gc
GC button_gc
GC ind_button_gc
GC mouse_button_gc
GC fill_color_gc
GC pen_color_gc
GC blank_gc
GC ind_blank_gc
GC mouse_blank_gc
GC gccache [NUMOPS]
GC grid_gc
GC fillgc
GC fill_gc [NUMFILLPATS]
GC tr_gc
GC tr_xor_gc
GC tr_erase_gc
GC sr_gc
GC sr_xor_gc
GC sr_erase_gc
Color grid_color
Pixmap fill_pm [NUMFILLPATS]
Pixmap fill_but_pm [NUMPATTERNS]
float fill_pm_zoom [NUMFILLPATS]
float fill_but_pm_zoom [NUMFILLPATS]
XColor x_fg_color
XColor x_bg_color
unsigned long but_fg
unsigned long but_bg
unsigned long ind_but_fg
unsigned long ind_but_bg
unsigned long mouse_but_fg
unsigned long mouse_but_bg
char * TMPDIR
char * fig2dev_path
char fig2dev_cmd [PATH_MAX]
String text_translations
char * orient_items [2]
char * just_items [2]
paper_def paper_sizes [NUMPAPERSIZES]
char * multiple_pages [2]
char * overlap_pages [2]
char * offset_unit_items [3]
int RULER_WD
Boolean pic_obj_read
_recent_files recent_files []


Define Documentation

#define A4_HEIGHT   14031

Definition at line 32 of file resources.h.

#define A4_WIDTH   9921

Definition at line 31 of file resources.h.

#define Color   int

Definition at line 80 of file resources.h.

#define DEF_DEPTH   50

Definition at line 39 of file resources.h.

#define DEF_EXPORT_MARGIN   0

Definition at line 97 of file resources.h.

#define DEF_JPEG_QUALITY   75

Definition at line 94 of file resources.h.

#define DEF_MAX_IMAGE_COLS   64

Definition at line 84 of file resources.h.

#define DEF_RECENT_FILES   5

Definition at line 88 of file resources.h.

#define IMAGE_PALETTE   0

Definition at line 101 of file resources.h.

#define IMAGE_RGB   1

Definition at line 102 of file resources.h.

#define LETTER_HEIGHT   13200

Definition at line 30 of file resources.h.

#define LETTER_WIDTH   10200

Definition at line 29 of file resources.h.

#define MAX_BOX_RADIUS   1000

Definition at line 66 of file resources.h.

#define MAX_COLORMAP_SIZE   MAX_USR_COLS

Definition at line 91 of file resources.h.

#define MAX_DEPTH   999

Definition at line 41 of file resources.h.

#define MAX_FONT_SIZE   500

Definition at line 45 of file resources.h.

#define MAX_LINE_WIDTH   500

Definition at line 54 of file resources.h.

#define MAX_POLY_SIDES   200

Definition at line 58 of file resources.h.

#define MAX_RECENT_FILES   9

Definition at line 87 of file resources.h.

#define MAX_TEXT_STEP   100

Definition at line 62 of file resources.h.

#define MAX_USR_COLS   512

Definition at line 71 of file resources.h.

#define MAX_X_FONT_SIZE   MAX_FONT_SIZE

Definition at line 51 of file resources.h.

#define MAX_ZOOM   100

Definition at line 36 of file resources.h.

#define MENU_GRAPHIC   0x01

Definition at line 286 of file resources.h.

#define MENU_IMAGESTRING   0x00

Definition at line 285 of file resources.h.

#define MIN_BOX_RADIUS   2

Definition at line 65 of file resources.h.

#define MIN_DEPTH   0

Definition at line 40 of file resources.h.

#define MIN_FONT_SIZE   1

Definition at line 44 of file resources.h.

#define MIN_POLY_SIDES   3

Definition at line 57 of file resources.h.

#define MIN_TEXT_STEP   0

Definition at line 61 of file resources.h.

#define MIN_X_FONT_SIZE   5

Definition at line 50 of file resources.h.

#define MIN_ZOOM   0.01

Definition at line 35 of file resources.h.

#define NUM_STD_COLS   32

Definition at line 69 of file resources.h.

#define NUMFILLPATS   NUMSHADEPATS+NUMTINTPATS+NUMPATTERNS

Definition at line 26 of file resources.h.

#define NUMPAPERSIZES   29

Definition at line 74 of file resources.h.

#define NUMPATTERNS   22

Definition at line 25 of file resources.h.

#define NUMSHADEPATS   21

Definition at line 23 of file resources.h.

#define NUMTINTPATS   20

Definition at line 24 of file resources.h.

#define PAPER_A4   13

Definition at line 78 of file resources.h.

#define PAPER_LETTER   0

Definition at line 77 of file resources.h.

#define XFIG_ENV_GIF_EDITOR   getenv("XFIG_GIF_EDITOR")

Definition at line 389 of file resources.h.


Typedef Documentation

typedef struct _recent_file_struct _recent_files

typedef struct _appres * appresPtr

typedef struct _appres appresStruct

typedef struct Menu MenuRec

Definition at line 301 of file resources.h.

typedef XImage* PIXRECT

Definition at line 303 of file resources.h.

typedef pr_size PR_SIZE

Definition at line 304 of file resources.h.

typedef RectRec RECT

Definition at line 305 of file resources.h.


Variable Documentation

Boolean all_colors_available

appresStruct appres

Cursor arrow_cursor

int avail_image_cols

XColor black_color

GC blank_gc

Cursor bull_cursor

Cursor buster_cursor

unsigned long but_bg

unsigned long but_fg

GC button_gc

Widget canvas_sw

Window canvas_win

Widget cmd_form

Boolean colorFree[MAX_USR_COLS]

fig_colors colorNames[NUM_STD_COLS+1]

Pixel colors[NUM_STD_COLS+MAX_USR_COLS]

Referenced by get_segs_color_property(), HdcToBmpFile(), HwndToBmpFile(), and XmuCvtStringToColorCursor().

Boolean colorUsed[MAX_USR_COLS]

Cursor crosshair_cursor

Cursor cur_cursor

int current_memory

Cursor d_arrow_cursor

Widget d_label

Pixel dark_gray_color

Boolean display_fractions

Widget e_label

int export_background_color

char fig2dev_cmd[PATH_MAX]

char* fig2dev_path

Pixmap fig_icon

Pixmap fill_but_pm[NUMPATTERNS]

float fill_but_pm_zoom[NUMFILLPATS]

GC fill_color_gc

GC fill_gc[NUMFILLPATS]

Pixmap fill_pm[NUMFILLPATS]

float fill_pm_zoom[NUMFILLPATS]

GC fillgc

GC gc

Referenced by DisplayText(), PaintItemName(), Redisplay(), ScrnRefresh(), ShapeEllipseOrRoundedRectangle(), ShapeOval(), and XmuCreatePixmapFromBitmap().

GC gccache[NUMOPS]

Color grid_color

GC grid_gc

int image_bpp

XColor image_cells[MAX_COLORMAP_SIZE]

GC ind_blank_gc

Widget ind_box

unsigned long ind_but_bg

unsigned long ind_but_fg

GC ind_button_gc

Widget ind_panel

char* just_items[2]

Cursor l_arrow_cursor

Widget latex_fontmenu

Cursor lr_arrow_cursor

Pixel lt_gray_color

Cursor magnify_cursor

Window main_canvas

int max_depth

int max_recent_files

Pixel med_gray_color

int min_depth

Widget mode_panel

GC mouse_blank_gc

unsigned long mouse_but_bg

unsigned long mouse_but_fg

GC mouse_button_gc

Widget mousefun

Widget msg_form

Referenced by init_msg(), and update_cur_filename().

Widget msg_panel

Referenced by clear_message(), init_msg(), put_msg(), and update_cur_filename().

Window msg_win

char* multiple_pages[2]

Boolean n_colorFree[MAX_USR_COLS]

int n_num_usr_cols

XColor n_user_colors[MAX_USR_COLS]

Widget name_panel

Referenced by init_msg(), and update_cur_filename().

Colormap newcmap

Cursor null_cursor

int num_recent_files

int num_usr_cols

char* offset_unit_items[3]

char* orient_items[2]

char orig_dir[PATH_MAX+2]

char * overlap_pages[2]

Pixel pageborder_color

Cursor panel_cursor

struct paper_def paper_sizes[NUMPAPERSIZES]

GC pen_color_gc

float PIC_FACTOR

Boolean pic_obj_read

Cursor pick15_cursor

Cursor pick9_cursor

struct _pics* pictures

Widget ps_fontmenu

Cursor r_arrow_cursor

_recent_files recent_files[]

int RULER_WD

XColor save_colors[MAX_USR_COLS]

float scale_factor

int screen_ht

int screen_wd

char* short_clrNames[NUM_STD_COLS+1]

Widget sideruler_sw

Window sideruler_win

int splash_onscreen

GC sr_erase_gc

GC sr_gc

GC sr_xor_gc

Boolean swapped_cmap

Cursor text_cursor

String text_translations

Definition at line 44 of file wf_w_file.c.

char* TMPDIR

Widget tool

XtAppContext tool_app

int tool_cells

Colormap tool_cm

Display* tool_d

Definition at line 9 of file wf_w_init.c.

Referenced by init_wf_cursor(), reset_wf_cursor(), set_temp_wf_cursor(), set_wf_cursor(), and w_init().

int tool_dpth

Widget tool_form

char tool_name[200]

Screen* tool_s

Definition at line 10 of file wf_w_init.c.

Referenced by w_init().

int tool_sn

Definition at line 11 of file wf_w_init.c.

Referenced by w_init().

Visual* tool_v

int tool_vclass

Window tool_w

Widget topruler_sw

Window topruler_win

GC tr_erase_gc

GC tr_gc

GC tr_xor_gc

Cursor u_arrow_cursor

Cursor ud_arrow_cursor

XColor undel_user_color

Widget unitbox_sw

Widget upd_ctrl

Boolean update_figs

XColor user_colors[MAX_USR_COLS]

char* userhome

Cursor wait_cursor

XColor white_color

Atom wm_delete_window

Definition at line 75 of file wf_xcommand.c.

Referenced by popup_file_msg(), popup_file_panel(), popup_file_panel1(), SetWMProtocolTranslations(), and WMProtocols().

XColor x_bg_color

Referenced by CreatePopupWindow().

XColor x_fg_color

Referenced by CreatePopupWindow().

char xfig_version[]

Pixel zero_lines_color

float ZOOM_FACTOR


Generated on Sun Mar 4 15:27:32 2007 for Scilab [trunk] by  doxygen 1.5.1