From 0621f30e9d4e69220991ad2a18ba6e89814f46f9 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Thu, 24 Mar 2011 14:12:30 +0000 Subject: move rtgui_win to branches. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1346 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- .../rtgui_win/include/rtgui/widgets/checkbox.h | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 components/rtgui_win/include/rtgui/widgets/checkbox.h (limited to 'components/rtgui_win/include/rtgui/widgets/checkbox.h') diff --git a/components/rtgui_win/include/rtgui/widgets/checkbox.h b/components/rtgui_win/include/rtgui/widgets/checkbox.h deleted file mode 100644 index fed9c6cbd8..0000000000 --- a/components/rtgui_win/include/rtgui/widgets/checkbox.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef __RTGUI_CHECKBOX_H__ -#define __RTGUI_CHECKBOX_H__ - -#include - - -#define RTGUI_CHECKBOX_TYPE (rtgui_checkbox_type_get()) -#define RTGUI_CHECKBOX(obj) (RTGUI_OBJECT_CAST((obj), RTGUI_CHECKBOX_TYPE, rtgui_checkbox_t)) -#define RTGUI_IS_CHECKBOX(obj) (RTGUI_OBJECT_CHECK_TYPE((obj), RTGUI_CHECKBOX_TYPE)) - -//#define RTGUI_CHECKBOX_STATUS_CHECKED 1 -//#define RTGUI_CHECKBOX_STATUS_UNCHECKED 0 - -struct rtgui_checkbox -{ - /* inherit from label */ - rtgui_label_t parent; - - /* check box status */ - int value; -}; -typedef struct rtgui_checkbox rtgui_checkbox_t; - -rtgui_type_t *rtgui_checkbox_type_get(void); - -rtgui_checkbox_t* rtgui_checkbox_create(PVOID wdt,const char* text, rt_bool_t checked,rtgui_color_t fc,int left,int top); -void rtgui_checkbox_destroy(rtgui_checkbox_t* checkbox); - -void rtgui_checkbox_set_checked(rtgui_checkbox_t* checkbox, rt_bool_t checked); -rt_bool_t rtgui_checkbox_get_checked(rtgui_checkbox_t* checkbox); - -rt_bool_t rtgui_checkbox_event_handler(PVOID wdt, rtgui_event_t* event); -void rtgui_checkbox_set_text(rtgui_checkbox_t *box, const char* text); - -#endif -- cgit v1.3.1