ui/icon.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_shad (short x1, short y1, short x2, short y2, short c1, short c2)
void ui_draw_box_in1 (short x1, short y1, short x2, short y2)
void ui_draw_icon (UI_GADGET_ICON *icon)
UI_GADGET_ICONui_add_gadget_icon (UI_WINDOW *wnd, char *text, short x, short y, short w, short h, int k, int(*f)(void))
void ui_icon_do (UI_GADGET_ICON *icon, int keypress)

Define Documentation

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


Function Documentation

UI_GADGET_ICON* ui_add_gadget_icon UI_WINDOW wnd,
char *  text,
short  x,
short  y,
short  w,
short  h,
int  k,
int(*)(void)  f
 

void ui_draw_box_in1 short  x1,
short  y1,
short  x2,
short  y2
 

void ui_draw_icon UI_GADGET_ICON icon  ) 
 

void ui_draw_shad short  x1,
short  y1,
short  x2,
short  y2,
short  c1,
short  c2
 

void ui_icon_do UI_GADGET_ICON icon,
int  keypress
 


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