23 lines
356 B
C
23 lines
356 B
C
#include <gui.h>
|
|
|
|
void init_gui() {
|
|
AG_InitGraphics(0);
|
|
}
|
|
|
|
AG_Window *make_window() {
|
|
return AG_WindowNew(AG_WINDOW_MAIN);
|
|
}
|
|
|
|
void show_window(AG_Window *win) {
|
|
AG_WindowShow(win);
|
|
}
|
|
|
|
AG_Label* make_label(void* parent) {
|
|
return AG_LabelNew(parent, 0, "");
|
|
}
|
|
|
|
void set_label_text(AG_Label* label, const char* text) {
|
|
AG_LabelText(label, text);
|
|
}
|
|
|