Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CGUIMouseEventMaskTexture Class Referencefinal
Inheritance diagram for CGUIMouseEventMaskTexture:
Collaboration diagram for CGUIMouseEventMaskTexture:

Public Member Functions

virtual bool IsMouseOver (const CVector2D &mousePos, const CRect &objectSize) const override
 
- Public Member Functions inherited from CGUIMouseEventMask::Impl
virtual ~Impl ()=default
 
virtual bool IsMouseOver (const CVector2D &mousePos, const CRect &objectSize) const =0
 

Static Public Member Functions

static std::unique_ptr< CGUIMouseEventMaskTextureCreate (const std::string_view spec)
 

Static Public Attributes

static constexpr std::string_view identifier = "texture:"
 
static constexpr size_t specOffset = identifier.size()
 

Private Attributes

std::vector< bool > m_Data
 
u16 m_Width
 
u16 m_Height
 

Member Function Documentation

◆ Create()

static std::unique_ptr< CGUIMouseEventMaskTexture > CGUIMouseEventMaskTexture::Create ( const std::string_view  spec)
inlinestatic

◆ IsMouseOver()

virtual bool CGUIMouseEventMaskTexture::IsMouseOver ( const CVector2D mousePos,
const CRect objectSize 
) const
inlineoverridevirtual

Member Data Documentation

◆ identifier

constexpr std::string_view CGUIMouseEventMaskTexture::identifier = "texture:"
staticconstexpr

◆ m_Data

std::vector<bool> CGUIMouseEventMaskTexture::m_Data
private

◆ m_Height

u16 CGUIMouseEventMaskTexture::m_Height
private

◆ m_Width

u16 CGUIMouseEventMaskTexture::m_Width
private

◆ specOffset

constexpr size_t CGUIMouseEventMaskTexture::specOffset = identifier.size()
staticconstexpr

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