mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 10:03:20 -08:00
set up settings for enabling/disabling pre-packaged stl/ue type view rules; fill out basic stl ones
This commit is contained in:
1 parent
6c7568f946
commit
24148dd672
4 files changed
+62
-11
No files matched your search
@@ -84,8 +84,8 @@ enum
|
||||
RD_EvalSpaceKind_CtrlEntity = E_SpaceKind_FirstUserDefined,
|
||||
RD_EvalSpaceKind_MetaQuery,
|
||||
RD_EvalSpaceKind_MetaCfg,
|
||||
RD_EvalSpaceKind_MetaCmd,
|
||||
RD_EvalSpaceKind_MetaTheme,
|
||||
RD_EvalSpaceKind_MetaCmd,
|
||||
RD_EvalSpaceKind_MetaTheme,
|
||||
RD_EvalSpaceKind_MetaCtrlEntity,
|
||||
RD_EvalSpaceKind_MetaUnattachedProcess,
|
||||
};
|
||||
@@ -445,8 +445,8 @@ struct RD_WindowState
|
||||
Rng2F32 last_window_rect;
|
||||
|
||||
// rjf: theme (recomputed each frame)
|
||||
UI_Theme *theme;
|
||||
Vec4F32 theme_code_colors[RD_CodeColorSlot_COUNT];
|
||||
UI_Theme *theme;
|
||||
Vec4F32 theme_code_colors[RD_CodeColorSlot_COUNT];
|
||||
|
||||
// rjf: font raster flags (recomputed each frame)
|
||||
FNT_RasterFlags font_slot_raster_flags[RD_FontSlot_COUNT];
|
||||
@@ -540,7 +540,6 @@ struct RD_State
|
||||
Arena *arena;
|
||||
B32 quit;
|
||||
B32 quit_after_success;
|
||||
B32 alt_menu_bar_enabled;
|
||||
S32 frame_depth;
|
||||
U64 frame_eval_memread_endt_us;
|
||||
|
||||
@@ -552,6 +551,12 @@ struct RD_State
|
||||
Arena *theme_path_arena;
|
||||
String8 theme_path;
|
||||
|
||||
// rjf: unpacked settings (cached, because they need to be used
|
||||
// earlier than setting evaluation is legal in a frame)
|
||||
B32 alt_menu_bar_enabled;
|
||||
B32 use_default_stl_type_views;
|
||||
B32 use_default_ue_type_views;
|
||||
|
||||
// rjf: serialized config debug string keys
|
||||
U128 user_cfg_string_key;
|
||||
U128 project_cfg_string_key;
|
||||
@@ -961,10 +966,10 @@ internal void rd_set_autocomp_regs_(RD_Regs *regs);
|
||||
////////////////////////////////
|
||||
//~ rjf: Colors, Fonts, Config
|
||||
|
||||
//- rjf: colors
|
||||
internal Vec4F32 rd_rgba_from_code_color_slot(RD_CodeColorSlot slot);
|
||||
internal RD_CodeColorSlot rd_code_color_slot_from_txt_token_kind(TXT_TokenKind kind);
|
||||
internal RD_CodeColorSlot rd_code_color_slot_from_txt_token_kind_lookup_string(TXT_TokenKind kind, String8 string);
|
||||
//- rjf: colors
|
||||
internal Vec4F32 rd_rgba_from_code_color_slot(RD_CodeColorSlot slot);
|
||||
internal RD_CodeColorSlot rd_code_color_slot_from_txt_token_kind(TXT_TokenKind kind);
|
||||
internal RD_CodeColorSlot rd_code_color_slot_from_txt_token_kind_lookup_string(TXT_TokenKind kind, String8 string);
|
||||
|
||||
//- rjf: fonts
|
||||
internal FNT_Tag rd_font_from_slot(RD_FontSlot slot);
|
||||
|
||||
Reference in new issue
Block a user