tahoma2d/toonz/sources/image/tga/tiio_tga.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

36 lines
834 B
C++

#pragma once
#ifndef TIIO_TGA_INCLUDED
#define TIIO_TGA_INCLUDED
#include "tiio.h"
//#include "timage_io.h"
#include "tproperty.h"
#include <QCoreApplication>
//===========================================================================
namespace Tiio {
//===========================================================================
class TgaWriterProperties final : public TPropertyGroup {
Q_DECLARE_TR_FUNCTIONS(TgaWriterProperties)
public:
TEnumProperty m_pixelSize; // 16,24,32
TBoolProperty m_compressed;
TgaWriterProperties();
void updateTranslation() override;
};
//===========================================================================
Tiio::Reader *makeTgaReader();
Tiio::Writer *makeTgaWriter();
//===========================================================================
} // namespace
#endif