mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 17:43:20 -08:00
work on command queries, distinguish floating vs. embedded
This commit is contained in:
1 parent
6653a0e437
commit
eae15a3d41
10 files changed
+703
-622
No files matched your search
@@ -1708,7 +1708,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
if(has_line_info)
|
||||
{
|
||||
Vec4F32 color = code_line_bgs[line_info_line_num % ArrayCount(code_line_bgs)];
|
||||
color.w *= line_info_t*0.2f;
|
||||
color.w *= line_info_t;
|
||||
bg_color = color;
|
||||
}
|
||||
}
|
||||
@@ -2477,7 +2477,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
if(matches)
|
||||
{
|
||||
Vec4F32 highlight_color = code_line_bgs[line_info_line_num % ArrayCount(code_line_bgs)];
|
||||
highlight_color.w *= 0.05f;
|
||||
highlight_color.w *= 0.2f;
|
||||
dr_rect(line_box->rect, highlight_color, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user