跳转到主要内容

CallbackArea

touchgfx/widgets/Keyboard.hpp

Mapping from rectangle to a callback method to execute.

Public Attributes

GenericCallback *callback
The callback to execute, when the area is "pressed". The callback should be a Callback<YourClass> member in the class using the keyboard.
BitmapIdhighlightBitmapId
A bitmap to show when the area is "pressed".
RectkeyArea
The area occupied by a key.

Public Attributes Documentation

callback

GenericCallback * callback

The callback to execute, when the area is "pressed". The callback should be a Callback<YourClass> member in the class using the keyboard.

highlightBitmapId

BitmapId highlightBitmapId

A bitmap to show when the area is "pressed".

keyArea

Rect keyArea

The area occupied by a key.