~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to source/Irrlicht/libpng/contrib/visupng/PngFile.h

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//------------------------------------------
 
2
//  PNGFILE.H -- Header File for pngfile.c
 
3
//------------------------------------------
 
4
 
 
5
// Copyright 2000, Willem van Schaik.
 
6
 
 
7
// This code is released under the libpng license.
 
8
// For conditions of distribution and use, see the disclaimer
 
9
// and license in png.h
 
10
 
 
11
#include <stdio.h>
 
12
#include <stdlib.h>
 
13
#include <string.h>
 
14
#include <windows.h>
 
15
 
 
16
void PngFileInitialize (HWND hwnd) ;
 
17
BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
 
18
BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
 
19
 
 
20
BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 
 
21
                   int *piWidth, int *piHeight, int *piChannels, png_color *pBkgColor);
 
22
BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
 
23
                   int iWidth, int iHeight, png_color BkgColor);
 
24
 
 
25
#ifndef PNG_STDIO_SUPPORTED
 
26
static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
 
27
static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
 
28
static void png_flush(png_structp png_ptr);
 
29
#endif
 
30