1// Aseprite
2// Copyright (C) 2001-2018 David Capello
3//
4// This program is distributed under the terms of
5// the End-User License Agreement for Aseprite.
6
7#ifndef FILTERS_TARGET_H_INCLUDED
8#define FILTERS_TARGET_H_INCLUDED
9#pragma once
10
11#define TARGET_RED_CHANNEL 1
12#define TARGET_GREEN_CHANNEL 2
13#define TARGET_BLUE_CHANNEL 4
14#define TARGET_ALPHA_CHANNEL 8
15#define TARGET_GRAY_CHANNEL 16
16#define TARGET_INDEX_CHANNEL 32
17
18#define TARGET_ALL_CHANNELS \
19 (TARGET_RED_CHANNEL | \
20 TARGET_GREEN_CHANNEL | \
21 TARGET_BLUE_CHANNEL | \
22 TARGET_ALPHA_CHANNEL | \
23 TARGET_GRAY_CHANNEL )
24
25namespace filters {
26
27 typedef int Target;
28
29} // namespace filters
30
31#endif
32