mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 05:18:40 +00:00
stub out graph view rule
This commit is contained in:
+1
-1
@@ -5870,7 +5870,7 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
|
||||
ui_label(df_g_icon_kind_text_table[icon_kind]);
|
||||
}
|
||||
UI_TextColor(df_rgba_from_theme_color(view_is_selected ? DF_ThemeColor_PlainText : DF_ThemeColor_WeakText))
|
||||
UI_PrefWidth(ui_text_dim(10, 1))
|
||||
UI_PrefWidth(ui_text_dim(10, 0))
|
||||
ui_label(label);
|
||||
if(view->query_string_size != 0)
|
||||
{
|
||||
|
||||
@@ -911,6 +911,31 @@ DF_VIEW_UI_FUNCTION_DEF(disasm)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: "graph"
|
||||
|
||||
DF_CORE_VIEW_RULE_VIZ_BLOCK_PROD_FUNCTION_DEF(graph)
|
||||
{
|
||||
DF_EvalVizBlock *vb = df_eval_viz_block_begin(arena, DF_EvalVizBlockKind_Canvas, key, df_expand_key_make(df_hash_from_expand_key(key), 1), depth);
|
||||
vb->eval = eval;
|
||||
vb->string = string;
|
||||
vb->cfg_table = *cfg_table;
|
||||
vb->visual_idx_range = r1u64(0, 8);
|
||||
vb->semantic_idx_range = r1u64(0, 1);
|
||||
df_eval_viz_block_end(out, vb);
|
||||
}
|
||||
|
||||
DF_GFX_VIEW_RULE_BLOCK_UI_FUNCTION_DEF(graph)
|
||||
{
|
||||
}
|
||||
|
||||
DF_VIEW_SETUP_FUNCTION_DEF(graph) {}
|
||||
DF_VIEW_STRING_FROM_STATE_FUNCTION_DEF(graph) { return str8_lit(""); }
|
||||
DF_VIEW_CMD_FUNCTION_DEF(graph) {}
|
||||
DF_VIEW_UI_FUNCTION_DEF(graph)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: "bitmap"
|
||||
|
||||
|
||||
@@ -1077,7 +1077,10 @@ df_eval_watch_view_build(DF_Window *ws, DF_Panel *panel, DF_View *view, DF_EvalW
|
||||
DF_CfgNode *cfg_root = push_array(scratch.arena, DF_CfgNode, 1);
|
||||
cfg_root->first = cfg_root->last = cfg;
|
||||
cfg_root->next = cfg_root->parent = &df_g_nil_cfg_node;
|
||||
cfg->parent = cfg_root;
|
||||
if(cfg != &df_g_nil_cfg_node)
|
||||
{
|
||||
cfg->parent = cfg_root;
|
||||
}
|
||||
DF_CmdParams p = df_cmd_params_from_view(ws, panel, view);
|
||||
p.string = row->edit_expr;
|
||||
p.view_spec = df_tab_view_spec_from_gfx_view_rule_spec(row->expand_ui_rule_spec);
|
||||
|
||||
Reference in New Issue
Block a user