Searched defs:bitmap (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkBitmap.c34 * One of the following data structures exists for each bitmap that is
40 Pixmap bitmap; /* X identifier for bitmap. None means this member in struct:__anon385
41 * bitmap was created by Tk_DefineBitmap
43 int width, height; /* Dimensions of bitmap. */
44 Display *display; /* Display for which bitmap is valid. */
45 int refCount; /* Number of active uses of bitmap. */
51 * Hash table to map from a textual description of a bitmap to the
52 * TkBitmap record for the bitmap, and key structure used in that
58 Tk_Uid name; /* Textual name for desired bitmap
151 Pixmap bitmap; local
[all...]
H A DtkCanvBmap.c4 * This file implements bitmap items for canvas widgets.
19 * The structure below defines the record for each bitmap item.
26 * bitmap. */
27 Tk_Anchor anchor; /* Where to anchor bitmap relative to
29 Pixmap bitmap; /* Bitmap to display in window. */ member in struct:BitmapItem
30 XColor *fgColor; /* Foreground color to use for bitmap. */
31 XColor *bgColor; /* Background color to use for bitmap. */
33 * bitmap on screen. */
49 {TK_CONFIG_BITMAP, "-bitmap", (char *) NULL, (char *) NULL,
50 (char *) NULL, Tk_Offset(BitmapItem, bitmap), TK_CONFIG_NULL_O
[all...]
H A DtkImgBmap.c4 * This procedure implements images of type "bitmap" for Tk.
18 * The following data structure represents the master for a bitmap
32 char *data; /* Data comprising bitmap (suitable for
35 char *maskData; /* Data for bitmap's mask (suitable for
62 Pixmap bitmap; /* The bitmap to display. */ member in struct:BitmapInstance
63 Pixmap mask; /* Mask: only display bitmap pixels where
65 GC gc; /* Graphics context for displaying bitmap.
76 * The type record for bitmap images:
94 "bitmap", /* nam
[all...]
H A DtkMenubutton.c48 Pixmap bitmap; /* Bitmap to display or None. If not None member in struct:__anon410
52 * NULL. If non-NULL, bitmap, text, and
111 * size of the text string or bitmap is
116 int padX, padY; /* Extra space around text or bitmap (pixels
118 Tk_Anchor anchor; /* Where text/bitmap should be displayed
201 {TK_CONFIG_BITMAP, "-bitmap", "bitmap", "Bitmap",
202 DEF_MENUBUTTON_BITMAP, Tk_Offset(MenuButton, bitmap),
354 mbPtr->bitmap = None;
691 if ((mbPtr->image == NULL) && (mbPtr->bitmap
[all...]
H A DtkButton.c49 Pixmap bitmap; /* Bitmap to display or None. If not None member in struct:__anon390
52 * NULL. If non-NULL, bitmap, text, and
117 * size of the text string or bitmap is
125 Tk_Anchor anchor; /* Where text/bitmap should be displayed
253 {TK_CONFIG_BITMAP, "-bitmap", "bitmap", "Bitmap",
254 DEF_BUTTON_BITMAP, Tk_Offset(Button, bitmap),
541 butPtr->bitmap = None;
1047 if ((butPtr->image == NULL) && (butPtr->bitmap == None)
1075 if ((butPtr->bitmap !
[all...]
H A DtkMenu.c37 Pixmap bitmap; /* Bitmap to display in menu entry, or None. member in struct:MenuEntry
40 * NULL. If non-NULL, bitmap, text, and
177 {TK_CONFIG_BITMAP, "-bitmap", (char *) NULL, (char *) NULL,
178 DEF_MENU_ENTRY_BITMAP, Tk_Offset(MenuEntry, bitmap),
1615 } else if (mePtr->bitmap != None) {
1616 Tk_SizeOfBitmap(menuPtr->display, mePtr->bitmap,
1818 * Draw label or bitmap or image for entry.
1841 } else if (mePtr->bitmap != None) {
1844 Tk_SizeOfBitmap(menuPtr->display, mePtr->bitmap, &width, &height);
1845 XCopyPlane(menuPtr->display, mePtr->bitmap, Tk_WindowI
[all...]

Completed in 23 milliseconds