rtgui_server.h 802 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * File : rtgui_server.h
  3. * This file is part of RTGUI in 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-04 Bernard first version
  13. */
  14. #ifndef __RTGUI_SERVER_H__
  15. #define __RTGUI_SERVER_H__
  16. #include <rtgui/list.h>
  17. /* RTGUI server definitions */
  18. #define WINTITLE_HEIGHT 20
  19. #define WINTITLE_BORDER_SIZE 2
  20. /* top win manager init */
  21. void rtgui_win_init(void);
  22. void rtgui_server_init(void);
  23. /* post an event to server */
  24. void rtgui_server_post_event(rtgui_event_t* event, rt_size_t size);
  25. #endif