Atrinik Client 2.5
Functions
gui/input.c File Reference
#include <global.h>

Go to the source code of this file.

Functions

void widget_number_event (widgetdata *widget, int x, int y)
void widget_show_console (widgetdata *widget)
void widget_show_number (widgetdata *widget)
void do_number ()
void do_console ()

Detailed Description

Definition in file input.c.


Function Documentation

void do_console ( )

Wait for console input. If ESC was pressed or this is input for party menu, just close the console.

Definition at line 169 of file input.c.

void do_number ( )

Wait for number input. If ESC was pressed, close the input widget.

Definition at line 92 of file input.c.

void widget_number_event ( widgetdata widget,
int  x,
int  y 
)

Mouse event for number input widget.

Parameters:
xMouse X position
yMouse Y position

Definition at line 36 of file input.c.

void widget_show_console ( widgetdata widget)

Show widget console.

Parameters:
xX position of the console
yY position of the console

Definition at line 58 of file input.c.

void widget_show_number ( widgetdata widget)

Show widget number input.

Parameters:
xX position of the number input
yY position of the number input

Definition at line 73 of file input.c.