version 1.4 | | version 1.5 |
---|
| | |
/*** images & colors ***/ | | /*** images & colors ***/ |
InitializeColors(XtDisplay(self->shell)); | | InitializeColors(XtDisplay(self->shell)); |
| | |
if (self->res.usePixmaps) displaymode=Dm_Bitmap; | | |
#ifdef HAVE_LIBXPM | | #ifdef HAVE_LIBXPM |
| | if (self->res.usePixmaps) displaymode=Dm_Bitmap; |
else if (self->res.useColorPixmaps) displaymode=Dm_Pixmap; | | else if (self->res.useColorPixmaps) displaymode=Dm_Pixmap; |
#else | | #else |
else if (self->res.useColorPixmaps) { | | displaymode=Dm_Font; |
| | if (self->res.usePixmaps||self->res.useColorPixmaps) { |
fprintf(stderr,"Crossedit not compiled with Xpm Support.\n"); | | fprintf(stderr,"Crossedit not compiled with Xpm Support.\n"); |
} | | } |
| | if(!strcmp(FONTNAME,"")) { |
| | fprintf(stderr,"No font defined for Crossedit.\n"); |
| | exit(0); |
| | } |
#endif | | #endif |
| | |
CnvInitialize(self->shell); | | CnvInitialize(self->shell); |