Atrinik Client  4.0
Data Fields
popup_button Struct Reference

#include <popup.h>

Data Fields

int x
 
int y
 
char * text
 
button_struct button
 
int(* event_func )(struct popup_button *button)
 

Detailed Description

A single "generic" button in a popup.

Definition at line 36 of file popup.h.

Field Documentation

button_struct popup_button::button

The button.

Definition at line 47 of file popup.h.

int(* popup_button::event_func)(struct popup_button *button)

Callback function to call when the button is clicked.

Parameters
buttonThe clicked button.
Return values
1Handled the event, should not do generic handling.
0Did not handle the event.

Definition at line 56 of file popup.h.

char* popup_button::text

Text to show in the button.

Definition at line 44 of file popup.h.

int popup_button::x

X position in the popup of the button.

Definition at line 38 of file popup.h.

int popup_button::y

Y position in the popup of the button.

Definition at line 41 of file popup.h.


The documentation for this struct was generated from the following file: