current split bar
parent
952ea0a28b
commit
c35cda4f9b
@ -0,0 +1,21 @@
|
|||||||
|
#ifndef LAYOUT_MGR_H
|
||||||
|
#define LAYOUT_MGR_H
|
||||||
|
|
||||||
|
#include <raylib.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
extern int windowWidth;
|
||||||
|
extern int windowHeight;
|
||||||
|
|
||||||
|
typedef struct layout_background {
|
||||||
|
Texture2D texture;
|
||||||
|
Shader shader;
|
||||||
|
} layout_background;
|
||||||
|
|
||||||
|
layout_background *layout_background_new(Color color) {
|
||||||
|
Image blank = GenImageColor(windowWidth, windowHeight, BLANK);
|
||||||
|
Texture2D texture = LoadTextureFromImage(blank);
|
||||||
|
UnloadImage(blank);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
Loading…
Reference in New Issue