gigawidgets 0.3.55
A wxWidgets-style UI library for the Arduino Giga Display Shield.
 
Loading...
Searching...
No Matches
ui::layout::KeyboardLayout Struct Referenceabstract

A generic interface for keyboard layouts. More...

#include <keyboard_layout.hpp>

Inheritance diagram for ui::layout::KeyboardLayout:
ui::layout::QwertyLayout

Public Member Functions

virtual const char * row1 (bool upper, bool alt) const =0
 Get the first keyboard row.
 
virtual const char * row2 (bool upper, bool alt) const =0
 Get the second keyboard row.
 
virtual const char * row3 (bool upper, bool alt) const =0
 Get the third keyboard row.
 

Detailed Description

A generic interface for keyboard layouts.

Member Function Documentation

◆ row1()

virtual const char * ui::layout::KeyboardLayout::row1 ( bool  upper,
bool  alt 
) const
pure virtual

Get the first keyboard row.

Parameters
upperWhether to return shift/uppercase keys.
altWhether to return alt keys.
Returns
A list of characters to display as keyboard buttons.

Implemented in ui::layout::QwertyLayout.

◆ row2()

virtual const char * ui::layout::KeyboardLayout::row2 ( bool  upper,
bool  alt 
) const
pure virtual

Get the second keyboard row.

Parameters
upperWhether to return shift/uppercase keys.
altWhether to return alt keys.
Returns
A list of characters to display as keyboard buttons.

Implemented in ui::layout::QwertyLayout.

◆ row3()

virtual const char * ui::layout::KeyboardLayout::row3 ( bool  upper,
bool  alt 
) const
pure virtual

Get the third keyboard row.

Parameters
upperWhether to return shift/uppercase keys.
altWhether to return alt keys.
Returns
A list of characters to display as keyboard buttons.

Implemented in ui::layout::QwertyLayout.


The documentation for this struct was generated from the following file: