mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 19:24:09 +02:00
Add DevIL 1.7.8.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ImageLib Sources
|
||||
// Copyright (C) 2000-2008 by Denton Woods
|
||||
// Last modified: 08/23/2008
|
||||
//
|
||||
// Filename: src-IL/include/il_icns.h
|
||||
//
|
||||
// Description: Reads from a Mac OS X icon (.icns) file.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef ICNS_H
|
||||
#define ICNS_H
|
||||
|
||||
#include "il_internal.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, icns_struct, 1)
|
||||
#endif
|
||||
typedef struct ICNSHEAD
|
||||
{
|
||||
char Head[4]; // Must be 'ICNS'
|
||||
ILint Size; // Total size of the file (including header)
|
||||
} IL_PACKSTRUCT ICNSHEAD;
|
||||
|
||||
typedef struct ICNSDATA
|
||||
{
|
||||
char ID[4]; // Identifier ('it32', 'il32', etc.)
|
||||
ILint Size; // Total size of the entry (including identifier)
|
||||
} IL_PACKSTRUCT ICNSDATA;
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop, icns_struct)
|
||||
#endif
|
||||
|
||||
ILboolean iIsValidIcns();
|
||||
ILboolean iLoadIcnsInternal();
|
||||
ILboolean iIcnsReadData(ILboolean *BaseCreated, ILboolean IsAlpha, ILint Width, ICNSDATA *Entry, ILimage **Image);
|
||||
|
||||
#endif//ICNS_H
|
||||
Reference in New Issue
Block a user