wrapped up view debug for now

master
Allen Webster 2016-06-10 11:32:41 -04:00
parent 494eba365a
commit 5c108dcbcb
1 changed files with 19 additions and 7 deletions

View File

@ -4634,10 +4634,12 @@ step_file_view(System_Functions *system, View *view, View *active_view, Input_Su
// + Incoming input // + Incoming input
// + Memory info // + Memory info
// + Thread info // + Thread info
// - View inspection // + View inspection
// - auto generate?
// - expand/collapse sections
// - Buffer inspection // - Buffer inspection
// - Command maps inspection // - Command maps inspection
// - Clipboard // - Clipboard inspection
String empty_str = string_zero(); String empty_str = string_zero();
@ -4939,6 +4941,9 @@ step_file_view(System_Functions *system, View *view, View *active_view, Input_Su
GUI_Scroll_Vars scroll = *view_ptr->current_scroll; GUI_Scroll_Vars scroll = *view_ptr->current_scroll;
SHOW_GUI_BLANK(0);
SHOW_GUI_REGION(1, h_align, "scroll region", view_ptr->scroll_region);
SHOW_GUI_BLANK(0); SHOW_GUI_BLANK(0);
SHOW_GUI_LINE(1, "recent file data"); SHOW_GUI_LINE(1, "recent file data");
{ {
@ -4967,20 +4972,27 @@ step_file_view(System_Functions *system, View *view, View *active_view, Input_Su
SHOW_GUI_INT_INT(2, h_align, "gui partition", SHOW_GUI_INT_INT(2, h_align, "gui partition",
view_ptr->gui_target.push.pos, view_ptr->gui_target.push.pos,
view_ptr->gui_target.push.max); view_ptr->gui_target.push.max);
SHOW_GUI_BLANK (2);
SHOW_GUI_ID (2, h_align, "active", view_ptr->gui_target.active); SHOW_GUI_ID (2, h_align, "active", view_ptr->gui_target.active);
SHOW_GUI_ID (2, h_align, "mouse_hot", view_ptr->gui_target.mouse_hot); SHOW_GUI_ID (2, h_align, "mouse_hot", view_ptr->gui_target.mouse_hot);
SHOW_GUI_ID (2, h_align, "auto_hot", view_ptr->gui_target.auto_hot); SHOW_GUI_ID (2, h_align, "auto_hot", view_ptr->gui_target.auto_hot);
SHOW_GUI_ID (2, h_align, "hover", view_ptr->gui_target.hover); SHOW_GUI_ID (2, h_align, "hover", view_ptr->gui_target.hover);
SHOW_GUI_ID (2, h_align, "scroll_id", view_ptr->gui_target.scroll_id);
SHOW_GUI_BLANK (2);
SHOW_GUI_SCROLL (2, h_align, "scroll_original", view_ptr->gui_target.scroll_original); SHOW_GUI_SCROLL (2, h_align, "scroll_original", view_ptr->gui_target.scroll_original);
SHOW_GUI_REGION (2, h_align, "region_original", view_ptr->gui_target.region_original); SHOW_GUI_REGION (2, h_align, "region_original", view_ptr->gui_target.region_original);
SHOW_GUI_BLANK (2);
SHOW_GUI_SCROLL (2, h_align, "scroll_updated", view_ptr->gui_target.scroll_updated); SHOW_GUI_SCROLL (2, h_align, "scroll_updated", view_ptr->gui_target.scroll_updated);
SHOW_GUI_REGION (2, h_align, "region_updated", view_ptr->gui_target.region_updated); SHOW_GUI_REGION (2, h_align, "region_updated", view_ptr->gui_target.region_updated);
SHOW_GUI_BLANK (1);
SHOW_GUI_SCROLL (1, h_align, "gui scroll", view_ptr->gui_scroll); SHOW_GUI_SCROLL (1, h_align, "gui scroll", view_ptr->gui_scroll);
} }
} }
}break; }break;
} }