Home
last modified time | relevance | path

Searched refs:checkbox (Results 1 – 11 of 11) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_checkbox_draw.c82 VOID _gx_checkbox_draw(GX_CHECKBOX *checkbox) in _gx_checkbox_draw() argument
84 GX_WIDGET *widget = (GX_WIDGET *)checkbox; in _gx_checkbox_draw()
98 text_color = checkbox -> gx_text_button_selected_text_color; in _gx_checkbox_draw()
99 pixelmap_id = checkbox -> gx_checkbox_checked_pixelmap_id; in _gx_checkbox_draw()
104 text_color = checkbox -> gx_text_button_normal_text_color; in _gx_checkbox_draw()
105 pixelmap_id = checkbox -> gx_checkbox_unchecked_pixelmap_id; in _gx_checkbox_draw()
110 fill_color = checkbox -> gx_widget_disabled_fill_color; in _gx_checkbox_draw()
111 text_color = checkbox -> gx_text_button_disabled_text_color; in _gx_checkbox_draw()
114 pixelmap_id = checkbox -> gx_checkbox_checked_disabled_pixelmap_id; in _gx_checkbox_draw()
118 pixelmap_id = checkbox -> gx_checkbox_unchecked_disabled_pixelmap_id; in _gx_checkbox_draw()
[all …]
Dgx_checkbox_create.c80 UINT _gx_checkbox_create(GX_CHECKBOX *checkbox, GX_CONST GX_CHAR *name, GX_WIDGET *parent, in _gx_checkbox_create() argument
88 …_gx_text_button_create((GX_TEXT_BUTTON *)checkbox, name, GX_NULL, text_id, style, checkbox_id, siz… in _gx_checkbox_create()
91 checkbox -> gx_widget_type = GX_TYPE_CHECKBOX; in _gx_checkbox_create()
92 checkbox -> gx_widget_draw_function = (VOID (*)(GX_WIDGET *))_gx_checkbox_draw; in _gx_checkbox_create()
93checkbox -> gx_button_select_handler = (VOID (*)(GX_WIDGET *))(void (*)(void))_gx_checkbox_select; in _gx_checkbox_create()
94checkbox -> gx_widget_event_process_function = (UINT (*)(GX_WIDGET *, GX_EVENT *))_gx_checkbox_eve… in _gx_checkbox_create()
95 checkbox -> gx_checkbox_checked_pixelmap_id = GX_PIXELMAP_CHECKBOX_ON_ID; in _gx_checkbox_create()
96 checkbox -> gx_checkbox_unchecked_pixelmap_id = GX_PIXELMAP_CHECKBOX_OFF_ID; in _gx_checkbox_create()
101 _gx_widget_link(parent, (GX_WIDGET *)checkbox); in _gx_checkbox_create()
Dgx_checkbox_pixelmap_set.c84 UINT _gx_checkbox_pixelmap_set(GX_CHECKBOX *checkbox, in _gx_checkbox_pixelmap_set() argument
92 checkbox -> gx_checkbox_unchecked_pixelmap_id = unchecked_id; in _gx_checkbox_pixelmap_set()
96 checkbox -> gx_checkbox_checked_pixelmap_id = checked_id; in _gx_checkbox_pixelmap_set()
100 checkbox -> gx_checkbox_unchecked_disabled_pixelmap_id = unchecked_disabled_id; in _gx_checkbox_pixelmap_set()
104 checkbox -> gx_checkbox_checked_disabled_pixelmap_id = checked_disabled_id; in _gx_checkbox_pixelmap_set()
107 if (checkbox -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_checkbox_pixelmap_set()
110 _gx_system_dirty_mark((GX_WIDGET *)checkbox); in _gx_checkbox_pixelmap_set()
Dgxe_checkbox_select.c74 UINT _gxe_checkbox_select(GX_CHECKBOX *checkbox) in _gxe_checkbox_select() argument
83 if ((checkbox == GX_NULL) || (checkbox -> gx_widget_parent == GX_NULL)) in _gxe_checkbox_select()
88 parent = checkbox -> gx_widget_parent; in _gxe_checkbox_select()
92 (checkbox -> gx_widget_type == 0)) in _gxe_checkbox_select()
98 status = _gx_checkbox_select(checkbox); in _gxe_checkbox_select()
Dgx_checkbox_select.c75 UINT _gx_checkbox_select(GX_CHECKBOX *checkbox) in _gx_checkbox_select() argument
77 GX_WIDGET *widget = (GX_WIDGET *)checkbox; in _gx_checkbox_select()
79 if (checkbox -> gx_widget_style & GX_STYLE_ENABLED) in _gx_checkbox_select()
81 if (!(checkbox -> gx_widget_style & GX_STYLE_BUTTON_PUSHED)) in _gx_checkbox_select()
83 checkbox -> gx_widget_style |= GX_STYLE_BUTTON_PUSHED; in _gx_checkbox_select()
88 checkbox -> gx_widget_style &= ~GX_STYLE_BUTTON_PUSHED; in _gx_checkbox_select()
Dgxe_checkbox_event_process.c76 UINT _gxe_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr) in _gxe_checkbox_event_process() argument
85 … if ((checkbox == GX_NULL) || (checkbox -> gx_widget_parent == GX_NULL) || (event_ptr == GX_NULL)) in _gxe_checkbox_event_process()
90 parent = checkbox -> gx_widget_parent; in _gxe_checkbox_event_process()
94 (checkbox -> gx_widget_type == 0)) in _gxe_checkbox_event_process()
100 status = _gx_checkbox_event_process(checkbox, event_ptr); in _gxe_checkbox_event_process()
Dgx_checkbox_event_process.c77 UINT _gx_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr) in _gx_checkbox_event_process() argument
89 checkbox -> gx_button_select_handler((GX_WIDGET *)checkbox); in _gx_checkbox_event_process()
92 status = _gx_widget_event_to_parent((GX_WIDGET *)checkbox, event_ptr); in _gx_checkbox_event_process()
98 status = _gx_text_button_event_process((GX_TEXT_BUTTON *)checkbox, event_ptr); in _gx_checkbox_event_process()
Dgxe_checkbox_create.c82 UINT _gxe_checkbox_create(GX_CHECKBOX *checkbox, GX_CONST GX_CHAR *name, GX_WIDGET *parent, in _gxe_checkbox_create() argument
92 if ((checkbox == GX_NULL) || (size == GX_NULL)) in _gxe_checkbox_create()
103 if (checkbox -> gx_widget_type != 0) in _gxe_checkbox_create()
109 status = _gx_checkbox_create(checkbox, name, parent, text_id, style, checkbox_id, size); in _gxe_checkbox_create()
Dgxe_checkbox_pixelmap_set.c85 UINT _gxe_checkbox_pixelmap_set(GX_CHECKBOX *checkbox, in _gxe_checkbox_pixelmap_set() argument
94 if (checkbox == GX_NULL) in _gxe_checkbox_pixelmap_set()
99 status = _gx_checkbox_pixelmap_set(checkbox, unchecked_id, checked_id, in _gxe_checkbox_pixelmap_set()
/GUIX-v6.2.1/common/inc/
Dgx_button.h66 UINT _gx_checkbox_create(GX_CHECKBOX *checkbox, GX_CONST GX_CHAR *name, GX_WIDGET *parent,
69 VOID _gx_checkbox_draw(GX_CHECKBOX *checkbox);
70 UINT _gx_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr);
73 UINT _gx_checkbox_select(GX_CHECKBOX *checkbox);
145 UINT _gxe_checkbox_create(GX_CHECKBOX *checkbox, GX_CONST GX_CHAR *name, GX_WIDGET *parent,
148 UINT _gxe_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr);
149 UINT _gxe_checkbox_pixelmap_set(GX_CHECKBOX *checkbox,
154 UINT _gxe_checkbox_select(GX_CHECKBOX *checkbox);
Dgx_api.h3724 UINT _gx_checkbox_create(GX_CHECKBOX *checkbox,
3729 VOID _gx_checkbox_draw(GX_CHECKBOX *checkbox);
3730 UINT _gx_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr);
3733 UINT _gx_checkbox_select(GX_CHECKBOX *checkbox);
5203 UINT _gxe_checkbox_create(GX_CHECKBOX *checkbox, GX_CONST GX_CHAR *name,
5207 VOID _gx_checkbox_draw(GX_CHECKBOX *checkbox);
5208 UINT _gxe_checkbox_event_process(GX_CHECKBOX *checkbox, GX_EVENT *event_ptr);
5211 UINT _gxe_checkbox_select(GX_CHECKBOX *checkbox);