mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-14 04:10:31 +02:00
[W.I.P.] Added a FasterRenderOption
Still completly buggy. and it crashes imediatly after input
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "IntelliHelper/IntelliHelper.h"
|
||||
#include "IntelliHelper/IntelliRenderSettings.h"
|
||||
|
||||
class IntelliTool;
|
||||
|
||||
@@ -39,13 +40,20 @@ QImage imageData;
|
||||
* \brief The Type, an Image is.
|
||||
*/
|
||||
ImageType TypeOfImage;
|
||||
|
||||
/*!
|
||||
* \brief fastRenderer is the flag that represents the usage of 8bit pictures.
|
||||
*/
|
||||
bool fastRenderer;
|
||||
|
||||
public:
|
||||
/*!
|
||||
* \brief The Construcor of the IntelliImage. Given the Image dimensions.
|
||||
* \param width - The width of the Image.
|
||||
* \param height - The height of the Image.
|
||||
* \param fastRendererOn - Represents the flag for 8bit picture handelling.
|
||||
*/
|
||||
IntelliImage(int width, int height);
|
||||
IntelliImage(int width, int height, bool fastRendererOn);
|
||||
|
||||
/*!
|
||||
* \brief An Abstract Destructor.
|
||||
@@ -140,6 +148,13 @@ virtual bool loadImage(const QString &filePath);
|
||||
* \return The color of the Pixel as QColor.
|
||||
*/
|
||||
virtual QColor getPixelColor(QPoint& point);
|
||||
|
||||
/*!
|
||||
* \brief updateRendererSetting updates the existing image format to the new format.
|
||||
* \param fastRendererOn flag for the 8bit image handeling.
|
||||
*/
|
||||
virtual void updateRendererSetting(bool fastRendererOn);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user