|
Tramway SDK v0.1.1
|
#include <platform/platform.h>#include <platform/image.h>#include <platform/api.h>#include <framework/core.h>#include <framework/event.h>#include <framework/ui.h>#include <framework/system.h>#include <framework/logging.h>#include <render/render.h>#include <render/api.h>#include <config.h>#include <fstream>#include <cstring>#include <algorithm>#include <ctime>#include <templates/hashmap.h>Classes | |
| struct | tram::UI::KeyBinding |
Namespaces | |
| namespace | tram::UI |
| User interface system. | |
| namespace | tram |
| Serialization, i.e. | |
Functions | |
| void | tram::UI::BindKeyboardKey (KeyboardKey key, keyboardaction_t action) |
| void | tram::UI::BindKeyboardKey (KeyboardKey key, void(*action)()) |
| void | tram::UI::BindKeyboardKey (KeyboardKey key, void(*action)(KeyboardKey)) |
| void | tram::UI::Init () |
| Initializes the UI system. More... | |
| void | tram::UI::Uninit () |
| Uninitializes the UI system. More... | |
| void | tram::UI::Update () |
| Updates the UI system. More... | |
| void | tram::UI::EndFrame () |
| Ends the frame and updates the window. More... | |
| void | tram::UI::SetWebMainLoop (void(*loop_function)(void)) |
| float | tram::UI::GetScreenWidth () |
| float | tram::UI::GetScreenHeight () |
| void | tram::UI::SetWindowTitle (const char *title) |
| void | tram::UI::SetWindowSize (int w, int h) |
| Sets the window size. More... | |
| void | tram::UI::SetCursor (CursorType cursor) |
| void | tram::UI::SetInputState (InputState state) |
| InputState | tram::UI::GetInputState () |
| bool | tram::UI::PollKeyboardKey (KeyboardKey key) |
| Checks the state of a key for the current frame. More... | |
| float | tram::UI::PollKeyboardAxis (KeyboardAxis key) |
| Checks the state of an axis for the current frame. More... | |
| float | tram::UI::PollKeyboardAxisDelta (KeyboardAxis key) |
| Checks the change of an axis for since the last frame. More... | |
| float | tram::UI::GetAxisSensitivity (KeyboardAxis key) |
| void | tram::UI::SetAxisSensitivity (KeyboardAxis key, float value) |
| void | tram::UI::KeyPress (KeyboardKey key) |
| void | tram::UI::KeyRelease (KeyboardKey key) |
| void | tram::UI::KeyCode (uint16_t code) |
| void | tram::UI::KeyMouse (float xpos, float ypos) |
| void | tram::UI::KeyScroll (float value) |
| void | tram::UI::ScreenResize (int width, int height) |
| void | tram::UI::ScreenClose () |
| bool | tram::UI::ShouldExit () |
| keyboardaction_t | tram::UI::RegisterKeyboardAction (const char *name) |
| keyboardaction_t | tram::UI::GetKeyboardAction (name_t name) |
| name_t | tram::UI::GetKeyboardActionName (keyboardaction_t type) |
| std::vector< std::pair< keyboardaction_t, std::vector< KeyboardKey > > > | tram::UI::GetAllKeyboardKeyBindings () |
| const char * | tram::UI::GetKeyboardKeyName (KeyboardKey key) |