Atrinik Client 2.5
Data Fields
_menuitem Struct Reference

#include <widget.h>

Data Fields

void(* menu_func_ptr )(widgetdata *, int, int)
int menu_type

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 213 of file widget.h.


Field Documentation

void(* _menuitem::menu_func_ptr)(widgetdata *, int, int)

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

Definition at line 216 of file widget.h.

The type of menuitem.

Definition at line 219 of file widget.h.


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