// here is the real ui drawing engine
+/*
#define FRAME_THICKNESS 2
#define FRAME_COLOR1 0.2, 0.2, 0.5, 0, 0
#define FRAME_COLOR2 0, 0, 0, 0.6, 0
{
DrawQ_Fill(x,y,1, TEXT_FONTSIZE_Y, r, g, b, a, f);
}
+*/
static mempool_t *ui_mem;
void UI_Init(void)
{
- ui_mem = Mem_AllocPool("Intern UI Memory");
+ ui_mem = Mem_AllocPool("Intern UI Memory", 0, NULL);
}
#define UI_Alloc(size) Mem_Alloc(ui_mem, size)