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
 
 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
 
virtual bool update (Input *)
 
virtual ~Source ()=0
 
virtual void get_keys (std::span< i32 > keys) const
 
virtual bool update (Input *)
 

Private Types

using Action = nngn::Input::Action
 
using Modifier = nngn::Input::Modifier
 
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 [1/2]

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

◆ Action [2/2]

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

◆ Modifier [1/2]

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

◆ Modifier [2/2]

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

Constructor & Destructor Documentation

◆ GraphicsSource() [1/2]

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

◆ ~GraphicsSource() [1/2]

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

◆ GraphicsSource() [2/2]

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

◆ ~GraphicsSource() [2/2]

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

Member Function Documentation

◆ get_keys() [1/2]

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

◆ get_keys() [2/2]

void anonymous_namespace{graphics.cpp}::GraphicsSource::get_keys ( std::span< i32 >  keys) const
override

◆ update() [1/2]

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

Reimplemented from nngn::Input::Source.

Here is the call graph for this function:

◆ update() [2/2]

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

Reimplemented from nngn::Input::Source.

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 files: