_, search_rect := Flow.split_vertical(menu_rect, right_width=300);
textbox(search_rect, search_buffer, "Search", theme=^menu_textbox_theme);
+
+ {
+ x, y := Rectangle.top_left(r);
+ w, h := Rectangle.dimensions(r);
+ shadow :: 12.0f
+ shadow_amm :: 0.4f
+
+ gfx.vertex(.{ x, y + h }, .{ 0, 0, 0, shadow_amm });
+ gfx.vertex(.{ x + w, y + h }, .{ 0, 0, 0, shadow_amm });
+ gfx.vertex(.{ x + w + shadow, y + h + shadow }, .{ 0, 0, 0, 0 });
+
+ gfx.vertex(.{ x, y + h }, .{ 0, 0, 0, shadow_amm });
+ gfx.vertex(.{ x + w + shadow, y + h }, .{ 0, 0, 0, 0 });
+ gfx.vertex(.{ x, y + h + shadow }, .{ 0, 0, 0, 0 });
+ }
}