wlmaker
Loading...
Searching...
No Matches
_wlmaker_menu_item_t Struct Reference
Collaboration diagram for _wlmaker_menu_item_t:

Public Attributes

bs_dllist_node_t dlnode
 
const wlmaker_menu_item_descriptor_tdescriptor_ptr
 
uint32_t width
 
uint32_t height
 
uint32_t x
 
uint32_t y
 
wlmaker_menu_item_state_t state
 
wlmaker_menu_item_state_t drawn_state
 
void * callback_ud_ptr
 

Detailed Description

State of a menu item.

Member Data Documentation

◆ callback_ud_ptr

void* _wlmaker_menu_item_t::callback_ud_ptr

Argument to provide to the item's callback. May be NULL.

◆ descriptor_ptr

const wlmaker_menu_item_descriptor_t* _wlmaker_menu_item_t::descriptor_ptr

Points to this item's descriptor.

◆ dlnode

bs_dllist_node_t _wlmaker_menu_item_t::dlnode

Element of a double-linked list: wlmaker_menu_t.menu_items.

◆ drawn_state

wlmaker_menu_item_state_t _wlmaker_menu_item_t::drawn_state

Status that is drawn.

◆ height

uint32_t _wlmaker_menu_item_t::height

Height of the menu item. Will be drawn to this size, clip if needed.

◆ state

wlmaker_menu_item_state_t _wlmaker_menu_item_t::state

Current status, according to mouse position and clickedness.

◆ width

uint32_t _wlmaker_menu_item_t::width

Width of the menu item. Will be drawn to this size, clip if needed.

◆ x

uint32_t _wlmaker_menu_item_t::x

Horizontal position of the menu item, within the menu's buffer.

◆ y

uint32_t _wlmaker_menu_item_t::y

Vertical position of the menu item, within the menu's buffer.


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