simplify name alloctors in rd/ctrl layers; port panel-closure path

This commit is contained in:
Ryan Fleury
2025-02-17 12:05:51 -08:00
parent dc79b82991
commit 72869bc73b
7 changed files with 263 additions and 210 deletions
+4
View File
@@ -3008,6 +3008,10 @@ ui_anim_(UI_Key key, UI_AnimParams *params)
// rjf: touch node & update parameters - grab current
node->last_touched_build_index = ui_state->build_index;
DLLPushBack_NPZ(&ui_nil_anim_node, ui_state->lru_anim_node, ui_state->mru_anim_node, node, lru_next, lru_prev);
if(params->reset)
{
node->current = params->initial;
}
MemoryCopyStruct(&node->params, params);
if(node->params.epsilon == 0)
{
+1
View File
@@ -582,6 +582,7 @@ struct UI_AnimParams
F32 target;
F32 rate;
F32 epsilon;
B32 reset;
};
typedef struct UI_AnimNode UI_AnimNode;