rtgui_config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * File : rtgui_config.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006 - 2009, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2009-10-16 Bernard first version
  13. */
  14. #ifndef __RTGUI_CONFIG_H__
  15. #define __RTGUI_CONFIG_H__
  16. /* RTGUI options */
  17. /* name length of RTGUI object */
  18. #define RTGUI_NAME_MAX 32
  19. /* #define RTGUI_USING_MOUSE_CURSOR */
  20. /* #define RTGUI_USING_FONT12 */
  21. #define RTGUI_USING_FONT16
  22. #define RTGUI_USING_FONTHZ
  23. #ifdef _WIN32
  24. #define RTGUI_USING_STDIO_FILERW
  25. #define RTGUI_IMAGE_PNG
  26. #define RTGUI_IMAGE_JPG
  27. #else
  28. #define RTGUI_USING_DFS_FILERW
  29. #define RTGUI_USING_HZ_FILE
  30. #endif
  31. #define RTGUI_SVR_THREAD_PRIORITY 15
  32. #define RTGUI_SVR_THREAD_TIMESLICE 5
  33. #define RTGUI_SVR_THREAD_STACK_SIZE 2048
  34. #define RTGUI_APP_THREAD_PRIORITY 25
  35. #define RTGUI_APP_THREAD_TIMESLICE 8
  36. #endif