[refactor] Organize STRING

This commit is contained in:
2026-06-05 18:38:45 +08:00
Unverified
parent da03b301fb
commit 9ee88ef7b9
19 changed files with 124 additions and 51 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#include <efi.h>
#include <common.h>
#include <string_utils.h>
#define LAYER_MAX 32
#define LAYER_NAME_LEN 32
@@ -29,7 +30,7 @@ typedef struct layer {
void layer_init(void);
// Layer management
layer_t* layer_create(const char* name, layer_type_t type, UINT32 w, UINT32 h);
layer_t* layer_create(String name, layer_type_t type, UINT32 w, UINT32 h);
void layer_destroy(layer_t* layer);
void layer_set_z(layer_t* layer, SSINT32 z);
void layer_set_pos(layer_t* layer, SSINT32 x, SSINT32 y);