101 int32_t mCornerRadiusTL;
102 int32_t mCornerRadiusTR;
103 int32_t mCornerRadiusBL;
104 int32_t mCornerRadiusBR;
106 bool mIsExtensionEnabled;
109 uint32_t mKeyPadding;
120 bool mAllowBackspace;
122 DsKeyboardKey* mKeys[28];
123 DsKeyboardKey* mKey_Sym;
124 DsKeyboardKey* mKey_Done;
125 DsKeyboardKey* mKey_Shift;
126 DsKeyboardKey* mKey_Delete;
127 DsKeyboardKey* mKey_Enter;
128 DsKeyboardKey* mKey_Space;
142 void updateKeyLabel(
void);
144 void onPaint(
DsRenderer &renderer)
override final;
145 void onShow(
void)
override final;
146 void onHide(
void)
override final;
DsAlignment is a class representing both horizontal and vertical alignment type.
Definition ds_types.h:130
DsColor is a class that represents a 4 channel color (Alpha, Red, Green, Blue).
Definition ds_color.h:53
Definition ds_keyboard.h:21
DsKeyboard & setCornerRadius(float tl, float tr, float bl, float br)
Sets the corner radius for all 4 corners.
DsKeyboard & setNumericMode(bool allow_negative=true, bool allow_decimal=true, bool allow_backspace=true)
Configures the keyboard in numeric mode.
DsKeyboard & setAlphaMode(bool latching_shift=false)
Configures the keyboard in alphanumeric mode.
void setExtension(bool enabled)
Enables the keyboard extension. The keyboard can be extended to cover the entire available space.
DsKeyboard & setKeySize(uint32_t size)
Sets the key size.
DsKeyboard & setKeyboardColor(DsColor color)
Sets the keyboard color.
DsKeyboard & setAlignedView(DsView *aligned_view)
Sets an optional view which will be aligned with the keyboard.
DsKeyboard & setKeyColors(DsColor key_color, DsColor key_color_highlight, DsColor text_color)
Sets the key colors.
DsPoint is a class that represents the X and Y 2D coordinates of a point as integer numbers.
Definition ds_geometry.h:24
DsRenderer is a class that implements all the drawing operations.
Definition ds_renderer.h:42
DsScreen is class of type DsView (inherits from DsView) that implements a physical screen.
Definition ds_screen.h:29
DsView is a base class that represents any view on the screen.
Definition ds_view.h:40