Files @ r7342:9fce1b52a36a
Branch filter:

Location: cpp/openttd-patchpack/source/src/spriteloader/png.hpp

rubidium
(svn r10705) -Fix (r10704): some windows were not correctly initialized as they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size.
-Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
/* $Id$ */

/** @file png.hpp */

#ifndef SPRITELOADER_PNG_HPP
#define SPRITELOADER_PNG_HPP

#include "spriteloader.hpp"

class SpriteLoaderPNG : public SpriteLoader {
public:
	/**
	 * Load a sprite from the disk and return a sprite struct which is the same for all loaders.
	 */
	bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint32 file_pos);
};

#endif /* SPRITELOADER_PNG_HPP */