diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:13 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:13 +0000 |
commit | c059776a3a8a7c760799d1a55c1a130c2179ecc9 (patch) | |
tree | 82ffbfb4d920bed078bcd77ebea90f0f2c7ff26e /xgc.h | |
parent | e3dfd7a6398174ae8db6a1c0d5e5590d1dabcf31 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'xgc.h')
-rw-r--r-- | xgc.h | 106 |
1 files changed, 105 insertions, 1 deletions
@@ -3,7 +3,7 @@ ** ** xgc.h */ -/* $XFree86: xc/programs/xgc/xgc.h,v 1.3 2000/02/17 14:00:38 dawes Exp $ */ +/* $XFree86: xc/programs/xgc/xgc.h,v 1.6 2003/09/13 21:33:11 dawes Exp $ */ #include "constants.h" @@ -61,4 +61,108 @@ typedef struct { WidgetList widgets; } ChoiceDesc; +#ifndef HAS_SNPRINTF +#include <X11/Xmu/SysUtil.h> +#define snprintf XmuSnprintf +#endif + +/************/ + +extern XStuff X; +extern Widget topform; +extern XtAppContext appcontext; + +extern XgcStuff TestStuff; +extern XgcStuff FunctionStuff; +extern XgcStuff LinestyleStuff; +extern XgcStuff CapstyleStuff; +extern XgcStuff JoinstyleStuff; +extern XgcStuff FillstyleStuff; +extern XgcStuff FillruleStuff; +extern XgcStuff ArcmodeStuff; + +extern ChoiceDesc *GCdescs[]; +extern ChoiceDesc *testchoicedesc; +extern Widget test; +extern Widget GCform; +extern Widget foregroundtext; +extern Widget backgroundtext; +extern Widget linewidthtext; +extern Widget fonttext; +extern Widget dashlistchoice; +extern Widget planemaskchoice; +extern Widget testchoiceform; + +extern Widget result; + +extern Boolean recording; +extern Widget filename_text_widget, recordbutton; + +extern int fildes[2]; +extern FILE *outend; +extern FILE *yyin; + /************/ + +extern void change_percent(int, Boolean); +extern void change_test(int, Boolean); +extern void change_text(Widget, String); +extern void choose_defaults(ChoiceDesc *[], int); +extern void circle_line_test(int, int); +extern void close_file_if_recording(void); +extern void copyarea_test(void); +extern void copyplane_test(void); +extern ChoiceDesc * create_choice(Widget, XgcStuff *); +extern void create_dashlist_choice(Widget); +extern void create_planemask_choice(Widget); +extern void create_testfrac_choice(Widget); +extern Widget create_text_choice(Widget, int, int, int); +extern void fillpolygon_test(void); +extern void GC_change_arcmode(int, Boolean); +extern void GC_change_background(unsigned long, Boolean); +extern void GC_change_capstyle(int, Boolean); +extern void GC_change_dashlist(int, Boolean); +extern void GC_change_fillrule(int, Boolean); +extern void GC_change_fillstyle(int, Boolean); +extern void GC_change_font(char *, Boolean); +extern void GC_change_foreground(unsigned long, Boolean); +extern void GC_change_function(int, Boolean); +extern void GC_change_joinstyle(int, Boolean); +extern void GC_change_linestyle(int, Boolean); +extern void GC_change_linewidth(int, Boolean); +extern void GC_change_planemask(unsigned long, Boolean); +extern void genericarc_test(Boolean); +extern void genericrectangle_test(Boolean); +extern void get_filename(void (*)(void), void (*)(void)); +extern void imagetext16_test(void); +extern void imagetext8_test(void); +extern void interpret(const char *); +extern void line_up_labels(ChoiceDesc *[], int); +extern void polyarc_test(void); +extern void polyfillarc_test(void); +extern void polyfillrectangle_test(void); +extern void polyline_test(void); +extern void polypoint_test(void); +extern void polyrectangle_test(void); +extern void polysegment_test(void); +extern void polytext16_test(void); +extern void polytext8_test(void); +extern void print_if_recording(const char *); +extern void putimage_test(void); +extern void read_from_keyboard(void); +extern void run_test(void); +extern void select_button(ChoiceDesc *, int); +extern void set_text(Widget, char *); +extern void show_result(char *); +extern void start_playback(void); +extern void toggle_recordbutton(Widget, caddr_t, caddr_t); +extern void update_dashlist(int); +extern void update_planemask(long); +extern void update_slider(int); +extern void yyerror(const char *); +extern int yylex(void); +extern int yyparse(void); +extern void yyrestart(FILE *); +extern int yywrap(void); + + |