Home
last modified time | relevance | path

Searched refs:item (Results 1 – 3 of 3) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_menu_position.c78 GX_WIDGET *item; in _gx_menu_one_level_position() local
108 item = list -> gx_widget_first_child; in _gx_menu_one_level_position()
112 while (item) in _gx_menu_one_level_position()
114 if (item -> gx_widget_type == GX_TYPE_MENU_LIST) in _gx_menu_one_level_position()
116 item = item -> gx_widget_next; in _gx_menu_one_level_position()
120 …height = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_bottom - item -> gx_widget_size.gx_rectang… in _gx_menu_one_level_position()
121 …width = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_right - item -> gx_widget_size.gx_rectangle… in _gx_menu_one_level_position()
132 _gx_widget_resize(item, &size); in _gx_menu_one_level_position()
134 switch (item -> gx_widget_type) in _gx_menu_one_level_position()
137 item_list = &((GX_MENU *)item) -> gx_menu_list; in _gx_menu_one_level_position()
[all …]
Dgx_tree_view_event_process.c285 static UINT _gx_tree_view_root_icon_rect_get(GX_TREE_VIEW *tree, GX_WIDGET *item, GX_RECTANGLE *roo… in _gx_tree_view_root_icon_rect_get() argument
293 …root_rect -> gx_rectangle_left = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_left - (tree -> gx… in _gx_tree_view_root_icon_rect_get()
295 …root_rect -> gx_rectangle_top = (GX_VALUE)(item -> gx_widget_size.gx_rectangle_top + item -> gx_wi… in _gx_tree_view_root_icon_rect_get()
/GUIX-v6.2.1/tutorials/demo_guix_drop_list/
Ddemo_guix_drop_list.c128 DROP_LIST_ITEM *item = (DROP_LIST_ITEM *)widget; in drop_list_row_create() local
130 strcpy(item->text, "List Entry #"); in drop_list_row_create()
132 strcat(item->text, (char*)temp); in drop_list_row_create()
135 …gx_prompt_create(&item->prompt, item->text, list, 0, GX_STYLE_ENABLED | GX_STYLE_TEXT_LEFT | GX_ST… in drop_list_row_create()
136 …gx_widget_fill_color_set(&item->prompt, GX_COLOR_ID_LIGHT_SLATE_GRAY, GX_COLOR_ID_SLATE_GRAY, GX_C… in drop_list_row_create()
137 … gx_prompt_text_color_set(&item->prompt, GX_COLOR_ID_WHITE, GX_COLOR_ID_WHITE, GX_COLOR_ID_WHITE); in drop_list_row_create()
139 string.gx_string_ptr = item->text; in drop_list_row_create()
140 string.gx_string_length = string_length_get(item->text, MAX_ROW_TEXT_LENGTH); in drop_list_row_create()
142 gx_prompt_text_set_ext(&item->prompt, &string); in drop_list_row_create()