Debian Codegraph @

dwsys/Graphics_extensions_enums.h

raw
1 /* Graphics_extensions_enums.h
2 *
3 * Copyright (C) 2018-2020 David Weenink
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 enums_begin (kGraphicsMatrixCellDrawingOrder, 1)
20 enums_add (kGraphicsMatrixCellDrawingOrder, 1, ROWS, U"rows")
21 enums_add (kGraphicsMatrixCellDrawingOrder, 2, COLUMNS, U"columns")
22 enums_add (kGraphicsMatrixCellDrawingOrder, 3, INCREASING_VALUES, U"increasing values")
23 enums_add (kGraphicsMatrixCellDrawingOrder, 4, DECREASING_VALUES, U"decreasing values")
24 enums_add (kGraphicsMatrixCellDrawingOrder, 5, RANDOM, U"random")
25 enums_end (kGraphicsMatrixCellDrawingOrder, 5, RANDOM)
26
27 enums_begin (kGraphicsMatrixOrigin, 1)
28 enums_add (kGraphicsMatrixOrigin, 1, TOP_LEFT, U"top-left")
29 enums_add (kGraphicsMatrixOrigin, 2, TOP_RIGHT, U"top-right")
30 enums_add (kGraphicsMatrixOrigin, 3, BOTTOM_LEFT, U"bottom-left")
31 enums_add (kGraphicsMatrixOrigin, 4, BOTTOM_RIGHT, U"bottom-right")
32 enums_end (kGraphicsMatrixOrigin, 4, BOTTOM_RIGHT)
33
34 /* End of file Graphics_extensions_enums.h */