mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 18:13:20 -08:00
thread rich hover
This commit is contained in:
1 parent
5f32b0710e
commit
d978f56250
4 files changed
+68
-5
No files matched your search
@@ -6855,8 +6855,7 @@ rd_window_frame(RD_Window *ws)
|
||||
UI_BoxFlag_Clip|
|
||||
UI_BoxFlag_DrawBorder|
|
||||
UI_BoxFlag_DisableFocusOverlay|
|
||||
((ws->focused_panel != panel)*UI_BoxFlag_DisableFocusBorder)|
|
||||
((ws->focused_panel != panel)*UI_BoxFlag_DrawOverlay),
|
||||
((ws->focused_panel != panel)*UI_BoxFlag_DisableFocusBorder),
|
||||
panel_key);
|
||||
}
|
||||
|
||||
@@ -7829,6 +7828,13 @@ rd_window_frame(RD_Window *ws)
|
||||
dr_pop_clip();
|
||||
}
|
||||
|
||||
// rjf: draw overlay
|
||||
if(b->flags & UI_BoxFlag_DrawOverlay)
|
||||
{
|
||||
R_Rect2DInst *inst = dr_rect(b->rect, b->palette->colors[UI_ColorCode_Overlay], 0, 0, 1.f);
|
||||
MemoryCopyArray(inst->corner_radii, b->corner_radii);
|
||||
}
|
||||
|
||||
// rjf: draw border
|
||||
if(b->flags & UI_BoxFlag_DrawBorder)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user