|
1 | | -'' FreeBASIC binding for DevIL-1.7.8 |
| 1 | +'' FreeBASIC binding for DevIL-1.8.0 |
2 | 2 | '' |
3 | 3 | '' based on the C header files: |
4 | 4 | '' ImageLib Utility Sources |
5 | | -'' Copyright (C) 2000-2009 by Denton Woods |
| 5 | +'' Copyright (C) 2000-2017 by Denton Woods |
6 | 6 | '' Last modified: 03/07/2009 |
7 | 7 | '' |
8 | 8 | '' Filename: IL/ilu.h |
|
12 | 12 | '' This library is free software; you can redistribute it and/or |
13 | 13 | '' modify it under the terms of the GNU Lesser General Public |
14 | 14 | '' License as published by the Free Software Foundation; either |
15 | | -'' version 2 of the License, or (at your option) any later version. |
| 15 | +'' version 2.1 of the License, or (at your option) any later version. |
16 | 16 | '' |
17 | 17 | '' This library is distributed in the hope that it will be useful, |
18 | 18 | '' but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
21 | 21 | '' |
22 | 22 | '' You should have received a copy of the GNU Lesser General Public |
23 | 23 | '' License along with this library; if not, write to the Free Software |
24 | | -'' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 24 | +'' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 25 | +'' USA |
25 | 26 | '' |
26 | 27 | '' translated to FreeBASIC by: |
27 | | -'' Copyright © 2015 FreeBASIC development team |
| 28 | +'' Copyright © 2020 FreeBASIC development team |
28 | 29 |
|
29 | 30 | #pragma once |
30 | 31 |
|
|
40 | 41 |
|
41 | 42 | #define __ilu_h_ |
42 | 43 | #define __ILU_H__ |
43 | | -const ILU_VERSION_1_7_8 = 1 |
44 | | -const ILU_VERSION = 178 |
| 44 | +const ILU_VERSION_1_8_0 = 1 |
| 45 | +const ILU_VERSION = 180 |
45 | 46 | const ILU_FILTER = &h2600 |
46 | 47 | const ILU_NEAREST = &h2601 |
47 | 48 | const ILU_LINEAR = &h2602 |
@@ -74,6 +75,7 @@ const ILU_JAPANESE = &h0803 |
74 | 75 | const ILU_SPANISH = &h0804 |
75 | 76 | const ILU_GERMAN = &h0805 |
76 | 77 | const ILU_FRENCH = &h0806 |
| 78 | +const ILU_ITALIAN = &h0807 |
77 | 79 |
|
78 | 80 | type ILinfo |
79 | 81 | Id as ILuint |
@@ -121,6 +123,7 @@ declare function iluEmboss() as ILboolean |
121 | 123 | declare function iluEnlargeCanvas(byval Width as ILuint, byval Height as ILuint, byval Depth as ILuint) as ILboolean |
122 | 124 | declare function iluEnlargeImage(byval XDim as ILfloat, byval YDim as ILfloat, byval ZDim as ILfloat) as ILboolean |
123 | 125 | declare function iluEqualize() as ILboolean |
| 126 | +declare function iluEqualize2() as ILboolean |
124 | 127 | declare function iluErrorString(byval Error as ILenum) as const zstring ptr |
125 | 128 | declare function iluConvolution(byval matrix as ILint ptr, byval scale as ILint, byval bias as ILint) as ILboolean |
126 | 129 | declare function iluFlipImage() as ILboolean |
@@ -148,6 +151,7 @@ declare function iluSaturate4f(byval r as ILfloat, byval g as ILfloat, byval b a |
148 | 151 | declare function iluScale(byval Width as ILuint, byval Height as ILuint, byval Depth as ILuint) as ILboolean |
149 | 152 | declare function iluScaleAlpha(byval scale as ILfloat) as ILboolean |
150 | 153 | declare function iluScaleColours(byval r as ILfloat, byval g as ILfloat, byval b as ILfloat) as ILboolean |
| 154 | +declare function iluSepia() as ILboolean |
151 | 155 | declare function iluSetLanguage(byval Language as ILenum) as ILboolean |
152 | 156 | declare function iluSharpen(byval Factor as ILfloat, byval Iter as ILuint) as ILboolean |
153 | 157 | declare function iluSwapColours() as ILboolean |
|
0 commit comments