CTWM
Loading...
Searching...
No Matches
Functions | Variables
/usr/src/RPM/BUILD/ctwm-4.1.0/image_xpm.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/xpm.h>
#include "screen.h"
#include "image.h"
#include "image_xpm.h"
Include dependency graph for image_xpm.c:

Go to the source code of this file.

Functions

static ImageLoadXpmImage (const char *name, ColorPair cp)
 
static void xpmErrorMessage (int status, const char *name, const char *fullname)
 
ImageGetXpmImage (const char *name, ColorPair cp)
 

Variables

static int reportxpmerror = 1
 

Function Documentation

◆ GetXpmImage()

Image * GetXpmImage ( const char * name,
ColorPair cp )

Definition at line 28 of file image_xpm.c.

References get_image_anim_cp(), LoadXpmImage(), and PlaceX.

Referenced by GetImage().

◆ LoadXpmImage()

static Image * LoadXpmImage ( const char * name,
ColorPair cp )
static

◆ xpmErrorMessage()

static void xpmErrorMessage ( int status,
const char * name,
const char * fullname )
static

Definition at line 106 of file image_xpm.c.

References PlaceX, reportfilenotfound, and reportxpmerror.

Referenced by LoadXpmImage().

Variable Documentation

◆ reportxpmerror

int reportxpmerror = 1
static

Definition at line 21 of file image_xpm.c.

Referenced by xpmErrorMessage().