hyperdisplay_custom_conf.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. This is a custom configuration file for the hyperdisplay library
  3. The purpose is to customize the instance of the library
  4. for the particular needs of the application. For example
  5. on a small system the size of included code is a concern
  6. and so fewer optional items would be included. On a larger
  7. system however more advanced features may be desired, and
  8. they will require additional inclusions
  9. */
  10. #define HYPERDISPLAY_HAVE_CUSTOM_CONFIG // This line signifies to the library that a custom configuration exists.
  11. /*
  12. DRAWING_LEVEL:
  13. 0 - includes only primitive drawing functions:
  14. - pixel
  15. - xline
  16. - yline
  17. - rectangle
  18. - fillFromArray
  19. - fillWindow
  20. 1 - level 0 and:
  21. - line
  22. - polygon
  23. - circle
  24. 2 - level 1 and:
  25. -
  26. */
  27. #define HYPERDISPLAY_DRAWING_LEVEL 0
  28. /*
  29. USE_PRINT:
  30. 0 - disables printing text
  31. 1 - enables printing text, requires users to implement "getCharInfo()""
  32. */
  33. #define HYPERDISPLAY_USE_PRINT 1
  34. /*
  35. INCLUDE_DEFAULT_FONT
  36. 0 - don't include the default 5x7 program memory font (to save on program space)
  37. 1 - do include the default 5x7 program memory font (to NOT save on program space)
  38. */
  39. #define HYPERDISPLAY_INCLUDE_DEFAULT_FONT 1
  40. /*
  41. USE_MATH:
  42. 0 - disables mathematical drawing
  43. 1 - enables mathematical drawing, includes math.h and defines a mathematical object type
  44. */
  45. #define HYPERDISPLAY_USE_MATH 0