BitmapButtonCallback Struct Reference

#include <customgui_bitmapbutton.h>

Detailed Description

Public Member Functions

BitmapButtonCallbackoperator= (const BitmapButtonCallback &other)

Public Attributes

void * data
void(* ShowPopup )(void *data)
maxon::Delegate< void(void *data)> delegate

Member Function Documentation

◆ operator=()

BitmapButtonCallback& operator= ( const BitmapButtonCallback other)

Member Data Documentation

◆ data

void* data

Custom data.

◆ ShowPopup

void(* ShowPopup(void *data)

Callback called when the user presses the bitmap button. Can be used to bring up a popup menu.

◆ delegate

maxon::Delegate<void(void* data)> delegate