Graphics_extensions_enums.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* Graphics_extensions_enums.h
  2. *
  3. * Copyright (C) 2018 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. enums_begin (kGraphicsMatrixCellDrawingOrder, 1)
  19. enums_add (kGraphicsMatrixCellDrawingOrder, 1, Rows, U"rows")
  20. enums_add (kGraphicsMatrixCellDrawingOrder, 2, Columns, U"columns")
  21. enums_add (kGraphicsMatrixCellDrawingOrder, 3, IncreasingValues, U"increasing-values")
  22. enums_add (kGraphicsMatrixCellDrawingOrder, 4, DecreasingValues, U"decreasing-values")
  23. enums_add (kGraphicsMatrixCellDrawingOrder, 5, Random, U"random")
  24. enums_end (kGraphicsMatrixCellDrawingOrder, 5, Rows)
  25. enums_begin (kGraphicsMatrixOrigin, 1)
  26. enums_add (kGraphicsMatrixOrigin, 1, TopLeft, U"top-left")
  27. enums_add (kGraphicsMatrixOrigin, 2, TopRight, U"top-right")
  28. enums_add (kGraphicsMatrixOrigin, 3, BottomLeft, U"bottom-left")
  29. enums_add (kGraphicsMatrixOrigin, 4, BottomRight, U"bottom-right")
  30. enums_end (kGraphicsMatrixOrigin, 4, TopLeft)
  31. /* End of file Graphics_extensions_enums.h */