1// Aseprite
2// Copyright (C) 2020 Igara Studio S.A.
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef APP_FILE_TGA_OPTIONS_H_INCLUDED
8#define APP_FILE_TGA_OPTIONS_H_INCLUDED
9#pragma once
10
11#include "app/file/format_options.h"
12
13namespace app {
14
15 class TgaOptions : public FormatOptions {
16 public:
17 int bitsPerPixel() const { return m_bitsPerPixel; }
18 bool compress() const { return m_compress; }
19
20 void bitsPerPixel(int bpp) { m_bitsPerPixel = bpp; }
21 void compress(bool state) { m_compress = state; }
22
23 private:
24 int m_bitsPerPixel = 0;
25 bool m_compress = true;
26 };
27
28} // namespace app
29
30#endif
31