rtgui_config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. #define RTGUI_USING_FONT12
  28. #else
  29. #define RTGUI_USING_DFS_FILERW
  30. #define RTGUI_USING_HZ_FILE
  31. #endif
  32. // #define RTGUI_USING_SMALL_SIZE
  33. #define RTGUI_SVR_THREAD_PRIORITY 15
  34. #define RTGUI_SVR_THREAD_TIMESLICE 5
  35. #define RTGUI_SVR_THREAD_STACK_SIZE 2048
  36. #define RTGUI_APP_THREAD_PRIORITY 25
  37. #define RTGUI_APP_THREAD_TIMESLICE 8
  38. #endif