[refactor] Organize STRING
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user