/GUIX-v6.4.1/guix_studio/ |
D | menu_service_provider.cpp | 45 info->ewi.menu.text_x_offset, in WriteExtendedProperties() 46 info->ewi.menu.text_y_offset, in WriteExtendedProperties() 47 info->ewi.menu.list_total_count); in WriteExtendedProperties() 108 GX_MENU *menu = new GX_MENU; in CreateNewInstance() local 111 gx_menu_create(menu, "menu", parent, string_id, 0, in CreateNewInstance() 114 widget_info *info = InitWidgetInfo((GX_WIDGET *)menu); in CreateNewInstance() 122 info->font_id[0] = menu->gx_prompt_font_id; in CreateNewInstance() 123 info->color_id[NORMAL_TEXT_COLOR_INDEX] = menu->gx_prompt_normal_text_color; in CreateNewInstance() 124 info->color_id[SELECTED_TEXT_COLOR_INDEX] = menu->gx_prompt_selected_text_color; in CreateNewInstance() 125 info->color_id[DISABLED_TEXT_COLOR_INDEX] = menu->gx_prompt_disabled_text_color; in CreateNewInstance() [all …]
|
D | MainFrm.h | 243 void DisableMenuItem(CMenu *menu, CString string); 244 void EnableMenuItem(CMenu *menu, CString string); 245 void DisableMenuItem(CMenu *menu, INT id); 246 void EnableMenuItem(CMenu *menu, INT id);
|
/GUIX-v6.4.1/common/src/ |
D | gx_menu_create.c | 85 UINT _gx_menu_create(GX_MENU *menu, GX_CONST GX_CHAR *name, GX_WIDGET *parent, in _gx_menu_create() argument 91 …_gx_pixelmap_prompt_create((GX_PIXELMAP_PROMPT *)menu, name, GX_NULL, text_id, fill_id, style, men… in _gx_menu_create() 94 menu -> gx_widget_type = GX_TYPE_MENU; in _gx_menu_create() 95 menu -> gx_widget_draw_function = (VOID (*)(GX_WIDGET *))_gx_menu_draw; in _gx_menu_create() 96 … menu -> gx_widget_event_process_function = (UINT(*)(GX_WIDGET*, GX_EVENT*))_gx_menu_event_process; in _gx_menu_create() 97 menu -> gx_widget_style |= GX_STYLE_ENABLED; in _gx_menu_create() 98 menu -> gx_menu_text_x_offset = 10; in _gx_menu_create() 99 menu -> gx_menu_text_y_offset = 0; in _gx_menu_create() 100 menu -> gx_menu_list_total_count = 0; in _gx_menu_create() 102 if (!(menu -> gx_widget_style & GX_STYLE_TEXT_ALIGNMENT_MASK)) in _gx_menu_create() [all …]
|
D | gx_menu_text_draw.c | 70 VOID _gx_menu_text_draw(GX_MENU *menu) in _gx_menu_text_draw() argument 72 GX_WIDGET *widget = (GX_WIDGET *)menu; in _gx_menu_text_draw() 79 (menu -> gx_prompt_selected_text_color != 0)) in _gx_menu_text_draw() 81 color = menu -> gx_prompt_selected_text_color; in _gx_menu_text_draw() 85 color = menu -> gx_prompt_normal_text_color; in _gx_menu_text_draw() 89 menu -> gx_prompt_text_get_function((GX_PROMPT *)menu, &pText); in _gx_menu_text_draw() 93 _gx_widget_text_draw_ext((GX_WIDGET *)menu, color, in _gx_menu_text_draw() 94 menu -> gx_prompt_font_id, in _gx_menu_text_draw() 96 menu -> gx_menu_text_x_offset, in _gx_menu_text_draw() 97 menu -> gx_menu_text_y_offset); in _gx_menu_text_draw()
|
D | gx_menu_position.c | 73 UINT _gx_menu_one_level_position(GX_MENU *menu, GX_VALUE indentation) in _gx_menu_one_level_position() argument 75 GX_RECTANGLE *menu_size = &menu -> gx_widget_size; in _gx_menu_one_level_position() 76 GX_WIDGET *list = (GX_WIDGET *)&menu -> gx_menu_list; in _gx_menu_one_level_position() 92 if (menu -> gx_widget_style & GX_STYLE_MENU_EXPANDED) in _gx_menu_one_level_position() 96 _gx_widget_link(menu -> gx_widget_parent, (GX_WIDGET *)list); in _gx_menu_one_level_position() 162 if (menu -> gx_widget_style & GX_STYLE_MENU_EXPANDED) in _gx_menu_one_level_position() 212 UINT _gx_menu_position(GX_MENU *menu, GX_VALUE indentation) in _gx_menu_position() argument 215 GX_WIDGET *parent = (GX_WIDGET *)menu; in _gx_menu_position() 219 child = menu -> gx_menu_list.gx_widget_first_child; in _gx_menu_position()
|
D | gx_menu_text_offset_set.c | 71 UINT _gx_menu_text_offset_set(GX_MENU *menu, GX_VALUE x_offset, GX_VALUE y_offset) in _gx_menu_text_offset_set() argument 73 menu -> gx_menu_text_x_offset = x_offset; in _gx_menu_text_offset_set() 74 menu -> gx_menu_text_y_offset = y_offset; in _gx_menu_text_offset_set() 76 if (menu -> gx_widget_status & GX_STATUS_VISIBLE) in _gx_menu_text_offset_set() 78 _gx_system_dirty_mark((GX_WIDGET *)menu); in _gx_menu_text_offset_set()
|
D | gx_menu_event_process.c | 72 UINT _gx_menu_event_process(GX_MENU *menu, GX_EVENT *event_ptr) in _gx_menu_event_process() argument 79 if (menu -> gx_menu_list.gx_widget_first_child && in _gx_menu_event_process() 80 (menu -> gx_menu_list.gx_widget_parent == GX_NULL)) in _gx_menu_event_process() 82 _gx_widget_delete((GX_WIDGET *)&menu -> gx_menu_list); in _gx_menu_event_process() 93 return _gx_prompt_event_process((GX_PROMPT *)menu, event_ptr); in _gx_menu_event_process()
|
D | gx_menu_draw.c | 75 VOID _gx_menu_draw(GX_MENU *menu) in _gx_menu_draw() argument 78 _gx_pixelmap_prompt_background_draw((GX_PIXELMAP_PROMPT *)menu); in _gx_menu_draw() 81 _gx_menu_text_draw(menu); in _gx_menu_draw() 84 _gx_widget_children_draw((GX_WIDGET *)menu); in _gx_menu_draw()
|
D | gxe_menu_event_process.c | 73 UINT _gxe_menu_event_process(GX_MENU *menu, GX_EVENT *event_ptr) in _gxe_menu_event_process() argument 81 if ((menu == GX_NULL) || (event_ptr == GX_NULL)) in _gxe_menu_event_process() 87 if (menu -> gx_widget_type == 0) in _gxe_menu_event_process() 93 status = _gx_menu_event_process(menu, event_ptr); in _gxe_menu_event_process()
|
D | gxe_menu_create.c | 81 UINT _gxe_menu_create(GX_MENU *menu, GX_CONST GX_CHAR *name, GX_WIDGET *parent, in _gxe_menu_create() argument 91 if ((!menu) || (!size)) in _gxe_menu_create() 97 if (menu -> gx_widget_type != 0) in _gxe_menu_create() 109 status = _gx_menu_create(menu, name, parent, text_id, fill_id, style, menu_id, size); in _gxe_menu_create()
|
D | gxe_menu_insert.c | 73 UINT _gxe_menu_insert(GX_MENU *menu, GX_WIDGET *widget) in _gxe_menu_insert() argument 81 if ((!menu) || (!widget)) in _gxe_menu_insert() 87 status = _gx_menu_insert(menu, widget); in _gxe_menu_insert()
|
D | gxe_menu_remove.c | 73 UINT _gxe_menu_remove(GX_MENU *menu, GX_WIDGET *widget) in _gxe_menu_remove() argument 81 if ((!menu) || (!widget)) in _gxe_menu_remove() 87 status = _gx_menu_remove(menu, widget); in _gxe_menu_remove()
|
D | gxe_menu_text_offset_set.c | 75 UINT _gxe_menu_text_offset_set(GX_MENU *menu, GX_VALUE x_offset, GX_VALUE y_offset) in _gxe_menu_text_offset_set() argument 83 if (!menu) in _gxe_menu_text_offset_set() 89 status = _gx_menu_text_offset_set(menu, x_offset, y_offset); in _gxe_menu_text_offset_set()
|
D | gx_menu_insert.c | 70 UINT _gx_menu_insert(GX_MENU *menu, GX_WIDGET *widget) in _gx_menu_insert() argument 72 GX_WIDGET *list = (GX_WIDGET *)&menu -> gx_menu_list; in _gx_menu_insert() 79 menu -> gx_menu_list_total_count++; in _gx_menu_insert()
|
D | gx_menu_remove.c | 71 UINT _gx_menu_remove(GX_MENU *menu, GX_WIDGET *widget) in _gx_menu_remove() argument 77 menu->gx_menu_list_total_count--; in _gx_menu_remove()
|
/GUIX-v6.4.1/common/inc/ |
D | gx_menu.h | 65 VOID _gx_accordion_menu_draw(GX_ACCORDION_MENU *menu); 69 UINT _gx_menu_create(GX_MENU *menu, GX_CONST GX_CHAR *name, GX_WIDGET *parent, 72 VOID _gx_menu_draw(GX_MENU *menu); 73 UINT _gx_menu_event_process(GX_MENU *menu, GX_EVENT *event_ptr); 74 UINT _gx_menu_insert(GX_MENU *menu, GX_WIDGET *widget); 75 UINT _gx_menu_one_level_position(GX_MENU *menu, GX_VALUE indentation); 76 UINT _gx_menu_position(GX_MENU *menu, GX_VALUE indentation); 77 UINT _gx_menu_remove(GX_MENU *menu, GX_WIDGET *widget); 78 VOID _gx_menu_text_draw(GX_MENU *menu); 79 UINT _gx_menu_text_offset_set(GX_MENU *menu, GX_VALUE x_offset, GX_VALUE y_offset); [all …]
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_menu_position.c | 69 GX_MENU *menu; in control_thread_entry() local 74 menu = &menu_screen.menu_screen_tree_menu_2; in control_thread_entry() 75 gx_widget_style_add(menu, GX_STYLE_MENU_EXPANDED); in control_thread_entry() 77 menu = &menu_screen.menu_screen_tree_menu_2_1; in control_thread_entry() 78 gx_widget_style_add(menu, GX_STYLE_MENU_EXPANDED); in control_thread_entry() 79 size = menu->gx_widget_size; in control_thread_entry() 81 gx_widget_resize(menu, &size); in control_thread_entry()
|
D | validation_guix_menu_event_process_no_output.c | 49 GX_MENU menu; in control_thread_entry() local 56 status = gx_menu_event_process(&menu, GX_NULL); in control_thread_entry() 59 memset(&menu, 0, sizeof(GX_MENU)); in control_thread_entry() 60 status = gx_menu_event_process(&menu, &myevent); in control_thread_entry() 64 status = gx_menu_create(&menu, "menu", GX_NULL, 0, 0, 0, 0, &size); in control_thread_entry() 68 status = gx_menu_event_process(&menu, &myevent); in control_thread_entry()
|
D | validation_guix_menu_text_offset_set.c | 69 GX_MENU *menu; in control_thread_entry() local 72 menu = &menu_screen.menu_screen_mla_menu_1; in control_thread_entry() 73 gx_menu_text_offset_set( menu, 20, 20); in control_thread_entry() 84 gx_widget_style_add(menu, GX_STYLE_DRAW_SELECTED); in control_thread_entry() 85 gx_prompt_text_color_set((GX_PROMPT *)menu, 0, 0, 0); in control_thread_entry()
|
D | validation_guix_all_widgets_tree_view.c | 71 GX_WIDGET *menu; member 101 GX_WIDGET *menu; in control_thread_entry() local 130 menu = list->menu; in control_thread_entry() 132 size = &menu->gx_widget_size; in control_thread_entry() 183 sprintf(test_comment, "click on \"%s\" menu root", menu->gx_widget_name); in control_thread_entry() 188 sprintf(test_comment, "click on \"%s\" menu", menu->gx_widget_name); in control_thread_entry()
|
D | validation_guix_all_widgets_accordion_menu.c | 63 GX_WIDGET *menu; member 97 GX_WIDGET *menu; in control_thread_entry() local 138 menu = list->menu; in control_thread_entry() 140 size = &menu->gx_widget_size; in control_thread_entry() 167 sprintf(test_comment, "click on \"%s\"", menu->gx_widget_name); in control_thread_entry()
|
D | validation_guix_tree_view_show_event_process.c | 69 GX_MENU menu; in control_thread_entry() local 84 memset(&menu, 0, sizeof(GX_MENU)); in control_thread_entry() 85 gx_menu_create(&menu, "test_menu", &test_tree, 0, 0, GX_STYLE_ENABLED, 1026, &size); in control_thread_entry()
|
D | validation_guix_tree_view_event_process.c | 86 GX_MENU menu; in control_thread_entry() local 105 memset(&menu, 0, sizeof(GX_MENU)); in control_thread_entry() 107 …gx_menu_create(&menu, "menu", tree_view, 0, 0, GX_STYLE_ENABLED | GX_STYLE_MENU_EXPANDED, 1026, &s… in control_thread_entry()
|
/GUIX-v6.4.1/test/example_internal/dynamic_menu/ |
D | demo_guix_menu.c | 142 UINT sub_menu_event(GX_WINDOW *menu, GX_EVENT *event_ptr) in sub_menu_event() argument 147 gx_window_event_process(menu, event_ptr); in sub_menu_event() 154 gx_widget_delete(menu); in sub_menu_event() 159 gx_window_event_process(menu, event_ptr); in sub_menu_event()
|
/GUIX-v6.4.1/test/example_internal/menu/internal_build/vs_2019/ |
D | menu.sln | 8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "menu", "menu.vcxproj", "{BDD81F48-4F2F-4294-8B…
|