mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-03 04:28:12 +00:00
merge view rules & view specs entirely; simplify graphical view rules down to single hook
This commit is contained in:
+122
-196
@@ -465,54 +465,54 @@ RD_CmdKindInfo rd_cmd_kind_info_table[217] =
|
||||
|
||||
RD_StringBindingPair rd_default_binding_table[110] =
|
||||
{
|
||||
{str8_lit_comp("kill_all"), {OS_Key_F5, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("step_into_inst"), {OS_Key_F11, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("step_over_inst"), {OS_Key_F10, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("step_out"), {OS_Key_F11, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("halt"), {OS_Key_X, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("kill_all"), {OS_Key_F5, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("step_into_inst"), {OS_Key_F11, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("step_over_inst"), {OS_Key_F10, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("step_out"), {OS_Key_F11, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("halt"), {OS_Key_X, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("halt"), {OS_Key_Pause, 0 }},
|
||||
{str8_lit_comp("soft_halt_refresh"), {OS_Key_R, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("soft_halt_refresh"), {OS_Key_R, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("run"), {OS_Key_F5, 0 }},
|
||||
{str8_lit_comp("restart"), {OS_Key_F5, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("restart"), {OS_Key_F5, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("step_into"), {OS_Key_F11, 0 }},
|
||||
{str8_lit_comp("step_over"), {OS_Key_F10, 0 }},
|
||||
{str8_lit_comp("run_to_cursor"), {OS_Key_F10, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("set_next_statement"), {OS_Key_F10, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("inc_ui_font_scale"), {OS_Key_Equal, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("dec_ui_font_scale"), {OS_Key_Minus, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("inc_code_font_scale"), {OS_Key_Equal, 0 |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("dec_code_font_scale"), {OS_Key_Minus, 0 |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("window"), {OS_Key_N, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("toggle_fullscreen"), {OS_Key_Return, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("new_panel_right"), {OS_Key_P, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("new_panel_down"), {OS_Key_Minus, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("rotate_panel_columns"), {OS_Key_2, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("next_panel"), {OS_Key_Comma, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("prev_panel"), {OS_Key_Comma, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("focus_panel_right"), {OS_Key_Right, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("focus_panel_left"), {OS_Key_Left, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("focus_panel_up"), {OS_Key_Up, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("focus_panel_down"), {OS_Key_Down, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("undo"), {OS_Key_Z, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("redo"), {OS_Key_Y, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("go_back"), {OS_Key_Left, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("go_forward"), {OS_Key_Right, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("close_panel"), {OS_Key_P, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("next_tab"), {OS_Key_PageDown, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("prev_tab"), {OS_Key_PageUp, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("next_tab"), {OS_Key_Tab, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("prev_tab"), {OS_Key_Tab, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_tab_right"), {OS_Key_PageDown, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_tab_left"), {OS_Key_PageUp, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("close_tab"), {OS_Key_W, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("tab_bar_top"), {OS_Key_Up, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("tab_bar_bottom"), {OS_Key_Down, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("open"), {OS_Key_O, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("reload_active"), {OS_Key_R, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("switch"), {OS_Key_I, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("switch_to_partner_file"), {OS_Key_O, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("open_user"), {OS_Key_O, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("open_project"), {OS_Key_O, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("run_to_cursor"), {OS_Key_F10, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("set_next_statement"), {OS_Key_F10, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("inc_ui_font_scale"), {OS_Key_Equal, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("dec_ui_font_scale"), {OS_Key_Minus, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("inc_code_font_scale"), {OS_Key_Equal, 0 |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("dec_code_font_scale"), {OS_Key_Minus, 0 |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("window"), {OS_Key_N, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("toggle_fullscreen"), {OS_Key_Return, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("new_panel_right"), {OS_Key_P, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("new_panel_down"), {OS_Key_Minus, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("rotate_panel_columns"), {OS_Key_2, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("next_panel"), {OS_Key_Comma, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("prev_panel"), {OS_Key_Comma, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("focus_panel_right"), {OS_Key_Right, 0 |OS_Modifier_Ctrl |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("focus_panel_left"), {OS_Key_Left, 0 |OS_Modifier_Ctrl |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("focus_panel_up"), {OS_Key_Up, 0 |OS_Modifier_Ctrl |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("focus_panel_down"), {OS_Key_Down, 0 |OS_Modifier_Ctrl |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("undo"), {OS_Key_Z, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("redo"), {OS_Key_Y, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("go_back"), {OS_Key_Left, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("go_forward"), {OS_Key_Right, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("close_panel"), {OS_Key_P, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("next_tab"), {OS_Key_PageDown, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("prev_tab"), {OS_Key_PageUp, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("next_tab"), {OS_Key_Tab, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("prev_tab"), {OS_Key_Tab, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_tab_right"), {OS_Key_PageDown, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_tab_left"), {OS_Key_PageUp, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("close_tab"), {OS_Key_W, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("tab_bar_top"), {OS_Key_Up, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("tab_bar_bottom"), {OS_Key_Down, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("open"), {OS_Key_O, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("reload_active"), {OS_Key_R, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("switch"), {OS_Key_I, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("switch_to_partner_file"), {OS_Key_O, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("open_user"), {OS_Key_O, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("open_project"), {OS_Key_O, 0 |OS_Modifier_Ctrl |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("edit"), {OS_Key_F2, 0 }},
|
||||
{str8_lit_comp("accept"), {OS_Key_Return, 0 }},
|
||||
{str8_lit_comp("cancel"), {OS_Key_Esc, 0 }},
|
||||
@@ -520,61 +520,61 @@ RD_StringBindingPair rd_default_binding_table[110] =
|
||||
{str8_lit_comp("move_right"), {OS_Key_Right, 0 }},
|
||||
{str8_lit_comp("move_up"), {OS_Key_Up, 0 }},
|
||||
{str8_lit_comp("move_down"), {OS_Key_Down, 0 }},
|
||||
{str8_lit_comp("move_left_select"), {OS_Key_Left, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_right_select"), {OS_Key_Right, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_up_select"), {OS_Key_Up, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_down_select"), {OS_Key_Down, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_left_chunk"), {OS_Key_Left, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_right_chunk"), {OS_Key_Right, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_up_chunk"), {OS_Key_Up, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_down_chunk"), {OS_Key_Down, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_left_select"), {OS_Key_Left, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_right_select"), {OS_Key_Right, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_up_select"), {OS_Key_Up, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_down_select"), {OS_Key_Down, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_left_chunk"), {OS_Key_Left, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_right_chunk"), {OS_Key_Right, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_up_chunk"), {OS_Key_Up, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_down_chunk"), {OS_Key_Down, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_up_page"), {OS_Key_PageUp, 0 }},
|
||||
{str8_lit_comp("move_down_page"), {OS_Key_PageDown, 0 }},
|
||||
{str8_lit_comp("move_up_whole"), {OS_Key_Home, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_down_whole"), {OS_Key_End, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_left_chunk_select"), {OS_Key_Left, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_right_chunk_select"), {OS_Key_Right, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_up_chunk_select"), {OS_Key_Up, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_down_chunk_select"), {OS_Key_Down, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_up_page_select"), {OS_Key_PageUp, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_down_page_select"), {OS_Key_PageDown, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_up_whole_select"), {OS_Key_Home, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_down_whole_select"), {OS_Key_End, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_up_reorder"), {OS_Key_Up, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("move_down_reorder"), {OS_Key_Down, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("move_up_whole"), {OS_Key_Home, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_down_whole"), {OS_Key_End, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("move_left_chunk_select"), {OS_Key_Left, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_right_chunk_select"), {OS_Key_Right, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_up_chunk_select"), {OS_Key_Up, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_down_chunk_select"), {OS_Key_Down, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_up_page_select"), {OS_Key_PageUp, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_down_page_select"), {OS_Key_PageDown, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_up_whole_select"), {OS_Key_Home, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_down_whole_select"), {OS_Key_End, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_up_reorder"), {OS_Key_Up, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("move_down_reorder"), {OS_Key_Down, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("move_home"), {OS_Key_Home, 0 }},
|
||||
{str8_lit_comp("move_end"), {OS_Key_End, 0 }},
|
||||
{str8_lit_comp("move_home_select"), {OS_Key_Home, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("move_end_select"), {OS_Key_End, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("select_all"), {OS_Key_A, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("move_home_select"), {OS_Key_Home, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("move_end_select"), {OS_Key_End, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("select_all"), {OS_Key_A, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("delete_single"), {OS_Key_Delete, 0 }},
|
||||
{str8_lit_comp("delete_chunk"), {OS_Key_Delete, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("delete_chunk"), {OS_Key_Delete, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("backspace_single"), {OS_Key_Backspace, 0 }},
|
||||
{str8_lit_comp("backspace_chunk"), {OS_Key_Backspace, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("copy"), {OS_Key_C, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("copy"), {OS_Key_Insert, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("cut"), {OS_Key_X, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("paste"), {OS_Key_V, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("paste"), {OS_Key_Insert, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("backspace_chunk"), {OS_Key_Backspace, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("copy"), {OS_Key_C, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("copy"), {OS_Key_Insert, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("cut"), {OS_Key_X, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("paste"), {OS_Key_V, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("paste"), {OS_Key_Insert, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("insert_text"), {OS_Key_Null, 0 }},
|
||||
{str8_lit_comp("goto_line"), {OS_Key_G, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("goto_address"), {OS_Key_G, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("find_text_forward"), {OS_Key_F, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("find_text_backward"), {OS_Key_R, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("goto_line"), {OS_Key_G, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("goto_address"), {OS_Key_G, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("find_text_forward"), {OS_Key_F, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("find_text_backward"), {OS_Key_R, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("find_next"), {OS_Key_F3, 0 }},
|
||||
{str8_lit_comp("find_prev"), {OS_Key_F3, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("find_prev"), {OS_Key_F3, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("find_selected_thread"), {OS_Key_F4, 0 }},
|
||||
{str8_lit_comp("goto_name"), {OS_Key_J, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("goto_name"), {OS_Key_J, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("goto_name_at_cursor"), {OS_Key_F12, 0 }},
|
||||
{str8_lit_comp("toggle_watch_expr_at_cursor"), {OS_Key_W, 0 |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("toggle_watch_expr_at_mouse"), {OS_Key_D, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("toggle_watch_pin"), {OS_Key_F9, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("toggle_watch_expr_at_cursor"), {OS_Key_W, 0 |OS_Modifier_Alt}},
|
||||
{str8_lit_comp("toggle_watch_expr_at_mouse"), {OS_Key_D, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("toggle_watch_pin"), {OS_Key_F9, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("toggle_breakpoint"), {OS_Key_F9, 0 }},
|
||||
{str8_lit_comp("add_target"), {OS_Key_T, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("attach"), {OS_Key_F6, 0 |OS_EventFlag_Shift }},
|
||||
{str8_lit_comp("filter"), {OS_Key_Slash, 0 |OS_EventFlag_Ctrl }},
|
||||
{str8_lit_comp("add_target"), {OS_Key_T, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("attach"), {OS_Key_F6, 0 |OS_Modifier_Shift }},
|
||||
{str8_lit_comp("filter"), {OS_Key_Slash, 0 |OS_Modifier_Ctrl }},
|
||||
{str8_lit_comp("run_command"), {OS_Key_F1, 0 }},
|
||||
{str8_lit_comp("log_marker"), {OS_Key_M, 0 |OS_EventFlag_Ctrl |OS_EventFlag_Shift |OS_EventFlag_Alt}},
|
||||
{str8_lit_comp("log_marker"), {OS_Key_M, 0 |OS_Modifier_Ctrl |OS_Modifier_Shift |OS_Modifier_Alt}},
|
||||
};
|
||||
|
||||
String8 rd_binding_version_remap_old_name_table[7] =
|
||||
@@ -672,80 +672,42 @@ str8_lit_comp("5"),
|
||||
str8_lit_comp("c"),
|
||||
};
|
||||
|
||||
String8 rd_view_kind_name_lower_table[34] =
|
||||
RD_ViewRuleInfo rd_view_rule_kind_info_table[34] =
|
||||
{
|
||||
str8_lit_comp("null"),
|
||||
str8_lit_comp("empty"),
|
||||
str8_lit_comp("getting_started"),
|
||||
str8_lit_comp("commands"),
|
||||
str8_lit_comp("file_system"),
|
||||
str8_lit_comp("system_processes"),
|
||||
str8_lit_comp("entity_lister"),
|
||||
str8_lit_comp("symbol_lister"),
|
||||
str8_lit_comp("target"),
|
||||
str8_lit_comp("targets"),
|
||||
str8_lit_comp("file_path_map"),
|
||||
str8_lit_comp("auto_view_rules"),
|
||||
str8_lit_comp("breakpoints"),
|
||||
str8_lit_comp("watch_pins"),
|
||||
str8_lit_comp("scheduler"),
|
||||
str8_lit_comp("call_stack"),
|
||||
str8_lit_comp("modules"),
|
||||
str8_lit_comp("watch"),
|
||||
str8_lit_comp("locals"),
|
||||
str8_lit_comp("registers"),
|
||||
str8_lit_comp("globals"),
|
||||
str8_lit_comp("thread_locals"),
|
||||
str8_lit_comp("types"),
|
||||
str8_lit_comp("procedures"),
|
||||
str8_lit_comp("pending_file"),
|
||||
str8_lit_comp("text"),
|
||||
str8_lit_comp("disasm"),
|
||||
str8_lit_comp("output"),
|
||||
str8_lit_comp("memory"),
|
||||
str8_lit_comp("bitmap"),
|
||||
str8_lit_comp("color_rgba"),
|
||||
str8_lit_comp("geo3d"),
|
||||
str8_lit_comp("exception_filters"),
|
||||
str8_lit_comp("settings"),
|
||||
};
|
||||
|
||||
RD_ViewSpecInfo rd_gfx_view_kind_spec_info_table[34] =
|
||||
{
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("null"), str8_lit_comp(""), RD_IconKind_Null, RD_VIEW_UI_FUNCTION_NAME(null)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("empty"), str8_lit_comp(""), RD_IconKind_Null, RD_VIEW_UI_FUNCTION_NAME(empty)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("getting_started"), str8_lit_comp("Getting Started"), RD_IconKind_QuestionMark, RD_VIEW_UI_FUNCTION_NAME(getting_started)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("commands"), str8_lit_comp("Commands"), RD_IconKind_List, RD_VIEW_UI_FUNCTION_NAME(commands)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("file_system"), str8_lit_comp("File System"), RD_IconKind_FileOutline, RD_VIEW_UI_FUNCTION_NAME(file_system)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("system_processes"), str8_lit_comp("System Processes"), RD_IconKind_Null, RD_VIEW_UI_FUNCTION_NAME(system_processes)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("entity_lister"), str8_lit_comp("Entity List"), RD_IconKind_Null, RD_VIEW_UI_FUNCTION_NAME(entity_lister)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("symbol_lister"), str8_lit_comp("Symbols"), RD_IconKind_Null, RD_VIEW_UI_FUNCTION_NAME(symbol_lister)},
|
||||
{(0|1*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("target"), str8_lit_comp("Target"), RD_IconKind_Target, RD_VIEW_UI_FUNCTION_NAME(target)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("targets"), str8_lit_comp("Targets"), RD_IconKind_Target, RD_VIEW_UI_FUNCTION_NAME(targets)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("file_path_map"), str8_lit_comp("File Path Map"), RD_IconKind_FileOutline, RD_VIEW_UI_FUNCTION_NAME(file_path_map)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("auto_view_rules"), str8_lit_comp("Auto View Rules"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(auto_view_rules)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("breakpoints"), str8_lit_comp("Breakpoints"), RD_IconKind_CircleFilled, RD_VIEW_UI_FUNCTION_NAME(breakpoints)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("watch_pins"), str8_lit_comp("Watch Pins"), RD_IconKind_Pin, RD_VIEW_UI_FUNCTION_NAME(watch_pins)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("scheduler"), str8_lit_comp("Scheduler"), RD_IconKind_Scheduler, RD_VIEW_UI_FUNCTION_NAME(scheduler)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("call_stack"), str8_lit_comp("Call Stack"), RD_IconKind_Thread, RD_VIEW_UI_FUNCTION_NAME(call_stack)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("modules"), str8_lit_comp("Modules"), RD_IconKind_Module, RD_VIEW_UI_FUNCTION_NAME(modules)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("watch"), str8_lit_comp("Watch"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(watch)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("locals"), str8_lit_comp("Locals"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(locals)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("registers"), str8_lit_comp("Registers"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(registers)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("globals"), str8_lit_comp("Globals"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(globals)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("thread_locals"), str8_lit_comp("Thread Locals"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(thread_locals)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("types"), str8_lit_comp("Types"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(types)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("procedures"), str8_lit_comp("Procedures"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(procedures)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|0*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("pending_file"), str8_lit_comp("Pending File"), RD_IconKind_FileOutline, RD_VIEW_UI_FUNCTION_NAME(pending_file)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|1*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("text"), str8_lit_comp("Text"), RD_IconKind_FileOutline, RD_VIEW_UI_FUNCTION_NAME(text)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("disasm"), str8_lit_comp("Disassembly"), RD_IconKind_Glasses, RD_VIEW_UI_FUNCTION_NAME(disasm)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("output"), str8_lit_comp("Output"), RD_IconKind_List, RD_VIEW_UI_FUNCTION_NAME(output)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("memory"), str8_lit_comp("Memory"), RD_IconKind_Grid, RD_VIEW_UI_FUNCTION_NAME(memory)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("bitmap"), str8_lit_comp("Bitmap"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(bitmap)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("color_rgba"), str8_lit_comp("Color (RGBA)"), RD_IconKind_Palette, RD_VIEW_UI_FUNCTION_NAME(color_rgba)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|0*RD_ViewSpecFlag_CanFilter|1*RD_ViewSpecFlag_FilterIsCode|0*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("geo3d"), str8_lit_comp("Geometry (3D)"), RD_IconKind_Binoculars, RD_VIEW_UI_FUNCTION_NAME(geo3d)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("exception_filters"), str8_lit_comp("Exception Filters"), RD_IconKind_Gear, RD_VIEW_UI_FUNCTION_NAME(exception_filters)},
|
||||
{(0|0*RD_ViewSpecFlag_ParameterizedByEntity|0*RD_ViewSpecFlag_ProjectSpecific|1*RD_ViewSpecFlag_CanSerialize|1*RD_ViewSpecFlag_CanFilter|0*RD_ViewSpecFlag_FilterIsCode|1*RD_ViewSpecFlag_TypingAutomaticallyFilters), str8_lit_comp("settings"), str8_lit_comp("Settings"), RD_IconKind_Gear, RD_VIEW_UI_FUNCTION_NAME(settings)},
|
||||
{{0}, {0}, {0}, {0}, RD_IconKind_Null, 0, 0, RD_VIEW_RULE_UI_FUNCTION_NAME(null)},
|
||||
{str8_lit_comp("empty"), str8_lit_comp(""), str8_lit_comp(""), str8_lit_comp(""), RD_IconKind_Null, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(empty)},
|
||||
{str8_lit_comp("getting_started"), str8_lit_comp(""), str8_lit_comp("Getting Started"), str8_lit_comp(""), RD_IconKind_QuestionMark, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(getting_started)},
|
||||
{str8_lit_comp("exception_filters"), str8_lit_comp("An interface which controls whether or not the debugger will halt attached processes upon encountering specific exception codes for the first time."), str8_lit_comp("Exception Filters"), str8_lit_comp(""), RD_IconKind_Gear, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(exception_filters)},
|
||||
{str8_lit_comp("settings"), str8_lit_comp("An interface to modify general settings for the debugger's appearance and behavior."), str8_lit_comp("Settings"), str8_lit_comp(""), RD_IconKind_Gear, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(settings)},
|
||||
{str8_lit_comp("pending_file"), str8_lit_comp(""), str8_lit_comp("Pending File"), str8_lit_comp(""), RD_IconKind_FileOutline, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(pending_file)},
|
||||
{str8_lit_comp("commands"), str8_lit_comp(""), str8_lit_comp("Commands"), str8_lit_comp(""), RD_IconKind_List, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(commands)},
|
||||
{str8_lit_comp("file_system"), str8_lit_comp(""), str8_lit_comp("File System"), str8_lit_comp(""), RD_IconKind_FileOutline, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(file_system)},
|
||||
{str8_lit_comp("system_processes"), str8_lit_comp(""), str8_lit_comp("System Processes"), str8_lit_comp(""), RD_IconKind_Null, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(system_processes)},
|
||||
{str8_lit_comp("entity_lister"), str8_lit_comp(""), str8_lit_comp("Entity List"), str8_lit_comp(""), RD_IconKind_Null, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(entity_lister)},
|
||||
{str8_lit_comp("symbol_lister"), str8_lit_comp(""), str8_lit_comp("Symbols"), str8_lit_comp(""), RD_IconKind_Null, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(symbol_lister)},
|
||||
{str8_lit_comp("watch"), str8_lit_comp("The familiar 'watch window' debugger interface. Allows the inputting of a number of expressions. Each expression in the table is evaluated within the context of the selected thread's selected call stack frame. If applicable (depending on visualization rules and the expression's type), these expressions may be hierarchically expanded, which displays children as more rows in the table. The values of these expressions may also be edited, and if possible, can be used to write to registers or memory in attached processes. Also contains a new *view rule* column, not found in other major debuggers, which allows per-row specification of various visualization rules. These view rules may be used to visualize and inspect the evaluation of expressions in a variety of ways. To learn more, read the 'View Rules' section."), str8_lit_comp("Watch"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(watch)},
|
||||
{str8_lit_comp("locals"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with local variables found within the selected call stack frame of the selected thread, according to the associated debug info. View rules and evaluation values can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Locals"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(locals)},
|
||||
{str8_lit_comp("registers"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with all register names according to the selected thread's architecture. View rules and evaluation values can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Registers"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(registers)},
|
||||
{str8_lit_comp("globals"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with all global variables within the selected thread's module. View rules and evaluation values can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Globals"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(globals)},
|
||||
{str8_lit_comp("thread_locals"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with all thread local variables within the selected thread's module. View rules and evaluation values can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Thread Locals"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(thread_locals)},
|
||||
{str8_lit_comp("types"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with all types within the selected thread's module. View rules can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Types"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(types)},
|
||||
{str8_lit_comp("procedures"), str8_lit_comp("Nearly identical to `Watch`, but automatically filled with all procedures within the selected thread's module. View rules can be edited, like in `Watch`, but unlike `Watch`, expressions cannot be edited or added to the table."), str8_lit_comp("Procedures"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(procedures)},
|
||||
{str8_lit_comp("targets"), str8_lit_comp("Displays a list of all targets, as well as controls for enabling, disabling, launching, editing, or deleting each target. For more information on targets, read the `Targets` section."), str8_lit_comp("Targets"), str8_lit_comp(""), RD_IconKind_Target, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(targets)},
|
||||
{str8_lit_comp("file_path_map"), str8_lit_comp("Displays a table of *path maps*. Each path map is a pair of file or folder paths, one being a 'source' path, and one being a 'destination' path. These pairs are used by the debugger when automatically searching for specific files - for instance, when attempting to snap to a source code location specified by debug info. If debug info refers to a path on the machine on which a target executable was originally built, but that path is not valid on the debugger machine, but some alternative path exists, then path maps may be used to redirect the debugger from the debug info's specified paths to the associated appropriate debugger machine file paths."), str8_lit_comp("File Path Map"), str8_lit_comp(""), RD_IconKind_FileOutline, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(file_path_map)},
|
||||
{str8_lit_comp("auto_view_rules"), str8_lit_comp("Displays a table of *auto view rules*. Each *auto view rule* is a pair, with one element being a type, and the other being a view rule, which should be automatically applied to expressions of that type, when possible."), str8_lit_comp("Auto View Rules"), str8_lit_comp(""), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(auto_view_rules)},
|
||||
{str8_lit_comp("breakpoints"), str8_lit_comp("Displays a table of all breakpoints, containing information about each breakpoint's name, location, and hit count. Also contains per-breakpoint controls for enabling, deleting, or editing each breakpoint. For more information on breakpoints and their features, read the 'Breakpoints' section."), str8_lit_comp("Breakpoints"), str8_lit_comp(""), RD_IconKind_CircleFilled, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(breakpoints)},
|
||||
{str8_lit_comp("watch_pins"), str8_lit_comp("Displays a table of all watch pins (watched expressions, like those found in `Watch`, but instead of being within a table, being pinned to some source code location, like breakpoints). This table contains each pin's name, location, and controls for editing or deleting each pin."), str8_lit_comp("Watch Pins"), str8_lit_comp(""), RD_IconKind_Pin, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(watch_pins)},
|
||||
{str8_lit_comp("scheduler"), str8_lit_comp("Displays all processes and threads to which the debugger is currently attached, and contains controls for selecting and freezing threads."), str8_lit_comp("Scheduler"), str8_lit_comp(""), RD_IconKind_Scheduler, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(scheduler)},
|
||||
{str8_lit_comp("call_stack"), str8_lit_comp("Displays the call stack of the currently selected thread. Each frame in the call stack contains the associated module, function name, and return address. Allows selection of a particular call stack frame other than the top."), str8_lit_comp("Call Stack"), str8_lit_comp(""), RD_IconKind_Thread, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(call_stack)},
|
||||
{str8_lit_comp("modules"), str8_lit_comp("Displays a table of all modules currently loaded by any process to which the debugger is attached. This table displays each module's name, virtual address range in the containing process' address space, and which debug info file is being used by the debugger for the associated module."), str8_lit_comp("Modules"), str8_lit_comp(""), RD_IconKind_Module, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*1|RD_ViewRuleInfoFlag_FilterIsCode*1|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*1|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(modules)},
|
||||
{str8_lit_comp("text"), str8_lit_comp(""), str8_lit_comp("Text"), str8_lit_comp("x:{'lang':lang, 'size':expr}"), RD_IconKind_FileOutline, (RD_ViewRuleInfoFlag_ShowInDocs*0|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(text) , RD_VIEW_RULE_UI_FUNCTION_NAME(text)},
|
||||
{str8_lit_comp("disasm"), str8_lit_comp("Displays disassembled instructions in a textual form from the selected thread's containing process virtual address space."), str8_lit_comp("Disassembly"), str8_lit_comp("x:{'arch':arch, 'size':expr}"), RD_IconKind_Glasses, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(disasm) , RD_VIEW_RULE_UI_FUNCTION_NAME(disasm)},
|
||||
{str8_lit_comp("output"), str8_lit_comp("Displays debug strings, output from attached processes."), str8_lit_comp("Output"), str8_lit_comp(""), RD_IconKind_List, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*0|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(output)},
|
||||
{str8_lit_comp("memory"), str8_lit_comp("A hex-editor-like grid interface for viewing memory."), str8_lit_comp("Memory"), str8_lit_comp("x:{'size':expr}"), RD_IconKind_Grid, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(memory) , RD_VIEW_RULE_UI_FUNCTION_NAME(memory)},
|
||||
{str8_lit_comp("bitmap"), str8_lit_comp("Visualizes memory as a bitmap."), str8_lit_comp("Bitmap"), str8_lit_comp("x:{'w':expr, 'h':expr, 'fmt':tex2dformat}"), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(bitmap) , RD_VIEW_RULE_UI_FUNCTION_NAME(bitmap)},
|
||||
{str8_lit_comp("checkbox"), str8_lit_comp("Visualizes memory as an RGBA color."), str8_lit_comp("Checkbox"), str8_lit_comp(""), RD_IconKind_CheckFilled, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*1|RD_ViewRuleInfoFlag_CanExpand*0), 0, RD_VIEW_RULE_UI_FUNCTION_NAME(checkbox)},
|
||||
{str8_lit_comp("color_rgba"), str8_lit_comp("Visualizes memory as an RGBA color."), str8_lit_comp("Color (RGBA)"), str8_lit_comp(""), RD_IconKind_Palette, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*1|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(color_rgba) , RD_VIEW_RULE_UI_FUNCTION_NAME(color_rgba)},
|
||||
{str8_lit_comp("geo3d"), str8_lit_comp("Visualizes memory as 3D geometry."), str8_lit_comp("Geometry (3D)"), str8_lit_comp("x:{'count':expr, 'vtx':expr, 'vtx_size':expr}"), RD_IconKind_Binoculars, (RD_ViewRuleInfoFlag_ShowInDocs*1|RD_ViewRuleInfoFlag_CanFilter*0|RD_ViewRuleInfoFlag_FilterIsCode*0|RD_ViewRuleInfoFlag_TypingAutomaticallyFilters*0|RD_ViewRuleInfoFlag_CanUseInWatchTable*1|RD_ViewRuleInfoFlag_CanFillValueCell*0|RD_ViewRuleInfoFlag_CanExpand*1), EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME(geo3d) , RD_VIEW_RULE_UI_FUNCTION_NAME(geo3d)},
|
||||
};
|
||||
|
||||
RD_IconKind rd_entity_kind_icon_kind_table[30] =
|
||||
@@ -782,42 +744,6 @@ RD_IconKind_Null,
|
||||
RD_IconKind_Null,
|
||||
};
|
||||
|
||||
RD_ViewRuleSpecInfo rd_gfx_view_rule_spec_info_table[32] =
|
||||
{
|
||||
{ str8_lit_comp("Empty"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("GettingStarted"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("ExceptionFilters"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Settings"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("PendingFile"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Commands"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("FileSystem"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("SystemProcesses"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("EntityLister"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("SymbolLister"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Watch"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Locals"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Registers"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Globals"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("ThreadLocals"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Types"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Procedures"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Targets"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("FilePathMap"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("AutoViewRules"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Breakpoints"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("WatchPins"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Scheduler"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("CallStack"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Modules"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Text"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Disasm"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Output"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Memory"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Bitmap"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("ColorRGBA"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
{ str8_lit_comp("Geo3D"), (RD_ViewRuleSpecInfoFlag_VizRowProd*0)|(RD_ViewRuleSpecInfoFlag_LineStringize*0)|(RD_ViewRuleSpecInfoFlag_RowUI*0)|(RD_ViewRuleSpecInfoFlag_ViewUI*0), 0, 0 },
|
||||
};
|
||||
|
||||
String8 rd_theme_preset_display_string_table[9] =
|
||||
{
|
||||
str8_lit_comp("Default (Dark)"),
|
||||
|
||||
@@ -416,50 +416,12 @@ RD_ViewRuleKind_Disasm,
|
||||
RD_ViewRuleKind_Output,
|
||||
RD_ViewRuleKind_Memory,
|
||||
RD_ViewRuleKind_Bitmap,
|
||||
RD_ViewRuleKind_Checkbox,
|
||||
RD_ViewRuleKind_ColorRGBA,
|
||||
RD_ViewRuleKind_Geo3D,
|
||||
RD_ViewRuleKind_COUNT,
|
||||
} RD_ViewRuleKind;
|
||||
|
||||
typedef enum RD_ViewKind
|
||||
{
|
||||
RD_ViewKind_Null,
|
||||
RD_ViewKind_Empty,
|
||||
RD_ViewKind_GettingStarted,
|
||||
RD_ViewKind_Commands,
|
||||
RD_ViewKind_FileSystem,
|
||||
RD_ViewKind_SystemProcesses,
|
||||
RD_ViewKind_EntityLister,
|
||||
RD_ViewKind_SymbolLister,
|
||||
RD_ViewKind_Target,
|
||||
RD_ViewKind_Targets,
|
||||
RD_ViewKind_FilePathMap,
|
||||
RD_ViewKind_AutoViewRules,
|
||||
RD_ViewKind_Breakpoints,
|
||||
RD_ViewKind_WatchPins,
|
||||
RD_ViewKind_Scheduler,
|
||||
RD_ViewKind_CallStack,
|
||||
RD_ViewKind_Modules,
|
||||
RD_ViewKind_Watch,
|
||||
RD_ViewKind_Locals,
|
||||
RD_ViewKind_Registers,
|
||||
RD_ViewKind_Globals,
|
||||
RD_ViewKind_ThreadLocals,
|
||||
RD_ViewKind_Types,
|
||||
RD_ViewKind_Procedures,
|
||||
RD_ViewKind_PendingFile,
|
||||
RD_ViewKind_Text,
|
||||
RD_ViewKind_Disasm,
|
||||
RD_ViewKind_Output,
|
||||
RD_ViewKind_Memory,
|
||||
RD_ViewKind_Bitmap,
|
||||
RD_ViewKind_ColorRGBA,
|
||||
RD_ViewKind_Geo3D,
|
||||
RD_ViewKind_ExceptionFilters,
|
||||
RD_ViewKind_Settings,
|
||||
RD_ViewKind_COUNT,
|
||||
} RD_ViewKind;
|
||||
|
||||
typedef enum RD_ThemeColor
|
||||
{
|
||||
RD_ThemeColor_Null,
|
||||
@@ -644,6 +606,7 @@ String8 display_name;
|
||||
String8 params_schema;
|
||||
RD_IconKind icon_kind;
|
||||
RD_ViewRuleInfoFlags flags;
|
||||
EV_ViewRuleBlockProdHookFunctionType *block_prod;
|
||||
RD_ViewRuleUIFunctionType *ui;
|
||||
};
|
||||
|
||||
@@ -680,41 +643,47 @@ RD_ViewRuleUIFunctionType *ui;
|
||||
.params_tree = rd_regs()->params_tree,\
|
||||
.os_event = rd_regs()->os_event,\
|
||||
|
||||
RD_VIEW_UI_FUNCTION_DEF(null);
|
||||
RD_VIEW_UI_FUNCTION_DEF(empty);
|
||||
RD_VIEW_UI_FUNCTION_DEF(getting_started);
|
||||
RD_VIEW_UI_FUNCTION_DEF(commands);
|
||||
RD_VIEW_UI_FUNCTION_DEF(file_system);
|
||||
RD_VIEW_UI_FUNCTION_DEF(system_processes);
|
||||
RD_VIEW_UI_FUNCTION_DEF(entity_lister);
|
||||
RD_VIEW_UI_FUNCTION_DEF(symbol_lister);
|
||||
RD_VIEW_UI_FUNCTION_DEF(target);
|
||||
RD_VIEW_UI_FUNCTION_DEF(targets);
|
||||
RD_VIEW_UI_FUNCTION_DEF(file_path_map);
|
||||
RD_VIEW_UI_FUNCTION_DEF(auto_view_rules);
|
||||
RD_VIEW_UI_FUNCTION_DEF(breakpoints);
|
||||
RD_VIEW_UI_FUNCTION_DEF(watch_pins);
|
||||
RD_VIEW_UI_FUNCTION_DEF(scheduler);
|
||||
RD_VIEW_UI_FUNCTION_DEF(call_stack);
|
||||
RD_VIEW_UI_FUNCTION_DEF(modules);
|
||||
RD_VIEW_UI_FUNCTION_DEF(watch);
|
||||
RD_VIEW_UI_FUNCTION_DEF(locals);
|
||||
RD_VIEW_UI_FUNCTION_DEF(registers);
|
||||
RD_VIEW_UI_FUNCTION_DEF(globals);
|
||||
RD_VIEW_UI_FUNCTION_DEF(thread_locals);
|
||||
RD_VIEW_UI_FUNCTION_DEF(types);
|
||||
RD_VIEW_UI_FUNCTION_DEF(procedures);
|
||||
RD_VIEW_UI_FUNCTION_DEF(pending_file);
|
||||
RD_VIEW_UI_FUNCTION_DEF(text);
|
||||
RD_VIEW_UI_FUNCTION_DEF(disasm);
|
||||
RD_VIEW_UI_FUNCTION_DEF(output);
|
||||
RD_VIEW_UI_FUNCTION_DEF(memory);
|
||||
RD_VIEW_UI_FUNCTION_DEF(bitmap);
|
||||
RD_VIEW_UI_FUNCTION_DEF(color_rgba);
|
||||
RD_VIEW_UI_FUNCTION_DEF(geo3d);
|
||||
RD_VIEW_UI_FUNCTION_DEF(exception_filters);
|
||||
RD_VIEW_UI_FUNCTION_DEF(settings);
|
||||
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(null);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(text);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(disasm);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(memory);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(bitmap);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(checkbox);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(color_rgba);
|
||||
EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(geo3d);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(empty);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(getting_started);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(exception_filters);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(settings);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(pending_file);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(commands);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(file_system);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(system_processes);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(entity_lister);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(symbol_lister);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(watch);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(locals);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(registers);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(globals);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(thread_locals);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(types);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(procedures);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(targets);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(file_path_map);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(auto_view_rules);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(breakpoints);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(watch_pins);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(scheduler);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(call_stack);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(modules);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(text);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(disasm);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(output);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(memory);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(bitmap);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(checkbox);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(color_rgba);
|
||||
RD_VIEW_RULE_UI_FUNCTION_DEF(geo3d);
|
||||
C_LINKAGE_BEGIN
|
||||
extern String8 rd_cfg_src_string_table[4];
|
||||
extern RD_CmdKind rd_cfg_src_load_cmd_kind_table[4];
|
||||
@@ -730,8 +699,7 @@ extern RD_StringBindingPair rd_default_binding_table[110];
|
||||
extern String8 rd_binding_version_remap_old_name_table[7];
|
||||
extern String8 rd_binding_version_remap_new_name_table[7];
|
||||
extern String8 rd_icon_kind_text_table[69];
|
||||
extern String8 rd_view_kind_name_lower_table[34];
|
||||
extern RD_ViewSpecInfo rd_gfx_view_kind_spec_info_table[34];
|
||||
extern RD_ViewRuleInfo rd_view_rule_kind_info_table[34];
|
||||
extern RD_IconKind rd_entity_kind_icon_kind_table[30];
|
||||
extern String8 rd_theme_preset_display_string_table[9];
|
||||
extern String8 rd_theme_preset_code_string_table[9];
|
||||
|
||||
Reference in New Issue
Block a user