mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-11 12:01:26 -07:00
convergence & cleanup & simplification & fixes of tab drag/drop, panel rearranging
This commit is contained in:
@@ -153,6 +153,16 @@ dr_fruns_from_fstrs(Arena *arena, F32 tab_size_px, DR_FStrList *strs)
|
||||
return run_list;
|
||||
}
|
||||
|
||||
internal Vec2F32
|
||||
dr_dim_from_fstrs(DR_FStrList *fstrs)
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
DR_FRunList fruns = dr_fruns_from_fstrs(scratch.arena, 0, fstrs);
|
||||
Vec2F32 dim = fruns.dim;
|
||||
scratch_end(scratch);
|
||||
return dim;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Top-Level API
|
||||
//
|
||||
|
||||
@@ -122,6 +122,7 @@ internal void dr_fstrs_concat_in_place(DR_FStrList *dst, DR_FStrList *to_push);
|
||||
internal DR_FStrList dr_fstrs_copy(Arena *arena, DR_FStrList *src);
|
||||
internal String8 dr_string_from_fstrs(Arena *arena, DR_FStrList *list);
|
||||
internal DR_FRunList dr_fruns_from_fstrs(Arena *arena, F32 tab_size_px, DR_FStrList *strs);
|
||||
internal Vec2F32 dr_dim_from_fstrs(DR_FStrList *fstrs);
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Top-Level API
|
||||
|
||||
Reference in New Issue
Block a user