주요 내용으로 건너뛰기

Layout

touchgfx/widgets/Keyboard.hpp

Definition of the keyboard layout. The keyboard can handle changing layouts, so different keyboard modes can be implemented by changing layouts and key mappings.

Public Attributes

BitmapIdbitmap
The bitmap used for the keyboard layout.
CallbackArea *callbackAreaArray
The array of areas and corresponding callbacks.
const Key *keyArray
The keys on the keyboard layout.
FontIdkeyFont
The font used for the keys.
colortypekeyFontColor
The color used for the keys.
uint8_tnumberOfCallbackAreas
The number of areas and corresponding callbacks.
uint8_tnumberOfKeys
The number of keys on this keyboard layout.
TypedTexttextAreaFont
The font used for typing text.
colortypetextAreaFontColor
The color used for the typing text.
RecttextAreaPosition
The area where text is written.

Public Attributes Documentation

bitmap

BitmapId bitmap

The bitmap used for the keyboard layout.

callbackAreaArray

CallbackArea * callbackAreaArray

The array of areas and corresponding callbacks.

keyArray

const Key * keyArray

The keys on the keyboard layout.

keyFont

FontId keyFont

The font used for the keys.

keyFontColor

colortype keyFontColor

The color used for the keys.

numberOfCallbackAreas

uint8_t numberOfCallbackAreas

The number of areas and corresponding callbacks.

numberOfKeys

uint8_t numberOfKeys

The number of keys on this keyboard layout.

textAreaFont

TypedText textAreaFont

The font used for typing text.

textAreaFontColor

colortype textAreaFontColor

The color used for the typing text.

textAreaPosition

Rect textAreaPosition

The area where text is written.