Blueprints

namespace gdt::blueprints::platform
class backend
#include <platform.hh>

platform backend;

Subclassed by gdt::platform::sdl::platform_is_sdl

namespace gdt::blueprints::graphics
namespace gdt::platform::sdl

Variables

int YAGL_TO_SDL_KEY[1024] = {[key::A] = SDL_SCANCODE_A, [key::B] = SDL_SCANCODE_B, [key::C] = SDL_SCANCODE_C, [key::D] = SDL_SCANCODE_D, [key::E] = SDL_SCANCODE_E, [key::F] = SDL_SCANCODE_F, [key::G] = SDL_SCANCODE_G, [key::H] = SDL_SCANCODE_H, [key::I] = SDL_SCANCODE_I, [key::J] = SDL_SCANCODE_J, [key::K] = SDL_SCANCODE_K, [key::L] = SDL_SCANCODE_L, [key::M] = SDL_SCANCODE_M, [key::N] = SDL_SCANCODE_N, [key::O] = SDL_SCANCODE_O, [key::P] = SDL_SCANCODE_P, [key::Q] = SDL_SCANCODE_Q, [key::R] = SDL_SCANCODE_R, [key::S] = SDL_SCANCODE_S, [key::T] = SDL_SCANCODE_T, [key::U] = SDL_SCANCODE_U, [key::V] = SDL_SCANCODE_V, [key::W] = SDL_SCANCODE_W, [key::X] = SDL_SCANCODE_X, [key::Y] = SDL_SCANCODE_Y, [key::Z] = SDL_SCANCODE_Z, [key::N1] = SDL_SCANCODE_1, [key::N2] = SDL_SCANCODE_2, [key::N3] = SDL_SCANCODE_3, [key::N4] = SDL_SCANCODE_4, [key::N5] = SDL_SCANCODE_5, [key::N6] = SDL_SCANCODE_6, [key::N7] = SDL_SCANCODE_7, [key::N8] = SDL_SCANCODE_8, [key::N9] = SDL_SCANCODE_9, [key::N0] = SDL_SCANCODE_0, [key::UP] = SDL_SCANCODE_UP, [key::DOWN] = SDL_SCANCODE_DOWN, [key::LEFT] = SDL_SCANCODE_LEFT, [key::RIGHT] = SDL_SCANCODE_RIGHT, [key::ENTER] = SDL_SCANCODE_RETURN, [key::TAB] = SDL_SCANCODE_TAB, [key::ESC] = SDL_SCANCODE_ESCAPE, [key::BACKSPACE] = SDL_SCANCODE_BACKSPACE, [key::SPACE] = SDL_SCANCODE_SPACE}
class backend_for_opengl
#include <sdl.hh>

SDL backend.

Inherits from gdt::platform::sdl::platform_is_sdl

class platform_is_sdl

Inherits from gdt::blueprints::platform::backend

Subclassed by gdt::platform::sdl::backend_for_opengl