Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
demo_setup Namespace Reference

Classes

class  RmluiExampleError
struct  TweeningParameters
class  DemoWindow
class  DemoEventListener
class  DemoEventListenerInstancer
struct  DemoState

Functions

void Setup (Engine::Core &core)
void UpdateDemoWindow (Engine::Core &core)

Variables

static const Rml::String kSandboxDefaultRcss

Detailed Description

EngineSquared - Rmlui Animation Demo

EngineSquared - Rmlui Demo Sample

Function Documentation

◆ Setup()

void demo_setup::Setup ( Engine::Core & core)

◆ UpdateDemoWindow()

void demo_setup::UpdateDemoWindow ( Engine::Core & core)

Variable Documentation

◆ kSandboxDefaultRcss

const Rml::String demo_setup::kSandboxDefaultRcss
static
Initial value:
= R"(
body { top: 0; left: 0; right: 0; bottom: 0; overflow: hidden auto; }
scrollbarvertical { width: 15px; }
scrollbarvertical slidertrack { background: #eee; }
scrollbarvertical slidertrack:active { background: #ddd; }
scrollbarvertical sliderbar { width: 15px; min-height: 30px; background: #aaa; }
scrollbarvertical sliderbar:hover { background: #888; }
scrollbarvertical sliderbar:active { background: #666; }
scrollbarhorizontal { height: 15px; }
scrollbarhorizontal slidertrack { background: #eee; }
scrollbarhorizontal slidertrack:active { background: #ddd; }
scrollbarhorizontal sliderbar { height: 15px; min-width: 30px; background: #aaa; }
scrollbarhorizontal sliderbar:hover { background: #888; }
scrollbarhorizontal sliderbar:active { background: #666; }
)"