Skip to content

Releases: oblerion/ui_raylib

first prototype

15 Oct 15:32
Compare
Choose a tag to compare

Add

struct UI_BUTTON;
struct UI_BUTTON UI_BUTTON(int x,int y,const char* name,int size_font,Color color);
bool UI_BUTTON_draw(struct UI_BUTTON* uibutton);

struct UI_TEXTFIELD;
struct UI_TEXTFIELD UI_TEXTFIELD(int x,int y,char* text,int size_font,Color color);
void UI_TEXTFIELD_draw(struct UI_TEXTFIELD* uitextfield);

struct UI_TEXTZONE;
struct UI_TEXTZONE UI_TEXTZONE(int x,int y,int size_font,Color color);
void UI_TEXTZONE_cpy(struct UI_TEXTZONE* textzone,const char* text);
void UI_TEXTZONE_cat(struct UI_TEXTZONE* textzone,const char* text);
void UI_TEXTZONE_draw(struct UI_TEXTZONE* textzone);
void UI_TEXTZONE_free(struct UI_TEXTZONE* textzone);

struct UI_TEXTINPUT;
struct UI_TEXTINPUT UI_TEXTINPUT(int x,int y,char* text,int size_font,Color color);
void UI_TEXTINPUT_draw(struct UI_TEXTINPUT* uitextinput,KBD_Layout layout);
void UI_TEXTINPUT_free(struct UI_TEXTINPUT* uitextinput);

struct UI_SLIDEBAR_V;
struct UI_SLIDEBAR_V UI_SLIDEBAR_V(int x,int y,int pos_max);
void UI_SLIDEBAR_V_resize(struct UI_SLIDEBAR_V* bar, int pos_max);
bool UI_SLIDEBAR_V_draw(struct UI_SLIDEBAR_V* bar);

struct UI_EXPLORER;
struct UI_EXPLORER UI_EXPLORER(int x,int y,Color color);
void UI_EXPLORER_draw(struct UI_EXPLORER* uiexp);
void UI_EXPLORER_free(struct UI_EXPLORER* uiexp);

struct UI_FILEIO;
struct UI_FILEIO UI_FILEIO(int x,int y,Color color);
char* UI_FILEIO_getFullPath(struct UI_FILEIO* uifileio);
int UI_FILEIO_draw(struct UI_FILEIO* uifileio,KBD_Layout layout);
void UI_FILEIO_free(struct UI_FILEIO* uifileio);