|
CTWM
|
#include "ctwm.h"#include <stdio.h>#include <string.h>#include <unistd.h>#include "list.h"#include "screen.h"#include "image.h"#include "image_bitmap.h"#include "image_bitmap_builtin.h"#include "image_xwd.h"Go to the source code of this file.
Macros | |
| #define | GIFNLEN 256 |
| #define | ANIM_PATHLEN 256 |
Functions | |
| Image * | GetImage (const char *name, ColorPair cp) |
| Image * | AllocImage (void) |
| void | FreeImage (Image *image) |
| char * | ExpandPixmapPath (const char *name) |
| Image * | get_image_anim_cp (const char *name, ColorPair cp, Image *(*imgloader)(const char *, ColorPair)) |
Variables | |
| bool | reportfilenotfound = false |
| Colormap | AlternateCmap = None |
| #define ANIM_PATHLEN 256 |
Referenced by get_image_anim_cp().
| #define GIFNLEN 256 |
Referenced by GetImage().
| Image * AllocImage | ( | void | ) |
Definition at line 158 of file image.c.
Referenced by Create3DBarImage(), Create3DBoxImage(), Create3DCrossImage(), Create3DDotImage(), Create3DIconifyImage(), Create3DMenuAnimation(), Create3DMenuImage(), Create3DResizeAnimation(), Create3DResizeImage(), Create3DSunkenResizeImage(), Create3DVertBarImage(), Create3DZoomAnimation(), Create3DZoomImage(), CreateHighlightWindows(), CreateIconWindow(), ExtractIcon(), GetImage(), HandlePropertyNotify(), LoadBitmapImage(), LoadJpegImage(), LoadXpmImage(), and LoadXwdImage().
| char * ExpandPixmapPath | ( | const char * | name | ) |
Definition at line 208 of file image.c.
Referenced by LoadJpegImage(), LoadXpmImage(), and LoadXwdImage().
| void FreeImage | ( | Image * | image | ) |
Definition at line 164 of file image.c.
References dpy, Image::mask, Image::next, and Image::pixmap.
Referenced by EwmhHandle_NET_WM_ICONNotify(), get_image_anim_cp(), ReleaseIconImage(), and UnmaskScreen().
| Image * get_image_anim_cp | ( | const char * | name, |
| ColorPair | cp, | ||
| Image *(* | imgloader )(const char *, ColorPair) ) |
Definition at line 277 of file image.c.
References ANIM_PATHLEN, FreeImage(), and Image::next.
Referenced by GetBitmapImage(), GetJpegImage(), GetXpmImage(), and GetXwdImage().
Definition at line 37 of file image.c.
References AddToList(), AllocImage(), ColorPair::back, dpy, ColorPair::fore, get_builtin_animated_pixmap(), get_builtin_plain_pixmap(), get_builtin_scalable_pixmap(), GetBitmapImage(), GetJpegImage(), GetXpmImage(), GetXwdImage(), GIFNLEN, Image::height, LookInNameList(), Image::pixmap, Scr, and Image::width.
Referenced by AddWorkSpace(), CreateHighlightWindows(), CreateLowlightWindows(), CreateWindowTitlebarButtons(), do_string_keyword(), InitTitlebarButtons(), LookupIconNameOrClass(), MaskScreen(), WMapCreateCurrentBackGround(), and WMapCreateDefaultBackGround().
| Colormap AlternateCmap = None |
Definition at line 30 of file image.c.
Referenced by LoadXpmImage(), LoadXwdImage(), and MaskScreen().
| bool reportfilenotfound = false |
Definition at line 29 of file image.c.
Referenced by FindBitmap(), LoadJpegImage(), LoadXwdImage(), and xpmErrorMessage().