nngn
Loading...
Searching...
No Matches
anonymous_namespace{graphics.cpp}::GraphicsSource Class Reference
Inheritance diagram for anonymous_namespace{graphics.cpp}::GraphicsSource:
Collaboration diagram for anonymous_namespace{graphics.cpp}::GraphicsSource:

Public Member Functions

 GraphicsSource (nngn::Graphics *g)
 
 ~GraphicsSource (void) override=default
 
bool update (nngn::Input *) override
 
void get_keys (std::span< i32 > keys) const override
 
- Public Member Functions inherited from nngn::Input::Source
virtual ~Source ()=0
 
virtual void get_keys (std::span< i32 > keys) const
 

Private Types

using Action = nngn::Input::Action
 
using Modifier = nngn::Input::Modifier
 

Private Attributes

nngn::Graphicsgraphics = {}
 
std::vector< std::tuple< int, Action, Modifier > > events = {}
 

Member Typedef Documentation

◆ Action

using anonymous_namespace{graphics.cpp}::GraphicsSource::Action = nngn::Input::Action
private

◆ Modifier

using anonymous_namespace{graphics.cpp}::GraphicsSource::Modifier = nngn::Input::Modifier
private

Constructor & Destructor Documentation

◆ GraphicsSource()

anonymous_namespace{graphics.cpp}::GraphicsSource::GraphicsSource ( nngn::Graphics * g)

◆ ~GraphicsSource()

anonymous_namespace{graphics.cpp}::GraphicsSource::~GraphicsSource ( void )
overridedefault

Member Function Documentation

◆ get_keys()

void anonymous_namespace{graphics.cpp}::GraphicsSource::get_keys ( std::span< i32 > keys) const
override
Here is the call graph for this function:

◆ update()

bool anonymous_namespace{graphics.cpp}::GraphicsSource::update ( nngn::Input * input)
overridevirtual

Reimplemented from nngn::Input::Source.

Here is the call graph for this function:

Member Data Documentation

◆ events

std::vector<std::tuple<int, Action, Modifier> > anonymous_namespace{graphics.cpp}::GraphicsSource::events = {}
private

◆ graphics

nngn::Graphics* anonymous_namespace{graphics.cpp}::GraphicsSource::graphics = {}
private

The documentation for this class was generated from the following file: