R6.6 is the Xorg base-line

parents
This diff is collapsed.
! $Xorg: Bitmap-co.ad,v 1.3 2000/08/17 19:53:49 cpqbld Exp $
! The App-defaults file for Bitmap on a color screen.
#include "Bitmap"
*background: medium blue
*foreground: cyan
*borderColor: plum
*frame: deep sky blue
*highlight: magenta
*Command.background: purple
*Toggle.background: purple
*MenuButton.background: purple
*Command.foreground: white
*Toggle.foreground: white
*MenuButton.foreground: white
*status.foreground: green
*Dialog.icon.foreground: pale green
*bitmap.stippled: off
! $Xorg: Bitmap.ad,v 1.3 2000/08/17 19:53:49 cpqbld Exp $
! The App-defaults file for Bitmap.
*TransientShell.allowShellResize: True
*shapeStyle: oval
*cursor: left_ptr
*pane.orientation: horizontal
*Form*top: ChainTop
*Form*bottom: ChainTop
*Form*left: ChainLeft
*Form*right: ChainLeft
*MenuButton.leftBitmap: menu12
*form*width: 120
*form*height: 15
*baseTranslations:#override\
Ctrl<Key>c: do-quit()\n\
<Key>q: do-quit()\n\
Ctrl<Key>n: do-new()\n\
Ctrl<Key>f: do-load()\n\
Ctrl<Key>i: do-insert()\n\
Ctrl<Key>s: do-save()\n\
Ctrl<Key>w: do-save-as()\n\
Ctrl<Key>r: do-resize()\n\
Ctrl<Key>x: do-rescale()\n\
Ctrl<Key>e: do-filename()\n\
Ctrl<Key>b: do-basename()\n\
Meta<Key>i: switch-image()\n\
Meta<Key>g: switch-grid()\n\
Meta<Key>d: switch-dashed()\n\
Meta<Key>a: switch-axes()\n\
Meta<Key>s: switch-stippled()\n\
Meta<Key>p: switch-proportional()\n\
Meta<Key>z: switch-zoom()\n\
Meta<Key>c: do-cut()\n\
Meta<Key>w: do-copy()\n\
Meta<Key>y: do-paste()
*Toggle.translations: <EnterWindow>: highlight(WhenUnset)\n\
<LeaveWindow>: unhighlight()\n\
<Btn1Down>,<Btn1Up>: set() notify()
*MenuButton.translations:<EnterWindow>: highlight()\n\
<LeaveWindow>: reset()\n\
Any<BtnDown>: reset() fix-menu() PopupMenu()
*Dialog*baseTranslations:#override\
<Key>Return: set-dialog-button(okay, yes, retry)\n\
Ctrl<Key>g: set-dialog-button(cancel, abort)
*image*baseTranslations:#override\
<Btn1Down>,<Btn1Up>: switch-image()
*image*width: 0
*image*height: 0
*image*Label.internalWidth: 0
*image*Label.internalHeight: 0
*image*normalImage.foreground: white
*image*normalImage.background: black
*image*invertedImage.foreground: black
*image*invertedImage.background: white
*bitmap.cursor: tcross
*bitmap.dashes: Dashes
*bitmap.stipple: Stipple
*bitmap.stippled: on
*TransientShell.width: 300
*input*icon: Term
*qsave*icon: Term
*error*icon: Excl
*Dialog.yes.label: Yes
*Dialog.no.label: No
*Dialog.okay.label: OK
*Dialog.abort.label: Abort
*Dialog.cancel.label: Cancel
*Dialog.retry.label: Retry
*MenuButton.width: 58
*SimpleMenu.width: 0
*SimpleMenu.height: 0
*SimpleMenu.cursor: hand2
*SimpleMenu.line.height: 0
*fileButton.label: File
*fileButton.menuName: fileMenu
*editButton.label: Edit
*editButton.fromHoriz: fileButton
*editButton.menuName: editMenu
*formy.status*top: ChainTop
*formy.status*bottom: ChainTop
*formy.status*left: ChainLeft
*formy.status*right: ChainRight
*status.fromHoriz: editButton
*status.borderWidth: 0
*SmeBSB.HorizontalMargins: 32
*fileMenu.new.label: New (Ctrl-N)...
*fileMenu.load.label: Load (Ctrl-F)...
*fileMenu.insert.label: Insert (Ctrl-I)...
*fileMenu.save.label: Save (Ctrl-S)
*fileMenu.saveAs.label: Save As (Ctrl-W)...
*fileMenu.resize.label: Resize (Ctrl-R)...
*fileMenu.rescale.label: Rescale (Ctrl-X)...
*fileMenu.filename.label: Filename (Ctrl-E)...
*fileMenu.basename.label: Basename (Ctrl-B)...
*fileMenu.quit.label: Quit (Ctrl-C, Q)
*editMenu.image.label: Image (Meta-I)
*editMenu.grid.label: Grid (Meta-G)
*editMenu.dashed.label: Dashed (Meta-D)
*editMenu.axes.label: Axes (Meta-A)
*editMenu.stippled.label: Stippled (Meta-S)
*editMenu.proportional.label: Proportional (Meta-P)
*editMenu.zoom.label: Zoom (Meta-Z)
*editMenu.cut.label: Cut (Meta-C)
*editMenu.copy.label: Copy (Meta-W)
*editMenu.paste.label: Paste (Meta-Y, Ctrl-mb)
*form.clear.label: Clear
*form.set.fromVert: clear
*form.set.label: Set
*form.invert.fromVert: set
*form.invert.label: Invert
*form.mark.vertDistance: 10
*form.mark.fromVert: invert
*form.mark.label: Mark
*form.unmark.fromVert: mark
*form.unmark.label: Unmark
*form.copy.vertDistance: 10
*form.copy.fromVert: unmark
*form.copy.radioGroup: mark
*form.copy.label: Copy
*form.move.fromVert: copy
*form.move.radioGroup: copy
*form.move.label: Move
*form.flipHoriz.vertDistance: 10
*form.flipHoriz.width: 36
*form.flipHoriz.height: 36
*form.flipHoriz.fromVert: move
*form.flipHoriz.bitmap: FlipHoriz
*form.up.vertDistance: 10
*form.up.width: 36
*form.up.height: 36
*form.up.fromVert: move
*form.up.fromHoriz: flipHoriz
*form.up.bitmap: Up
*form.flipVert.vertDistance: 10
*form.flipVert.width: 36
*form.flipVert.height: 36
*form.flipVert.fromVert: move
*form.flipVert.fromHoriz: up
*form.flipVert.bitmap: FlipVert
*form.left.width: 36
*form.left.height: 36
*form.left.fromVert: flipHoriz
*form.left.bitmap: Left
*form.fold.width: 36
*form.fold.height: 36
*form.fold.fromVert: up
*form.fold.fromHoriz: left
*form.fold.bitmap: Fold
*form.right.width: 36
*form.right.height: 36
*form.right.fromVert: flipVert
*form.right.fromHoriz: fold
*form.right.bitmap: Right
*form.rotateLeft.width: 36
*form.rotateLeft.height: 36
*form.rotateLeft.fromVert: left
*form.rotateLeft.bitmap: RotateLeft
*form.down.width: 36
*form.down.height: 36
*form.down.fromVert: fold
*form.down.fromHoriz: rotateLeft
*form.down.bitmap: Down
*form.rotateRight.width: 36
*form.rotateRight.height: 36
*form.rotateRight.fromVert: right
*form.rotateRight.fromHoriz: down
*form.rotateRight.bitmap: RotateRight
*form.point.vertDistance: 10
*form.point.fromVert: rotateLeft
*form.point.radioGroup: move
*form.point.label: Point
*form.curve.fromVert: point
*form.curve.radioGroup: point
*form.curve.label: Curve
*form.line.fromVert: curve
*form.line.radioGroup: curve
*form.line.label: Line
*form.rectangle.fromVert: line
*form.rectangle.radioGroup: line
*form.rectangle.label: Rectangle
*form.filledRectangle.fromVert: rectangle
*form.filledRectangle.radioGroup: rectangle
*form.filledRectangle.label: Filled Rectangle
*form.circle.fromVert: filledRectangle
*form.circle.radioGroup: filledRectangle
*form.circle.label: Circle
*form.filledCircle.fromVert: circle
*form.filledCircle.radioGroup: circle
*form.filledCircle.label: Filled Circle
*form.floodFill.fromVert: filledCircle
*form.floodFill.radioGroup: filledCircle
*form.floodFill.label: Flood Fill
*form.setHotSpot.vertDistance: 10
*form.setHotSpot.fromVert: floodFill
*form.setHotSpot.radioGroup: floodFill
*form.setHotSpot.label: Set Hot Spot
*form.clearHotSpot.fromVert: setHotSpot
*form.clearHotSpot.label: Clear Hot Spot
*form.undo.vertDistance: 10
*form.undo.fromVert: clearHotSpot
*form.undo.label: Undo
This diff is collapsed.
/* $Xorg: Bitmap.h,v 1.4 2001/02/09 02:05:28 xorgcvs Exp $ */
/*
Copyright 1989, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from The Open Group.
*/
/*
* Author: Davor Matic, MIT X Consortium
*/
#ifndef _Bitmap_h
#define _Bitmap_h
/****************************************************************
*
* Bitmap widget
*
****************************************************************/
#include <X11/Xaw/Simple.h>
/* Resources:
Name Class RepType Default Value
---- ----- ------- -------------
background Background Pixel XtDefaultBackground
foreground Foredround Pixel XtDefaultForeground
highlight Highlight Pixel XtDefaultForeground
frame Frame Pixel XtDefaultForeground
border BorderColor Pixel XtDefaultForeground
borderWidth BorderWidth Dimension 1
mappedWhenManaged MappedWhenManaged Boolean True
resize Resize Boolean True
sensitive Sensitive Boolean True
width Width Dimension 0
height Height Dimension 0
size Size String 32x32
squareWidht SquareWidht Dimension 16
squareHeight SquareHeight Dimension 16
x Position Position 320
y Position Position 320
xHot XHot Position NotSet
yHot YHot Position NotSet
margin Margin Dimension 16
grid Grid Boolean True
gridTolerance GridTolerance Dimension 8
dashed Dashed Boolean True
dashes Dashes Bitmap XtUnspecifiedPixmap
stippled Stippled Boolean True
stipple Sripple Bitmap XtUnspecifiedPixmap
proportional Proportional Boolean True
axes Axes Boolean True
button1Function Button1Function ButtonFunction Set
button2Function Button2Function ButtonFunction Invert
button3Function Button3Function ButtonFunction Clear
button4Function Button4Function ButtonFunction Invert
button5Function Button5Function ButtonFunction Invert
filename Filename String None
basename Basename String None
*/
/* define any special resource names here that are not in <X11/StringDefs.h> */
#define XtNbitmapResource "bitmapResource"
#define XtNstipple "stipple"
#define XtNstippled "stippled"
#define XtNdashes "dashes"
#define XtNdashed "dashed"
#define XtNgrid "grid"
#define XtNgridTolerance "gridTolerance"
#define XtNaxes "axes"
#define XtNbitmapSize "bitmapSize"
#define XtNsize "size"
#define XtNsquareWidth "squareWidth"
#define XtNsquareHeight "squareHeight"
#define XtNxHot "xHot"
#define XtNyHot "yHot"
#define XtNbutton1Function "button1Function"
#define XtNbutton2Function "button2Function"
#define XtNbutton3Function "button3Function"
#define XtNbutton4Function "button4Function"
#define XtNbutton5Function "button5Function"
#define XtNfilename "filename"
#define XtNbasename "basename"
#define XtNmouseForeground "mouseForeground"
#define XtNmouseBackground "mouseBackground"
#define XtNframe "frame"
#define XtNmargin "margin"
#define XtNproportional "proportional"
#define XtCBitmapResource "BitmapResource"
#define XtCHighlight "Highlight"
#define XtCStipple "Stipple"
#define XtCStippled "Stippled"
#define XtCDashes "Dashes"
#define XtCDashed "Dashed"
#define XtCGrid "Grid"
#define XtCGridTolerance "GridTolerance"
#define XtCAxes "Axes"
#define XtBitmapSize "BitmapSize"
#define XtCSize "Size"
#define XtCSquareWidth "SquareWidth"
#define XtCSquareHeight "SquareHeight"
#define XtCXHot "XHot"
#define XtCYHot "YHot"
#define XtCButton1Function "Button1Function"
#define XtCButton2Function "Button2Function"
#define XtCButton3Function "Button3Function"
#define XtCButton4Function "Button4Function"
#define XtCButton5Function "Button5Function"
#define XtCFilename "Filename"
#define XtCBasename "Basename"
#define XtCFrame "Frame"
#ifndef XtCMargin
#define XtCMargin "Margin"
#endif
#define XtCProportional "Proportional"
#define XtRButtonFunction "ButtonFunction"
/* bitmap defines */
#define NotSet -1
#define Clear 0
#define Set 1
#define Invert 2
#define Highlight 3
#define On True
#define Off False
#define XtClear "clear"
#define XtSet "set"
#define XtInvert "invert"
#define MarkRequest "MarkRequest"
#define StoreRequest "StoreRequest"
#define RestoreRequest "RestoreRequest"
#define CopyRequest "CopyRequest"
#define MoveRequest "MoveRequest"
#define PointRequest "PointRequest"
#define LineRequest "LineRequest"
#define CurveRequest "CurveRequest"
#define RectangleRequest "RectangleRequest"
#define FilledRectangleRequest "FilledRectangleRequest"
#define CircleRequest "CircleRequest"
#define FilledCircleRequest "FilledCircleRequest"
#define FloodFillRequest "FloodFillRequest"
#define HotSpotRequest "HotSpotRequest"
#define ZoomInRequest "ZoomInRequest"
#define PasteRequest "PasteRequest"
#define ImmediateCopyRequest "ImmediateCopyRequest"
#define ImmediateMoveRequest "ImmediateMoveRequest"
/* 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;
/* declare specific BitmapWidget class and instance datatypes */
typedef struct _BitmapClassRec *BitmapWidgetClass;
typedef struct _BitmapRec *BitmapWidget;
/* declare the class constant */
extern WidgetClass bitmapWidgetClass;
#endif /* _Bitmap_h */
/* $Xorg: BitmapP.h,v 1.4 2001/02/09 02:05:28 xorgcvs Exp $ */
/*
Copyright 1989, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from The Open Group.
*/
/*
* Author: Davor Matic, MIT X Consortium
*/
#ifndef _BitmapP_h
#define _BitmapP_h
#include "Bitmap.h"
#include <X11/Xaw/SimpleP.h>
typedef struct {
Atom *targets;
Cardinal num_targets;
BWRequestRec *requests;
Cardinal num_requests;
BWRequestRec *request[100];
} BitmapClassPart;
/* Full class record declaration */
typedef struct _BitmapClassRec {
CoreClassPart core_class;
SimpleClassPart simple_class;
BitmapClassPart bitmap_class;
} BitmapClassRec;
extern BitmapClassRec bitmapClassRec;
/**********/
struct _BWRequestRec {
char *name;
int status_size;
void (*engage)();
XtPointer engage_client_data;
void (*terminate)();
XtPointer terminate_client_data;
void (*remove)();
XtPointer remove_client_data;
} ;
typedef struct {
Position from_x, from_y,
to_x, to_y;
} BWArea;
typedef struct {
BWRequestRec *request;
XtPointer status;
Boolean trap;
XtPointer call_data;
} BWRequestStack;
typedef struct {
XImage *image, *buffer;
XPoint hot;
Position at_x, at_y;
Boolean fold;
Boolean grid;
Boolean changed;
} BWZoom;
typedef struct {
Boolean own;
Boolean limbo;
} BWSelection;
/* New fields for the Bitmap widget record */
typedef struct {
/* resources */
Pixel foreground_pixel;
Pixel highlight_pixel;
Pixel frame_pixel;
Pixmap stipple;
Boolean stippled;
Boolean proportional;
Boolean grid;
Dimension grid_tolerance;
Pixmap dashes;
Boolean dashed;
Boolean axes;
Boolean resize;
Dimension margin, squareW, squareH, width, height;
XPoint hot;
int button_function[5];
String filename, basename;
/* private state */
String size;
Position horizOffset, vertOffset;
void (*notify)();
BWRequestStack *request_stack;
Cardinal cardinal, current;
/*Boolean trapping;*/
XImage *image, *buffer, *storage;
XPoint buffer_hot;
BWArea mark, buffer_mark;
GC drawing_gc;
GC highlighting_gc;
GC frame_gc;
GC axes_gc;
Boolean changed;
Boolean fold;
Boolean zooming;
BWZoom zoom;
XtPointer *value;
char status[80];
BWSelection selection;
Boolean stipple_change_expose_event;
} BitmapPart;
/* Full instance record declaration */
typedef struct _BitmapRec {
CorePart core;
SimplePart simple;
BitmapPart bitmap;
} BitmapRec;
/* Private functions */
#define Length(width, height)\
(((int)(width) + 7) / 8 * (height))
#define InBitmapX(BW, x)\
(Position)(min((Position)((Dimension)(max(BW->bitmap.horizOffset,x) -\
BW->bitmap.horizOffset) /\
BW->bitmap.squareW), BW->bitmap.width - 1))
#define InBitmapY(BW, y)\
(Position)(min((Position)((Dimension)(max(BW->bitmap.vertOffset, y) -\
BW->bitmap.vertOffset) /\
BW->bitmap.squareH), BW->bitmap.height - 1))
#define InWindowX(BW, x)\
(Position) (BW->bitmap.horizOffset + ((x) * BW->bitmap.squareW))
#define InWindowY(BW, y)\
(Position) (BW->bitmap.vertOffset + ((y) * BW->bitmap.squareH))
#define GetPixmap(BW, image)\
XCreateBitmapFromData(XtDisplay(BW), XtWindow(BW),\
image->data, image->width, image->height)
#define QuerySet(x, y) (((x) != NotSet) && ((y) != NotSet))
#define bit int
#define QueryZero(x, y) (((x) == 0) || ((y) == 0))
#define Swap(x, y) {Position t; t = x; x = y; y = t;}
#define QuerySwap(x, y) if(x > y) Swap(x, y)
#define QueryInBitmap(BW, x, y)\
(((x) >= 0) && ((x) < BW->bitmap.image->width) &&\
((y) >= 0) && ((y) < BW->bitmap.image->height))
#define Value(BW, button) (BW->bitmap.button_function[button - 1])
#define CreateCleanData(length) XtCalloc(length, sizeof(char))
XImage *CreateBitmapImage();
void DestroyBitmapImage();
#endif /* _BitmapP_h */
/* $Xorg: CutPaste.c,v 1.4 2001/02/09 02:05:28 xorgcvs Exp $ */
/*
Copyright 1989, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from The Open Group.
*/
/*
* Author: Davor Matic, MIT X Consortium
*/
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xatom.h>
#include "BitmapP.h"