Lines Matching refs:image

39     char *imageString;		/* Name of image to display (malloc'ed), or
42 Tk_Image image; /* Image to display in menu entry, or NULL if
44 char *selectImageString; /* Name of image to display when selected
47 * or NULL if none. Ignored if image is
193 {TK_CONFIG_STRING, "-image", (char *) NULL, (char *) NULL,
1102 if (mePtr->image != NULL) {
1103 Tk_FreeImage(mePtr->image);
1106 Tk_FreeImage(mePtr->image);
1327 Tk_Image image;
1504 * counts don't go to zero and cause image data to be discarded.
1508 image = Tk_GetImage(interp, menuPtr->tkwin, mePtr->imageString,
1510 if (image == NULL) {
1514 image = NULL;
1516 if (mePtr->image != NULL) {
1517 Tk_FreeImage(mePtr->image);
1519 mePtr->image = image;
1521 image = Tk_GetImage(interp, menuPtr->tkwin, mePtr->selectImageString,
1523 if (image == NULL) {
1527 image = NULL;
1532 mePtr->selectImage = image;
1600 if (mePtr->image != NULL) {
1601 Tk_SizeOfImage(mePtr->image, &imageWidth, &imageHeight);
1818 * Draw label or bitmap or image for entry.
1827 if (mePtr->image != NULL) {
1830 Tk_SizeOfImage(mePtr->image, &width, &height);
1837 Tk_RedrawImage(mePtr->image, 0, 0, width, height,
2267 mePtr->image = NULL;
2665 * This procedure is invoked by the image code whenever the manager
2666 * for an image does something that affects the size of contents
2667 * of an image displayed in a menu entry.
2681 int x, y; /* Upper left pixel (within image)
2685 int imgWidth, imgHeight; /* New dimensions of image. */
2701 * This procedure is invoked by the image code whenever the manager
2702 * for an image does something that affects the size of contents
2703 * of an image displayed in a menu entry when it is selected.
2717 int x, y; /* Upper left pixel (within image)
2721 int imgWidth, imgHeight; /* New dimensions of image. */