mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-02 18:43:20 -08:00
another checkpoint in fixing up the watch window for replacing targets/scheduler/etc
This commit is contained in:
1 parent
b6b188b67b
commit
771883c56c
3 files changed
+203
-146
No files matched your search
@@ -44,9 +44,13 @@ struct RD_CodeViewBuildResult
|
||||
typedef U32 RD_WatchViewFlags;
|
||||
enum
|
||||
{
|
||||
RD_WatchViewFlag_PrettyNameMembers = (1<<0),
|
||||
RD_WatchViewFlag_PrettyEntityRows = (1<<1),
|
||||
RD_WatchViewFlag_DisableCacheLines = (1<<2),
|
||||
RD_WatchViewFlag_PrettyNameMembers = (1<<0),
|
||||
RD_WatchViewFlag_PrettyEntityRows = (1<<1),
|
||||
RD_WatchViewFlag_DisableCacheLines = (1<<2),
|
||||
|
||||
RD_WatchViewFlag_PrettyCtrlRun = (1<<3),
|
||||
RD_WatchViewFlag_PrettyCtrlStepInto = (1<<4),
|
||||
RD_WatchViewFlag_PrettyCtrlSelect = (1<<5),
|
||||
};
|
||||
|
||||
typedef enum RD_WatchViewColumnKind
|
||||
@@ -57,10 +61,6 @@ typedef enum RD_WatchViewColumnKind
|
||||
RD_WatchViewColumnKind_ViewRule,
|
||||
RD_WatchViewColumnKind_Module,
|
||||
RD_WatchViewColumnKind_Member,
|
||||
RD_WatchViewColumnKind_RunControl,
|
||||
RD_WatchViewColumnKind_StepControl,
|
||||
RD_WatchViewColumnKind_MoreControl,
|
||||
RD_WatchViewColumnKind_FreezeControl,
|
||||
RD_WatchViewColumnKind_FrameSelection,
|
||||
RD_WatchViewColumnKind_COUNT
|
||||
}
|
||||
@@ -95,6 +95,15 @@ struct RD_WatchViewColumn
|
||||
B32 rangify_braces;
|
||||
};
|
||||
|
||||
typedef enum RD_WatchViewRowKind
|
||||
{
|
||||
RD_WatchViewRowKind_Normal,
|
||||
RD_WatchViewRowKind_Header,
|
||||
RD_WatchViewRowKind_Canvas,
|
||||
RD_WatchViewRowKind_PrettyEntityControls,
|
||||
}
|
||||
RD_WatchViewRowKind;
|
||||
|
||||
typedef struct RD_WatchViewPoint RD_WatchViewPoint;
|
||||
struct RD_WatchViewPoint
|
||||
{
|
||||
@@ -171,6 +180,9 @@ internal Vec2S64 rd_tbl_from_watch_view_point(EV_BlockRangeList *block_ranges, R
|
||||
//- rjf: table coordinates -> entities in collectons
|
||||
internal RD_WatchViewCollectionInfo rd_collection_info_from_num(EV_BlockRangeList *block_ranges, S64 num);
|
||||
|
||||
//- rjf: row -> kind
|
||||
internal RD_WatchViewRowKind rd_watch_view_row_kind_from_row(RD_WatchViewFlags flags, EV_Row *row);
|
||||
|
||||
//- rjf: row/column -> strings
|
||||
internal String8 rd_string_from_eval_viz_row_column(Arena *arena, EV_View *ev, EV_Row *row, RD_WatchViewColumn *col, EV_StringFlags string_flags, U32 default_radix, FNT_Tag font, F32 font_size, F32 max_size_px);
|
||||
|
||||
|
||||
Reference in new issue
Block a user