summaryrefslogtreecommitdiff
path: root/Bitmap.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commit3e9f89c7239ae0cf1599277cc879a03cdf33b7c8 (patch)
tree602d4a70b9731fe873a020e8adcdd0b7923a805c /Bitmap.h
parent0bd1f9d8ccaf46397745779f5964f3b843186896 (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'Bitmap.h')
-rw-r--r--Bitmap.h178
1 files changed, 94 insertions, 84 deletions
diff --git a/Bitmap.h b/Bitmap.h
index 135ce95..a525089 100644
--- a/Bitmap.h
+++ b/Bitmap.h
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/bitmap/Bitmap.h,v 1.5 2001/12/14 20:00:40 dawes Exp $ */
/*
* Author: Davor Matic, MIT X Consortium
@@ -71,7 +72,7 @@ from The Open Group.
dashed Dashed Boolean True
dashes Dashes Bitmap XtUnspecifiedPixmap
stippled Stippled Boolean True
- stipple Sripple Bitmap XtUnspecifiedPixmap
+ stipple Stipple Bitmap XtUnspecifiedPixmap
proportional Proportional Boolean True
axes Axes Boolean True
button1Function Button1Function ButtonFunction Set
@@ -177,89 +178,6 @@ from The Open Group.
/* bitmap exports */
-extern Boolean BWEngageRequest();
-extern Boolean BWTreminateRequest();
-
-extern void BWClearAll();
-extern void BWSetAll();
-extern void BWInvertAll();
-extern void BWUp();
-extern void BWDown();
-extern void BWLeft();
-extern void BWRight();
-extern void BWRotateRight();
-extern void BWRotateLeft();
-extern void BWSwitchGrid();
-extern void BWGrid();
-extern void BWSwitchDashed();
-extern void BWDashed();
-extern void BWSwitchAxes();
-extern void BWAxes();
-extern void BWDrawSquare();
-extern void BWDrawLine();
-extern void BWDrawRectangle();
-extern void BWDrawFilledRectangle();
-extern void BWDrawCircle();
-extern void BWDrawFilledCircle();
-extern void BWFloodFill();
-extern void BWMark();
-extern void BWMarkAll();
-extern void BWUnmark();
-extern void BWSelect();
-extern void BWUnmark();
-extern void BWStore();
-extern void BWStoreToBuffer();
-extern void BWUndo();
-extern void BWResize();
-extern void BWClip();
-extern void BWUnclip();
-extern void BWGrabSelection();
-extern void BWRequestSelection();
-extern void BWSetChanged();
-extern Boolean BWQueryChanged();
-extern int BWReadFile();
-extern int BWWriteFile();
-extern String BWUnparseStatus();
-extern String BWGetFilename();
-extern String BWGetBasename();
-extern void BWChangeBasename();
-extern void BWRemoveAllRequests();
-extern void BWClearHotSpot();
-extern Boolean BWQueryMarked();
-extern void BWFold();
-extern void BWClear();
-extern void BWSet();
-extern void BWInvert();
-extern void BWFlipHoriz();
-extern void BWFlipVert();
-extern void BWClearMarked();
-extern Boolean BWAddRequest();
-extern void BWChangeNotify();
-extern Pixmap BWGetUnzoomedPixmap();
-extern void BWClearChanged();
-extern Boolean BWQueryStored();
-extern Boolean BWQueryStippled();
-extern void BWSwitchStippled();
-extern void BWRedrawMark();
-extern Boolean BWQueryAxes();
-extern void BWHighlightAxes();
-extern void BWChangedFilename();
-extern String BWGetFilepath();
-extern void BWZoomOut();
-extern void BWZoomMarked();
-extern void BWRescale();
-extern Boolean BWQueryZooming();
-extern void BWRedrawGrid();
-extern void BWRedrawSquares();
-extern void BWRedrawHotSpot();
-extern Boolean BWQueryGrid();
-extern Boolean BWQueryDashed();
-extern Boolean BWQueryProportional();
-extern void BWSwitchProportional();
-extern void BWDrawGrid();
-extern void BWChangeFilename();
-extern Boolean BWParseSize();
-
typedef struct _BWRequestRec BWRequestRec;
typedef char *BWRequest;
@@ -271,6 +189,98 @@ typedef struct _BitmapRec *BitmapWidget;
extern WidgetClass bitmapWidgetClass;
+extern Boolean BWEngageRequest(Widget w, BWRequest name, Boolean trap,
+ XtPointer call_data, Cardinal call_data_size);
+extern Boolean BWTerminateRequest(Widget w, Boolean cont);
+
+extern void BWUp ( Widget w );
+extern void BWDown ( Widget w );
+extern void BWLeft ( Widget w );
+extern void BWRight ( Widget w );
+extern void BWRotateRight ( Widget w );
+extern void BWRotateLeft ( Widget w );
+extern void BWSwitchGrid ( Widget w );
+extern void BWGrid ( Widget w, Boolean _switch );
+extern void BWSwitchDashed ( Widget w );
+extern void BWDashed ( Widget w, Boolean _switch );
+extern void BWSwitchAxes ( Widget w );
+extern void BWAxes ( Widget w, Boolean _switch );
+extern void BWRedrawAxes( Widget w );
+extern void BWDrawLine ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y, int value );
+extern void BWDrawRectangle ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y, int value );
+extern void BWDrawFilledRectangle ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y, int value );
+extern void BWDrawCircle ( Widget w, Position origin_x, Position origin_y, Position point_x, Position point_y, int value );
+extern void BWDrawFilledCircle ( Widget w, Position origin_x, Position origin_y, Position point_x, Position point_y, int value );
+extern void BWFloodFill ( Widget w, Position x, Position y, int value );
+extern void BWMark ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y );
+extern void BWMarkAll ( Widget w );
+extern void BWUnmark ( Widget w );
+extern void BWSelect ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y, Time btime );
+extern void BWStore ( Widget w );
+extern void BWStoreToBuffer ( Widget w );
+extern void BWUndo ( Widget w );
+extern void BWResize ( Widget w, Dimension width, Dimension height );
+extern void BWClip ( Widget w, Position x, Position y, Dimension width, Dimension height );
+extern void BWUnclip ( Widget w );
+extern void BWGrabSelection ( Widget w, Time btime );
+extern void BWRequestSelection ( Widget w, Time btime, Boolean wait );
+extern void BWSetChanged ( Widget w );
+extern Boolean BWQueryChanged ( Widget w );
+extern int BWReadFile ( Widget w, String filename, String basename );
+extern int BWWriteFile ( Widget w, String filename, String basename );
+extern String BWUnparseStatus ( Widget w );
+extern String BWGetFilename ( Widget w, String *str );
+extern String BWGetBasename ( Widget w, String *str );
+extern void BWChangeBasename ( Widget w, String str );
+extern void BWRemoveAllRequests ( Widget w );
+extern void BWClearHotSpot ( Widget w );
+extern Boolean BWQueryMarked ( Widget w );
+extern void BWFold ( Widget w );
+extern void BWClear ( Widget w );
+extern void BWSet ( Widget w );
+extern void BWInvert ( Widget w );
+extern void BWFlipHoriz ( Widget w );
+extern void BWFlipVert ( Widget w );
+extern void BWClearMarked ( Widget w );
+extern Boolean BWAddRequest ( Widget w, BWRequest name, Boolean trap, XtPointer call_data, Cardinal call_data_size );
+extern void BWChangeNotify ( Widget w );
+extern Pixmap BWGetUnzoomedPixmap ( Widget w );
+extern void BWClearChanged ( Widget w );
+extern Boolean BWQueryStored ( Widget w );
+extern Boolean BWQueryStippled ( Widget w );
+extern void BWSwitchStippled ( Widget w );
+extern void BWRedrawMark ( Widget w );
+extern Boolean BWQueryAxes ( Widget w );
+extern void BWHighlightAxes ( Widget w );
+extern String BWGetFilepath ( Widget w, String *str );
+extern void BWZoomOut ( Widget w );
+extern void BWZoomMarked ( Widget w );
+extern void BWRescale ( Widget w, Dimension width, Dimension height );
+extern Boolean BWQueryZooming ( Widget w );
+extern void BWRedrawGrid ( Widget w, Position x, Position y, Dimension width, Dimension height );
+extern void BWRedrawSquares ( Widget w, Position x, Position y, Dimension width, Dimension height );
+extern void BWRedrawHotSpot ( Widget w );
+extern void BWSetHotSpot(Widget w, Position x, Position y);
+extern Boolean BWQueryGrid ( Widget w );
+extern Boolean BWQueryDashed ( Widget w );
+extern Boolean BWQueryProportional ( Widget w );
+extern void BWSwitchProportional ( Widget w );
+extern void BWDrawGrid ( Widget w, Position from_x, Position from_y, Position to_x, Position to_y );
+extern void BWChangeFilename ( Widget w, String str );
+extern Boolean BWParseSize ( String size, Dimension *width, Dimension *height );
+extern Boolean BWQuerySelection ( Widget w, Time btime );
+extern int BWStoreFile ( Widget w, String filename, String *basename );
+extern void BWNotify ( Widget w, XtActionProc proc );
+extern void BWTMark ( Widget w, XEvent *event, String *params, Cardinal *num_params );
+extern void BWTMarkAll ( Widget w, XEvent *event, String *params, Cardinal *num_params );
+extern void BWTUnmark ( Widget w, XEvent *event, String *params, Cardinal *num_params );
+extern void BWTPaste ( Widget w, XEvent *event, String *params, Cardinal *num_params );
+extern void BWDebug ( Widget w, XEvent *event, String *params, Cardinal *num_params );
+extern void BWAbort ( Widget w );
+extern Boolean BWRemoveRequest ( Widget w );
+extern void BWRedraw ( Widget w );
+extern Pixmap BWGetPixmap( Widget w );
+
#endif /* _Bitmap_h */