mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
eed5749909
Also center ede-launch window.
37 lines
783 B
C++
37 lines
783 B
C++
//
|
|
// PImageLoaderJpeg.hh for pekwm
|
|
// Copyright © 2005-2009 Claes Nästén <me@pekdon.net>
|
|
//
|
|
// This program is licensed under the GNU GPL.
|
|
// See the LICENSE file for more information.
|
|
//
|
|
|
|
#ifndef _PIMAGE_NATIVE_LOADER_JPEG_HH_
|
|
#define _PIMAGE_NATIVE_LOADER_JPEG_HH_
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif // HAVE_CONFIG_H
|
|
|
|
#ifdef HAVE_IMAGE_JPEG
|
|
|
|
#include "pekwm.hh"
|
|
#include "PImageLoader.hh"
|
|
|
|
#include <cstdio>
|
|
|
|
//! @brief Jpeg Loader class.
|
|
class PImageLoaderJpeg : public PImageLoader
|
|
{
|
|
public:
|
|
PImageLoaderJpeg(void);
|
|
virtual ~PImageLoaderJpeg(void);
|
|
|
|
virtual uchar *load(const std::string &file, uint &width, uint &height,
|
|
bool &alpha, bool &use_alpha);
|
|
};
|
|
|
|
#endif // HAVE_IMAGE_JPEG
|
|
|
|
#endif // _PIMAGE_NATIVE_LOADER_JPEG_HH_
|