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_UI_MAP_ALGORITHM_SELECTOR_H_INCLUDED |
8 | #define APP_UI_MAP_ALGORITHM_SELECTOR_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/rgbmap_algorithm.h" |
12 | #include "ui/combobox.h" |
13 | |
14 | namespace app { |
15 | |
16 | class RgbMapAlgorithmSelector : public ui::ComboBox { |
17 | public: |
18 | RgbMapAlgorithmSelector(); |
19 | |
20 | doc::RgbMapAlgorithm algorithm(); |
21 | void algorithm(doc::RgbMapAlgorithm mapAlgo); |
22 | }; |
23 | |
24 | } // namespace app |
25 | |
26 | #endif |
27 | |