diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:11 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:11 +0000 |
commit | b01f39a8e6eadd35758fe4301e019b66f238917d (patch) | |
tree | 82ffbfb4d920bed078bcd77ebea90f0f2c7ff26e /xgc.h | |
parent | 82a6e01af6c39e22855495b912c23efddfb17224 (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branchXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASEXINERAMA_2XEVIE
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); + + |