MCPcopy Create free account
hub / github.com/SimHacker/micropolis / BitmapItem

Class BitmapItem

micropolis-activity/src/tk/tkcvbmap.c:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 */
28
29typedef struct BitmapItem {
30 Tk_Item header; /* Generic stuff that's the same for all
31 * types. MUST BE FIRST IN STRUCTURE. */
32 double x, y; /* Coordinates of positioning point for
33 * bitmap. */
34 Tk_Anchor anchor; /* Where to anchor bitmap relative to
35 * (x,y). */
36 Pixmap bitmap; /* Bitmap to display in window. */
37 XColor *fgColor; /* Foreground color to use for bitmap. */
38 XColor *bgColor; /* Background color to use for bitmap. */
39 GC gc; /* Graphics context to use for drawing
40 * bitmap on screen. */
41} BitmapItem;
42
43/*
44 * Information used for parsing configuration specs:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected