blob: 64862f0870e514b19a772e7771b094e0d4807d83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// MIT License, Copyright (c) 2021 Marvin Borner
#ifndef WIDGETS_H
#define WIDGETS_H
#include <libgui/gfx.h>
#include <libgui/gui.h>
void gui_button_custom(u32 window, u32 widget, vec2 pos, enum font_type font_type, u32 bg, u32 fg,
void (*click)(struct gui_event_mouse *event), const char *text);
void gui_button(u32 window, u32 widget, void (*click)(struct gui_event_mouse *event),
const char *text);
#endif
|