tcMenu
Classes | Functions
RuntimeTitleMenuItem.h File Reference

the menu item that is presented for the title More...

Go to the source code of this file.

Classes

class  tcgfx::RuntimeTitleMenuItem
 

Functions

int tcgfx::appTitleRenderingFn (RuntimeMenuItem *item, uint8_t, RenderFnMode mode, char *buffer, int bufferSize)
 
void tcgfx::setTitlePressedCallback (MenuCallbackFn cb)
 

Detailed Description

the menu item that is presented for the title

Function Documentation

◆ appTitleRenderingFn()

int tcgfx::appTitleRenderingFn ( RuntimeMenuItem item,
uint8_t  ,
RenderFnMode  mode,
char *  buffer,
int  bufferSize 
)

forward reference of the title rendering function

Parameters
itemmenu item for title
moderendering mode
bufferthe buffer
bufferSizethe buffers size
Returns
status code

◆ setTitlePressedCallback()

void tcgfx::setTitlePressedCallback ( MenuCallbackFn  cb)
inline

Sets the callback that will be triggered when the title is clicked on.

Parameters
cbthe title click callback.