[FIXED] Revisor r70507 breaks compilation
Verfasst: Samstag 12. November 2011, 18:01
Kompilier mal ohne SAVE_GALAXYIMAGE defined.
so:
...
m_pGalaxyBackground = tmp;
CSize thumbSize(150, STARMAP_TOTALHEIGHT * 150 / STARMAP_TOTALWIDTH);
#ifdef SAVE_GALAXYIMAGE
img.Destroy();
#else
FCObjImage img;
#endif
FCWin32::GDIPlus_LoadBitmap(*m_pGalaxyBackground, img);
img.Stretch_Smooth(thumbSize.cx, thumbSize.cy);
img.SetAlphaChannelValue(120);
...
so:
...
m_pGalaxyBackground = tmp;
CSize thumbSize(150, STARMAP_TOTALHEIGHT * 150 / STARMAP_TOTALWIDTH);
#ifdef SAVE_GALAXYIMAGE
img.Destroy();
#else
FCObjImage img;
#endif
FCWin32::GDIPlus_LoadBitmap(*m_pGalaxyBackground, img);
img.Stretch_Smooth(thumbSize.cx, thumbSize.cy);
img.SetAlphaChannelValue(120);
...