ui/keypad.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <dos.h>
#include <direct.h>
#include <string.h>
#include <math.h>
#include "fix.h"
#include "types.h"
#include "gr.h"
#include "key.h"
#include "mono.h"
#include "ui.h"
#include "u_mem.h"
#include "func.h"
#include "error.h"

Defines

#define MAX_NUM_PADS   20
#define REMOVE_EOL(s)   (*(strstr( (s), "\n" ))='\0')

Functions

int ui_pad_get_current ()
void ui_pad_init ()
void ui_pad_close ()
void LineParse (int n, char *dest, char *source)
void ui_pad_activate (UI_WINDOW *wnd, int x, int y)
void ui_pad_deactivate ()
static void ui_pad_set_active (int n)
void ui_pad_goto (int n)
void ui_pad_goto_next ()
void ui_pad_goto_prev ()
void ui_pad_read (int n, char *filename)

Variables

static UI_GADGET_BUTTONPad [17]
static UI_KEYPADKeyPad [MAX_NUM_PADS]
static int active_pad
static int desc_x
static int desc_y
static int HotKey [17]
static int HotKey1 [17]

Define Documentation

#define MAX_NUM_PADS   20
 

#define REMOVE_EOL  )     (*(strstr( (s), "\n" ))='\0')
 


Function Documentation

void LineParse int  n,
char *  dest,
char *  source
 

void ui_pad_activate UI_WINDOW wnd,
int  x,
int  y
 

void ui_pad_close  ) 
 

void ui_pad_deactivate  ) 
 

int ui_pad_get_current  ) 
 

void ui_pad_goto int  n  ) 
 

void ui_pad_goto_next  ) 
 

void ui_pad_goto_prev  ) 
 

void ui_pad_init  ) 
 

void ui_pad_read int  n,
char *  filename
 

static void ui_pad_set_active int  n  )  [static]
 


Variable Documentation

int active_pad [static]
 

int desc_x [static]
 

int desc_y [static]
 

int HotKey[17] [static]
 

int HotKey1[17] [static]
 

UI_KEYPAD* KeyPad[MAX_NUM_PADS] [static]
 

UI_GADGET_BUTTON* Pad[17] [static]
 


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