Rise
The Vieneo Province
Loading...
Searching...
No Matches
Keychart Namespace Reference

Classes

struct  Key
struct  Label
struct  MarqueePosition

Typedefs

using Labels = std::array<std::array<Label, ModifierCount>, 256>

Functions

const std::vector< Key > & Layout ()
Label ControlLabel (BindingEnum function, const Label &normal)
MarqueePosition Marquee (double elapsedSeconds, LONG textWidth, LONG availableWidth)
template<typename Translate>
Labels BuildLabels (const std::vector< KeyBinding > &bindings, char profile, bool admin, Translate translate)

Variables

constexpr int Width = 1815
constexpr int ModifierCount = 4
constexpr int KeyRowHeight = 124
constexpr int LabelTop = 25
constexpr int LabelHeight = 22
constexpr int Height = 68 + 6 * KeyRowHeight + 12
constexpr double MarqueeStartHold = 3.0
constexpr double MarqueeEndHold = 1.0
constexpr double MarqueePixelsPerSecond = 36.0

Typedef Documentation

◆ Labels

using Keychart::Labels = std::array<std::array<Label, ModifierCount>, 256>

Definition at line 44 of file KeyboardChart.h.

Function Documentation

◆ BuildLabels()

template<typename Translate>
Labels Keychart::BuildLabels ( const std::vector< KeyBinding > & bindings,
char profile,
bool admin,
Translate translate )

Definition at line 60 of file KeyboardChart.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ControlLabel()

Keychart::Label Keychart::ControlLabel ( BindingEnum function,
const Label & normal )

Definition at line 5 of file KeyboardChart.cpp.

Here is the caller graph for this function:

◆ Layout()

const std::vector< Keychart::Key > & Keychart::Layout ( )

Definition at line 42 of file KeyboardChart.cpp.

Here is the caller graph for this function:

◆ Marquee()

Keychart::MarqueePosition Keychart::Marquee ( double elapsedSeconds,
LONG textWidth,
LONG availableWidth )

Definition at line 30 of file KeyboardChart.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ Height

int Keychart::Height = 68 + 6 * KeyRowHeight + 12
constexpr

Definition at line 24 of file KeyboardChart.h.

◆ KeyRowHeight

int Keychart::KeyRowHeight = 124
constexpr

Definition at line 21 of file KeyboardChart.h.

◆ LabelHeight

int Keychart::LabelHeight = 22
constexpr

Definition at line 23 of file KeyboardChart.h.

◆ LabelTop

int Keychart::LabelTop = 25
constexpr

Definition at line 22 of file KeyboardChart.h.

◆ MarqueeEndHold

double Keychart::MarqueeEndHold = 1.0
constexpr

Definition at line 48 of file KeyboardChart.h.

◆ MarqueePixelsPerSecond

double Keychart::MarqueePixelsPerSecond = 36.0
constexpr

Definition at line 49 of file KeyboardChart.h.

◆ MarqueeStartHold

double Keychart::MarqueeStartHold = 3.0
constexpr

Definition at line 47 of file KeyboardChart.h.

◆ ModifierCount

int Keychart::ModifierCount = 4
constexpr

Definition at line 20 of file KeyboardChart.h.

◆ Width

int Keychart::Width = 1815
constexpr

Definition at line 19 of file KeyboardChart.h.