lv_demo_conf.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * @file lv_demo_conf.h
  3. * Configuration file for v8.1.0-dev
  4. *
  5. */
  6. /*
  7. * COPY THIS FILE AS lv_demo_conf.h
  8. */
  9. #if 1 /*Set it to "1" to enable the content*/
  10. #ifndef LV_EX_CONF_H
  11. #define LV_EX_CONF_H
  12. /*******************
  13. * GENERAL SETTING
  14. *******************/
  15. #define LV_EX_PRINTF 0 /*Enable printf-ing data in demoes and examples*/
  16. #define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/
  17. #define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/
  18. /*********************
  19. * DEMO USAGE
  20. *********************/
  21. /*Show some widget*/
  22. #define LV_USE_DEMO_WIDGETS 1
  23. #if LV_USE_DEMO_WIDGETS
  24. #define LV_DEMO_WIDGETS_SLIDESHOW 1
  25. #endif
  26. /*Printer demo, optimized for 800x480*/
  27. #define LV_USE_DEMO_PRINTER 0
  28. /*Demonstrate the usage of encoder and keyboard*/
  29. #define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
  30. /*Benchmark your system*/
  31. #define LV_USE_DEMO_BENCHMARK 0
  32. /*Stress test for LVGL*/
  33. #define LV_USE_DEMO_STRESS 0
  34. /*Music player demo*/
  35. #define LV_USE_DEMO_MUSIC 1
  36. #if LV_USE_DEMO_MUSIC
  37. # define LV_DEMO_MUSIC_LANDSCAPE 0
  38. # define LV_DEMO_MUSIC_LARGE 0
  39. #define LV_DEMO_MUSIC_AUTO_PLAY 1
  40. #endif
  41. #endif /*LV_EX_CONF_H*/
  42. #endif /*End of "Content enable"*/