tahoma2d/toonz/sources/include/tiio_bmp.h

39 lines
660 B
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef TTIO_BMP_INCLUDED
#define TTIO_BMP_INCLUDED
#include "tiio.h"
#include "tproperty.h"
#include <QCoreApplication>
2016-03-19 06:57:51 +13:00
#undef DVAPI
#ifdef TNZCORE_EXPORTS
#define DVAPI DV_EXPORT_API
#else
#define DVAPI DV_IMPORT_API
#endif
2016-06-15 18:43:10 +12:00
namespace Tiio {
2016-03-19 06:57:51 +13:00
DVAPI Tiio::ReaderMaker makeBmpReader;
DVAPI Tiio::WriterMaker makeBmpWriter;
2016-06-15 18:43:10 +12:00
// DVAPI TPropertyGroup *makeBmpWriterProperties();
2016-03-19 06:57:51 +13:00
class BmpWriterProperties final : public TPropertyGroup {
Q_DECLARE_TR_FUNCTIONS(BmpWriterProperties)
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
TEnumProperty m_pixelSize;
// TBoolProperty m_compressed;
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
BmpWriterProperties();
void updateTranslation() override;
2016-03-19 06:57:51 +13:00
};
2016-06-15 18:43:10 +12:00
} // namespace
2016-03-19 06:57:51 +13:00
#endif