Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
OvUI::Widgets::Visual::Image Class Reference

#include <Image.h>

Inheritance diagram for OvUI::Widgets::Visual::Image:
OvUI::Widgets::AWidget OvUI::API::IDrawable OvUI::Plugins::Pluginable

Public Member Functions

 Image (uint32_t p_textureID, const OvMaths::FVector2 &p_size)
 
- Public Member Functions inherited from OvUI::Widgets::AWidget
 AWidget ()
 
virtual void Draw () override
 
void LinkTo (const AWidget &p_widget)
 
void Destroy ()
 
bool IsDestroyed () const
 
void SetParent (Internal::WidgetContainer *p_parent)
 
bool HasParent () const
 
Internal::WidgetContainerGetParent ()
 
- Public Member Functions inherited from OvUI::Plugins::Pluginable
 ~Pluginable ()
 
template<typename T , typename... Args>
T & AddPlugin (Args &&... p_args)
 
template<typename T >
T * GetPlugin ()
 
void ExecutePlugins ()
 
void RemoveAllPlugins ()
 

Public Attributes

Internal::TextureID textureID
 
OvMaths::FVector2 size
 
- Public Attributes inherited from OvUI::Widgets::AWidget
bool enabled = true
 
bool lineBreak = true
 

Protected Member Functions

void _Draw_Impl () override
 

Additional Inherited Members

- Protected Attributes inherited from OvUI::Widgets::AWidget
Internal::WidgetContainerm_parent
 
std::string m_widgetID = "?"
 
bool m_autoExecutePlugins = true
 

Detailed Description

Simple widget that display an image

Constructor & Destructor Documentation

◆ Image()

OvUI::Widgets::Visual::Image::Image ( uint32_t  p_textureID,
const OvMaths::FVector2 p_size 
)

Constructor

Parameters
p_textureID@parma p_size

@project: Overload

Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Member Function Documentation

◆ _Draw_Impl()

void OvUI::Widgets::Visual::Image::_Draw_Impl ( )
overrideprotectedvirtual

Member Data Documentation

◆ size

OvMaths::FVector2 OvUI::Widgets::Visual::Image::size

◆ textureID

Internal::TextureID OvUI::Widgets::Visual::Image::textureID

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