ui/checkbox.c File Reference

#include <stdlib.h>
#include <string.h>
#include "u_mem.h"
#include "fix.h"
#include "types.h"
#include "gr.h"
#include "ui.h"
#include "key.h"

Defines

#define Middle(x)   ((2*(x)+1)/4)

Functions

void ui_draw_checkbox (UI_GADGET_CHECKBOX *checkbox)
UI_GADGET_CHECKBOXui_add_gadget_checkbox (UI_WINDOW *wnd, short x, short y, short w, short h, short group, char *text)
void ui_checkbox_do (UI_GADGET_CHECKBOX *checkbox, int keypress)

Define Documentation

#define Middle  )     ((2*(x)+1)/4)
 


Function Documentation

UI_GADGET_CHECKBOX* ui_add_gadget_checkbox UI_WINDOW wnd,
short  x,
short  y,
short  w,
short  h,
short  group,
char *  text
 

void ui_checkbox_do UI_GADGET_CHECKBOX checkbox,
int  keypress
 

void ui_draw_checkbox UI_GADGET_CHECKBOX checkbox  ) 
 


Generated on Mon Aug 28 20:55:34 2006 for D1X-Rebirth by  doxygen 1.4.6