Lines Matching refs:current_info
377 widget_info *current_info; in Undo() local
431 current_info = entry->widget_list[widget_list_index].project_info; in Undo()
432 if (current_info) in Undo()
434 GetTargetScreen()->WidgetWasMoved(current_info); in Undo()
441 current_info = entry->widget_list[0].project_info; in Undo()
442 target = current_info->widget; in Undo()
444 if (current_info) in Undo()
446 current_info->style = entry->widget_list[0].copy_info->style; in Undo()
449 gx_widget_style_set(target, current_info->style); in Undo()
451 GetPropsWin()->WidgetWasModified(current_info); in Undo()
456 current_info = entry->widget_list[0].project_info; in Undo()
457 if (current_info) in Undo()
459 current_info->is_template = entry->widget_list[0].copy_info->is_template; in Undo()
460 GetPropsWin()->WidgetWasModified(current_info); in Undo()
465 current_info = entry->widget_list[0].project_info; in Undo()
466 target = current_info->widget; in Undo()
468 if (current_info) in Undo()
470 current_info->ewi = entry->widget_list[0].copy_info->ewi; in Undo()
471 current_info->misc_value = entry->widget_list[0].copy_info->misc_value; in Undo()
476 if (current_info->basetype == GX_TYPE_SLIDER) in Undo()
478 slider->gx_slider_tick_count = current_info->misc_value; in Undo()
480 gx_slider_info_set(slider, ¤t_info->ewi.slider); in Undo()
482 GetPropsWin()->WidgetWasModified(current_info); in Undo()
487 current_info = entry->widget_list[0].project_info; in Undo()
488 if (current_info) in Undo()
490 current_info->ewi = entry->widget_list[0].copy_info->ewi; in Undo()
491 properties_win::AssignProgressBarInfo(current_info); in Undo()
492 GetPropsWin()->WidgetWasModified(current_info); in Undo()
497 current_info = entry->widget_list[0].project_info; in Undo()
498 if (current_info) in Undo()
500 switch(current_info->basetype) in Undo()
504 … current_info->ewi.vlist.total_rows = entry->widget_list[0].copy_info->ewi.vlist.total_rows; in Undo()
508 …current_info->ewi.drop_list.total_rows = entry->widget_list[0].copy_info->ewi.drop_list.total_rows; in Undo()
514 GetPropsWin()->WidgetWasModified(current_info); in Undo()
519 current_info = entry->widget_list[0].project_info; in Undo()
520 if (current_info) in Undo()
522 …current_info->ewi.drop_list.open_height = entry->widget_list[0].copy_info->ewi.drop_list.open_heig… in Undo()
523 GetPropsWin()->WidgetWasModified(current_info); in Undo()
528 current_info = entry->widget_list[0].project_info; in Undo()
529 if (current_info) in Undo()
531 …current_info->ewi.text_info.dynamic_buffer = entry->widget_list[0].copy_info->ewi.text_info.dynami… in Undo()
532 GetPropsWin()->WidgetWasModified(current_info); in Undo()
537 current_info = entry->widget_list[0].project_info; in Undo()
538 if (current_info) in Undo()
540 …current_info->ewi.text_info.whitespace = entry->widget_list[0].copy_info->ewi.text_info.whitespace; in Undo()
541 GetPropsWin()->WidgetWasModified(current_info); in Undo()
546 current_info = entry->widget_list[0].project_info; in Undo()
547 if (current_info) in Undo()
549 …current_info->ewi.text_info.line_space = entry->widget_list[0].copy_info->ewi.text_info.line_space; in Undo()
550 GetPropsWin()->WidgetWasModified(current_info); in Undo()
555 current_info = entry->widget_list[0].project_info; in Undo()
556 if (current_info) in Undo()
558 …current_info->ewi.text_info.buffer_size = entry->widget_list[0].copy_info->ewi.text_info.buffer_si… in Undo()
559 GetPropsWin()->WidgetWasModified(current_info); in Undo()
564 current_info = entry->widget_list[0].project_info; in Undo()
565 if (current_info) in Undo()
568 widget_factory::ReplaceScrollbar(current_info, &appearance); in Undo()
569 GetPropsWin()->WidgetWasModified(current_info); in Undo()
574 current_info = entry->widget_list[0].project_info; in Undo()
575 if (current_info) in Undo()
577 GX_SCROLLBAR_APPEARANCE appearance = current_info->ewi.scroll; in Undo()
578 current_info->style = entry->widget_list[0].copy_info->style; in Undo()
579 widget_factory::ReplaceScrollbar(current_info, &appearance); in Undo()
580 GetPropsWin()->WidgetWasModified(current_info); in Undo()
592 current_info = entry->widget_list[widget_list_index].project_info; in Undo()
593 if (current_info) in Undo()
595 GetProjectView()->DeleteWidget(current_info); in Undo()
729 current_info = entry->widget_list[0].project_info; in Undo()
731 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
733 if (provider && current_info) in Undo()
735 provider->AssignColor(current_info, in Undo()
739 GetPropsWin()->WidgetWasModified(current_info); in Undo()
743 current_info = entry->widget_list[0].project_info; in Undo()
745 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
747 if (provider && current_info) in Undo()
749 provider->AssignFont(current_info, in Undo()
752 GetPropsWin()->WidgetWasModified(current_info); in Undo()
756 current_info = entry->widget_list[0].project_info; in Undo()
758 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
760 if (provider && current_info) in Undo()
762 provider->AssignPixelmap(current_info, in Undo()
766 GetPropsWin()->WidgetWasModified(current_info); in Undo()
770 current_info = entry->widget_list[0].project_info; in Undo()
774 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
776 if (display >= 0 && current_info && provider) in Undo()
778 provider->AssignText(current_info, 0, in Undo()
780 GetPropsWin()->WidgetWasModified(current_info); in Undo()
785 current_info = entry->widget_list[0].project_info; in Undo()
787 if (current_info) in Undo()
789 current_info->app_name = entry->widget_list[0].copy_info->app_name; in Undo()
790 current_info->callback_func = entry->widget_list[0].copy_info->callback_func; in Undo()
792 if (current_info->id_name != entry->widget_list[0].copy_info->id_name) in Undo()
794 display = pProject->GetDisplayIndex(current_info); in Undo()
796 if (!current_info->id_name.IsEmpty() && in Undo()
799 …pProject->mDisplays[display].screenflow->UpdateIdName(current_info, current_info->id_name, entry->… in Undo()
801 current_info->id_name = entry->widget_list[0].copy_info->id_name; in Undo()
803 current_info->event_func = entry->widget_list[0].copy_info->event_func; in Undo()
804 current_info->draw_func = entry->widget_list[0].copy_info->draw_func; in Undo()
805 GetPropsWin()->WidgetWasModified(current_info); in Undo()
810 current_info = entry->widget_list[0].project_info; in Undo()
812 if (current_info) in Undo()
814 current_info->user_data = entry->widget_list[0].copy_info->user_data; in Undo()
815 GetPropsWin()->WidgetWasModified(current_info); in Undo()
820 current_info = entry->widget_list[0].project_info; in Undo()
821 if (current_info) in Undo()
823 current_info->accepts_focus = entry->widget_list[0].copy_info->accepts_focus; in Undo()
824 GetPropsWin()->WidgetWasModified(current_info); in Undo()
829 current_info = entry->widget_list[0].project_info; in Undo()
830 if (current_info) in Undo()
832 current_info->ewi.gauge.info = entry->widget_list[0].copy_info->ewi.gauge.info; in Undo()
833 … current_info->ewi.gauge.start_angle = entry->widget_list[0].copy_info->ewi.gauge.start_angle; in Undo()
835 if (current_info->widget) in Undo()
837 GX_CIRCULAR_GAUGE *gauge = (GX_CIRCULAR_GAUGE *) current_info->widget; in Undo()
838 gauge->gx_circular_gauge_info = current_info->ewi.gauge.info; in Undo()
840 GetPropsWin()->WidgetWasModified(current_info); in Undo()
845 current_info = entry->widget_list[0].project_info; in Undo()
847 if (current_info) in Undo()
849 … current_info->ewi.line_chart_info = entry->widget_list[0].copy_info->ewi.line_chart_info; in Undo()
851 if (current_info->widget) in Undo()
853 GX_LINE_CHART *chart = (GX_LINE_CHART *) current_info->widget; in Undo()
854 chart->gx_line_chart_info = current_info->ewi.line_chart_info; in Undo()
856 GetPropsWin()->WidgetWasModified(current_info); in Undo()
861 current_info = entry->widget_list[0].project_info; in Undo()
862 if (current_info) in Undo()
864 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
866 ((prompt_service_provider *)provider)->AssignNumericValue(current_info, in Undo()
869 …current_info->ewi.numeric_prompt_value = entry->widget_list[0].copy_info->ewi.numeric_prompt_value; in Undo()
870 current_info->format_func = entry->widget_list[0].copy_info->format_func; in Undo()
871 GetPropsWin()->WidgetWasModified(current_info); in Undo()
876 current_info = entry->widget_list[0].project_info; in Undo()
878 if (current_info) in Undo()
880 …ider = (scroll_wheel_service_provider *)widget_factory::GetServiceProvider(current_info->basetype); in Undo()
883 … provider->AssignScrollWheelInfo(current_info, &entry->widget_list[0].copy_info->ewi.scroll_wheel); in Undo()
885 GetPropsWin()->WidgetWasModified(current_info); in Undo()
890 current_info = entry->widget_list[0].project_info; in Undo()
892 if (current_info) in Undo()
896 current_info->font_id[NORMAL_FONT_INDEX] = normal_font; in Undo()
897 current_info->font_id[SELECTED_FONT_INDEX] = selected_font; in Undo()
899 …= (text_scroll_wheel_service_provider *)widget_factory::GetServiceProvider(current_info->basetype); in Undo()
903 provider->AssignFont(current_info, NORMAL_FONT_INDEX, normal_font); in Undo()
904 provider->AssignFont(current_info, SELECTED_FONT_INDEX, selected_font); in Undo()
907 GetPropsWin()->WidgetWasModified(current_info); in Undo()
912 current_info = entry->widget_list[0].project_info; in Undo()
913 if (current_info) in Undo()
915 …(string_scroll_wheel_service_provider *)widget_factory::GetServiceProvider(current_info->basetype); in Undo()
920 current_info->callback_func = entry_info->callback_func; in Undo()
924 if (current_info->ewi.string_scroll_wheel.string_id_list) in Undo()
926 delete current_info->ewi.string_scroll_wheel.string_id_list; in Undo()
927 current_info->ewi.string_scroll_wheel.string_id_list = NULL; in Undo()
929 provider->CreateStringIdList(current_info, list_array); in Undo()
931 GetPropsWin()->WidgetWasModified(current_info); in Undo()
936 current_info = entry->widget_list[0].project_info; in Undo()
938 if (current_info) in Undo()
941 current_info->ewi.numeric_scroll_wheel = *wheel_info; in Undo()
943 …numeric_scroll_wheel_service_provider *)widget_factory::GetServiceProvider(current_info->basetype); in Undo()
944 target = current_info->widget; in Undo()
948 provider->AssignScrollWheelInfo(current_info, &wheel_info->base); in Undo()
949 … provider->AssignValueRange(current_info, wheel_info->start_val, wheel_info->end_val); in Undo()
950 GetPropsWin()->WidgetWasModified(current_info); in Undo()
956 current_info = entry->widget_list[0].project_info; in Undo()
958 if (current_info) in Undo()
961 target = current_info->widget; in Undo()
962 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
964 ((menu_service_provider *)provider)->AssignTextOffset(current_info, in Undo()
966 ((menu_service_provider *)provider)->AssignStyle(current_info, copy->style); in Undo()
967 current_info->ewi.menu.insert_as_menu_item = copy->ewi.menu.insert_as_menu_item; in Undo()
968 GetPropsWin()->WidgetWasModified(current_info); in Undo()
973 current_info = entry->widget_list[0].project_info; in Undo()
974 target = current_info->widget; in Undo()
976 if (current_info) in Undo()
978 …current_info->ewi.tree_view_indentation = entry->widget_list[0].copy_info->ewi.tree_view_indentati… in Undo()
981 … gx_tree_view_indentation_set((GX_TREE_VIEW *)target, current_info->ewi.tree_view_indentation); in Undo()
983 GetPropsWin()->WidgetWasModified(current_info); in Undo()
988 current_info = entry->widget_list[0].project_info; in Undo()
989 if (current_info) in Undo()
991 current_info->visible_at_startup = entry->widget_list[0].copy_info->visible_at_startup; in Undo()
992 GetPropsWin()->WidgetWasModified(current_info); in Undo()
997 current_info = entry->widget_list[0].project_info; in Undo()
999 if (current_info) in Undo()
1001 provider = widget_factory::GetServiceProvider(current_info->basetype); in Undo()
1002 …((radial_slider_service_provider *)provider)->SetRadialSliderInfo(current_info, &entry->widget_lis… in Undo()
1003 GetPropsWin()->WidgetWasModified(current_info); in Undo()