Atrinik Client  4.0
Data Fields
_menuitem Struct Reference

#include <widget.h>

Data Fields

void(* menu_func_ptr )(widgetdata *, widgetdata *, SDL_Event *event)
 
int menu_type
 
int val
 

Detailed Description

A menuitem that holds the pointer to the function that is called when it is clicked on. It is a special strip container that contains the string inside. This allows the menu to detect how long the string is so that it can resize itself to fit it on the fly.

Definition at line 268 of file widget.h.

Field Documentation

void(* _menuitem::menu_func_ptr)(widgetdata *, widgetdata *, SDL_Event *event)

Pointer to the function that performs the relevant operation when the menuitem is clicked.

Definition at line 271 of file widget.h.

int _menuitem::menu_type

The type of menuitem.

Definition at line 274 of file widget.h.


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