-guidir = $(pkgdatadir)/gui
-icondir = $(pkgdatadir)/icons
-
AM_CPPFLAGS = \
- -DSMYRNA_PATH=\""$(pkgdatadir)"\" \
+ -DSMYRNA_PATH=\""$(pkgdatadir)/smyrna"\" \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/cgraph \
-I$(top_srcdir)/lib/cdt \
GLfloat lmodel_ambient[] = { 0.2f, 0.2f, 0.2f, 1.0f };
GLfloat local_view[] = { 0.0 };
- char *smyrna_font;
+ static char *smyrna_font;
#ifdef WIN32
smyrna_font = "c:/arial.tga"
#else
- smyrna_font = smyrnaPath("gui/arial.tga");
+ smyrna_font = smyrnaPath("arial.tga");
#endif
g_print("loading font....%i\n", fontLoad(smyrna_font));
- free(smyrna_font);
/*** OpenGL BEGIN ***/
if (!gdk_gl_drawable_gl_begin(gldrawable, glcontext))
smyrna_icon_fisheye = "c:/fisheye.raw"
smyrna_icon_rotate = "c:/rotate.raw"
#else
- smyrna_icon_pan = smyrnaPath("icons/pan.raw");
- smyrna_icon_zoom = smyrnaPath("icons/zoom.raw");
- smyrna_icon_zoomplus = smyrnaPath("icons/zoomplus.raw");
- smyrna_icon_zoomminus = smyrnaPath("icons/zoomminus.raw");
- smyrna_icon_fisheye = smyrnaPath("icons/fisheye.raw");
- smyrna_icon_rotate = smyrnaPath("icons/rotate.raw");
+ smyrna_icon_pan = smyrnaPath("pan.raw");
+ smyrna_icon_zoom = smyrnaPath("zoom.raw");
+ smyrna_icon_zoomplus = smyrnaPath("zoomplus.raw");
+ smyrna_icon_zoomminus = smyrnaPath("zoomminus.raw");
+ smyrna_icon_fisheye = smyrnaPath("fisheye.raw");
+ smyrna_icon_rotate = smyrnaPath("rotate.raw");
#endif
}