GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::Tint Class Reference

#include <tint_component.h>

Inheritance diagram for ga::Tint:
ga::Component

Public Attributes

Color color { 1.f }
 

Protected Member Functions

void setNode (std::shared_ptr< Node > node) override
 
- Protected Member Functions inherited from ga::Component
virtual void update ()
 
virtual void draw ()
 
virtual void setNode (std::shared_ptr< Node > node)
 
virtual void setScene (std::shared_ptr< Scene > scene)
 

Protected Attributes

ScopedConnection m_connWillDraw
 
ScopedConnection m_connDidDraw
 
Color m_pGlobalColor
 
- Protected Attributes inherited from ga::Component
std::weak_ptr< Nodem_node
 

Friends

class Node
 

Additional Inherited Members

- Public Member Functions inherited from ga::Component
 Component ()=default
 
virtual ~Component ()=default
 
 Component (const Component &other)
 
Componentoperator= (const Component &other)
 
std::shared_ptr< NodegetNode () const
 

Member Function Documentation

◆ setNode()

void ga::Tint::setNode ( std::shared_ptr< Node node)
inlineoverrideprotectedvirtual

Reimplemented from ga::Component.

Friends And Related Function Documentation

◆ Node

friend class Node
friend

Member Data Documentation

◆ color

Color ga::Tint::color { 1.f }

◆ m_connDidDraw

ScopedConnection ga::Tint::m_connDidDraw
protected

◆ m_connWillDraw

ScopedConnection ga::Tint::m_connWillDraw
protected

◆ m_pGlobalColor

Color ga::Tint::m_pGlobalColor
protected

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