pcadmin/include/choice.h

18 lines
325 B
C

#pragma once
#include <gint/display.h>
#define CHOICE_YES "OUI"
#define CHOICE_NO "NON"
#define CHOICE_OK "OK"
#define BUTTON_WIDTH 52
#define BUTTON_HEIGHT 24
#define BUTTON_Y (DHEIGHT - BUTTON_HEIGHT - 12)
struct Choice {
int cursor;
};
struct Choice choice_init(void);
void choice_draw(struct Choice choice);