Ejemplo n.º 1
0
void video_draw(video_t *m)
{
    int x,y;

    x = m->info.x;
    y = m->info.y;
    if(m->isshowing == 0)
        return;
    gui_draw_border(GUI_COLOR_DARKBLUE,x,y,m->info.w,m->info.h);
    gui_draw_border(GUI_COLOR_GREY,x,y,m->info.w,9);
    gui_draw_text(GUI_TEXT,x+2,y+2,"Video Configuration");
    button_draw(&m->donebtn);
    radiogroup_draw(&m->filter);
    radiogroup_draw(&m->videomode);
}
Ejemplo n.º 2
0
void options_draw(options_t *m)
{
	int x,y;

	x = m->info.x;
	y = m->info.y;
	if(m->isshowing == 0)
		return;
	gui_draw_border(GUI_WINDOWCLIENT,x,y,m->info.w,m->info.h);
	gui_draw_border(GUI_WINDOWBORDER,x,y,m->info.w,9);
	gui_draw_text(GUI_TEXT,x+2,y+2,"Options");
	button_draw(&m->donebtn);
	radiogroup_draw(&m->fdsbios);
	checkbox_draw(&m->showinfo);
}