![]() |
Rise
The Vieneo Province
|
#include <KeyboardChart.h>
Classes | |
| struct | TextLayout |
Public Member Functions | |
| HRESULT | OnCreateDevice (Rendering::RenderDevice *device) |
| void | OnLostDevice () |
| void | OnResetDevice () |
| void | OnDestroyDevice () |
| void | Update (bool visible, float elapsedSeconds) |
| void | Draw (Rendering::RenderSprite *sprite, const Keychart::Labels &labels, const std::wstring &title, int displayWidth, int displayHeight) |
Private Attributes | |
| Rendering::RenderTexture * | blankKeyboard = nullptr |
| Rendering::RenderFont * | font = nullptr |
| bool | wasVisible = false |
| double | visibleSeconds = 0.0 |
| Keychart::Labels | previousLabels {} |
| std::wstring | previousTitle |
| std::map< std::tuple< std::wstring, std::wstring, LONG >, TextLayout > | textLayouts |
Definition at line 93 of file KeyboardChart.h.
| void KeyboardChart::Draw | ( | Rendering::RenderSprite * | sprite, |
| const Keychart::Labels & | labels, | ||
| const std::wstring & | title, | ||
| int | displayWidth, | ||
| int | displayHeight ) |
Definition at line 202 of file KeyboardChart.cpp.
| HRESULT KeyboardChart::OnCreateDevice | ( | Rendering::RenderDevice * | device | ) |
Definition at line 125 of file KeyboardChart.cpp.
| void KeyboardChart::OnDestroyDevice | ( | ) |
Definition at line 184 of file KeyboardChart.cpp.
| void KeyboardChart::OnLostDevice | ( | ) |
Definition at line 174 of file KeyboardChart.cpp.
| void KeyboardChart::OnResetDevice | ( | ) |
Definition at line 179 of file KeyboardChart.cpp.
| void KeyboardChart::Update | ( | bool | visible, |
| float | elapsedSeconds ) |
|
private |
Definition at line 105 of file KeyboardChart.h.
|
private |
Definition at line 106 of file KeyboardChart.h.
|
private |
Definition at line 109 of file KeyboardChart.h.
|
private |
Definition at line 110 of file KeyboardChart.h.
|
private |
Definition at line 117 of file KeyboardChart.h.
|
private |
Definition at line 108 of file KeyboardChart.h.
|
private |
Definition at line 107 of file KeyboardChart.h.