tahoma2d/toonz/sources/include/tiio_bmp.h
shun-iwasawa e87e0815f7 Make More UI Texts Translatable (#2026)
* make ui texts translatable

* add more translatable texts

* load translate file for default commands
2018-06-04 12:18:43 +09:00

38 lines
660 B
C++

#pragma once
#ifndef TTIO_BMP_INCLUDED
#define TTIO_BMP_INCLUDED
#include "tiio.h"
#include "tproperty.h"
#include <QCoreApplication>
#undef DVAPI
#ifdef TNZCORE_EXPORTS
#define DVAPI DV_EXPORT_API
#else
#define DVAPI DV_IMPORT_API
#endif
namespace Tiio {
DVAPI Tiio::ReaderMaker makeBmpReader;
DVAPI Tiio::WriterMaker makeBmpWriter;
// DVAPI TPropertyGroup *makeBmpWriterProperties();
class BmpWriterProperties final : public TPropertyGroup {
Q_DECLARE_TR_FUNCTIONS(BmpWriterProperties)
public:
TEnumProperty m_pixelSize;
// TBoolProperty m_compressed;
BmpWriterProperties();
void updateTranslation() override;
};
} // namespace
#endif