Changeset 981
- Timestamp:
- Sep 25, 2011, 12:21:54 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build/lol-build
r961 r981 81 81 fi 82 82 PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/contrib/gtkglarea-2.0.1/lib/pkgconfig" 83 LDFLAGS="$LDFLAGS -L$PWD/contrib/gdiplus/lib" 83 84 LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32" 84 85 LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/i686-w64-mingw32" … … 122 123 ;; 123 124 windows-i386|windows-amd64) 125 CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gdiplus/include" 124 126 CPPFLAGS="$CPPFLAGS -I$PWD/contrib/sdl-1.2.14/include" 125 127 CPPFLAGS="$CPPFLAGS -I$PWD/contrib/sdl-image-1.2.10/include" -
trunk/configure.ac
r960 r981 264 264 265 265 266 dnl Use Windows GDI+? 267 ac_cv_my_have_gdiplus="no" 268 AC_LANG_PUSH(C++) 269 AC_CHECK_HEADERS(Gdiplus.h, 270 [ac_cv_my_have_gdiplus="yes" 271 LOL_LIBS="${LOL_LIBS} -lgdiplus"], 272 [ac_cv_my_have_gdiplus="no"], 273 [#include <algorithm> 274 using std::min; 275 using std::max; 276 #include <windows.h>]) 277 AC_LANG_POP(C++) 278 if test "${ac_cv_my_have_gdiplus}" != "no"; then 279 AC_DEFINE(USE_GDIPLUS, 1, Define to 1 to use GDI+) 280 fi 281 AM_CONDITIONAL(USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes") 282 283 266 284 dnl Use libcaca? (required for font generation) 267 285 ac_cv_my_have_caca="no" -
trunk/contrib/gdiplus/include/GdiplusMetafile.h
r980 r981 351 351 } 352 352 353 static UINT Metafile::EmfToWmfBits(353 static UINT EmfToWmfBits( 354 354 IN HENHMETAFILE hemf, 355 355 IN UINT cbData16, -
trunk/contrib/gdiplus/include/GdiplusStringFormat.h
r980 r981 218 218 } 219 219 220 StringTrimming StringFormat::GetTrimming() const220 StringTrimming GetTrimming() const 221 221 { 222 222 StringTrimming trimming; -
trunk/src/Makefile.am
r965 r981 28 28 image/image.cpp image/image.h image/image-private.h \ 29 29 image/codec/android-image.cpp \ 30 image/codec/gdiplus-image.cpp \ 30 31 image/codec/ios-image.cpp \ 31 32 image/codec/sdl-image.cpp \ -
trunk/src/image/image.cpp
r958 r981 29 29 #endif 30 30 REGISTER_IMAGE_LOADER(DummyImageData) 31 #if defined USE_GDIPLUS 32 REGISTER_IMAGE_LOADER(GdiPlusImageData) 33 #endif 31 34 #if defined __APPLE__ && defined __MACH__ && defined __arm__ 32 35 REGISTER_IMAGE_LOADER(IosImageData)
Note: See TracChangeset
for help on using the changeset viewer.