-LabelLayer create_label_layer(const char *id_name_prefix)
-{
- LabelLayer result = {0};
- result.ids = create_dynarray(sizeof(char) * LABEL_LAYER_ID_MAX_SIZE);
- result.positions = create_dynarray(sizeof(Vec2f));
- result.colors = create_dynarray(sizeof(Color));
- result.texts = create_dynarray(sizeof(char) * LABEL_LAYER_TEXT_MAX_SIZE);
- result.color_picker = create_color_picker_from_rgba(COLOR_RED);
- result.selection = -1;
- result.edit_field.font_size = LABELS_SIZE;
- result.edit_field.font_color = COLOR_RED;
- result.id_name_prefix = id_name_prefix;
- return result;
-}
-