#include <WindowTranslator.h>
◆ GetFallbackWindow()
int CWindowTranslator::GetFallbackWindow |
( |
int |
windowId | ) |
|
|
static |
Get the window ID that should be used as fallback for keymap input.
- Returns
- The fallback window, or -1 for no fallback window
◆ GetVirtualWindow()
int CWindowTranslator::GetVirtualWindow |
( |
int |
windowId | ) |
|
|
static |
Get the special window ID if conditions met.
- Returns
- The special window ID or the given window ID
◆ GetWindows()
void CWindowTranslator::GetWindows |
( |
std::vector< std::string > & |
windowList | ) |
|
|
static |
Get a list of all known window names.
◆ TranslateWindow() [1/2]
int CWindowTranslator::TranslateWindow |
( |
const std::string & |
window | ) |
|
|
static |
Translate between a window name and its ID.
- Parameters
-
window | The name of the window |
- Returns
- ID of the window, or WINDOW_INVALID if not found
◆ TranslateWindow() [2/2]
std::string CWindowTranslator::TranslateWindow |
( |
int |
windowId | ) |
|
|
static |
Translate between a window id and it's name.
- Parameters
-
- Returns
- name of the window, or an empty string if not found
The documentation for this class was generated from the following files: