+2002-07-16 Angus Leeming <leeming@lyx.org>
+
+ * XPainter.C: add some #ifdef ugliness to enable the home grown image
+ loader to work too.
2002-07-16 André Pönitz <poenitz@gmx.net>
#include "encoding.h"
#include "language.h"
+#ifdef USE_XFORMS_IMAGE_LOADER
#include "xformsImage.h"
+#else
+#include "graphics/GraphicsImageXPM.h"
+#endif
#include "support/LAssert.h"
#include "support/lstrings.h"
int w, int h,
grfx::Image const & i)
{
+#ifdef USE_XFORMS_IMAGE_LOADER
grfx::xformsImage const & image = static_cast<grfx::xformsImage const &>(i);
+#else
+ grfx::ImageXPM const & image = static_cast<grfx::ImageXPM const &>(i);
+#endif
+
XGCValues val;
val.function = GXcopy;
GC gc = XCreateGC(fl_get_display(), owner_.getPixmap(),