~dandrader/nux/geis

« back to all changes in this revision

Viewing changes to NuxGraphics/GdiImageLoader.h

  • Committer: Tarmac
  • Author(s): Łukasz 'sil2100' Zemczak, Jay Taoko
  • Date: 2012-07-03 11:33:20 UTC
  • mfrom: (624.2.2 nux.api-3.0)
  • Revision ID: tarmac-20120703113320-gdhbpb05v9gajz7y
Updated Nux API version to 3.0. Deprecated nux-image library. The feature by nux-image has been merged into nux-graphics.. Fixes: . Approved by Łukasz Zemczak, Didier Roche, Tim Penhey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2010 Inalogic® Inc.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU Lesser General Public License, as
 
6
 * published by the  Free Software Foundation; either version 2.1 or 3.0
 
7
 * of the License.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
11
 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
 
12
 * PURPOSE.  See the applicable version of the GNU Lesser General Public
 
13
 * License for more details.
 
14
 *
 
15
 * You should have received a copy of both the GNU Lesser General Public
 
16
 * License along with this program. If not, see <http://www.gnu.org/licenses/>
 
17
 *
 
18
 * Authored by: Jay Taoko <jaytaoko@inalogic.com>
 
19
 *
 
20
 */
 
21
 
 
22
 
 
23
#ifndef GDIIMAGELOADER_H
 
24
#define GDIIMAGELOADER_H
 
25
 
 
26
 
 
27
#ifdef NUX_OS_WINDOWS
 
28
  #include <objbase.h>  // Needed for GDI+
 
29
  #include <Gdiplus.h>
 
30
  #include <GdiPlusImaging.h>
 
31
  #include "ImageSurface.h"
 
32
#endif
 
33
 
 
34
namespace nux
 
35
{
 
36
  NBitmapData* GdiLoadImageFile(const TCHAR* filename);
 
37
}
 
38
 
 
39
#endif // GDIIMAGELOADER_H