styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
FUCK::Image Class Reference

RAII wrapper for custom images. More...

#include <FUCK_API.h>

Public Member Functions

 Image ()=default
 Image (const char *a_path, bool a_resizeToScreen=false)
 ~Image ()
 Image (Image &&other) noexcept
Imageoperator= (Image &&other) noexcept
 Image (const Image &)=delete
Imageoperator= (const Image &)=delete
bool IsLoaded () const
ImTextureID GetID () const
 operator ImTextureID () const
 operator void * () const
float GetWidth () const
float GetHeight () const
ImVec2 GetSize () const
void Reset ()

Private Attributes

void * _handle = nullptr
float _width = 0.0f
float _height = 0.0f

Detailed Description

RAII wrapper for custom images.

Constructor & Destructor Documentation

◆ Image() [1/4]

FUCK::Image::Image ( )
default
Here is the caller graph for this function:

◆ Image() [2/4]

FUCK::Image::Image ( const char * a_path,
bool a_resizeToScreen = false )
inline
Here is the call graph for this function:

◆ ~Image()

FUCK::Image::~Image ( )
inline
Here is the call graph for this function:

◆ Image() [3/4]

FUCK::Image::Image ( Image && other)
inlinenoexcept
Here is the call graph for this function:

◆ Image() [4/4]

FUCK::Image::Image ( const Image & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ GetHeight()

float FUCK::Image::GetHeight ( ) const
inlinenodiscard

◆ GetID()

ImTextureID FUCK::Image::GetID ( ) const
inlinenodiscard

◆ GetSize()

ImVec2 FUCK::Image::GetSize ( ) const
inlinenodiscard

◆ GetWidth()

float FUCK::Image::GetWidth ( ) const
inlinenodiscard

◆ IsLoaded()

bool FUCK::Image::IsLoaded ( ) const
inlinenodiscard

◆ operator ImTextureID()

FUCK::Image::operator ImTextureID ( ) const
inline

◆ operator void *()

FUCK::Image::operator void * ( ) const
inline

◆ operator=() [1/2]

Image & FUCK::Image::operator= ( const Image & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

Image & FUCK::Image::operator= ( Image && other)
inlinenoexcept
Here is the call graph for this function:

◆ Reset()

void FUCK::Image::Reset ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _handle

void* FUCK::Image::_handle = nullptr
private

◆ _height

float FUCK::Image::_height = 0.0f
private

◆ _width

float FUCK::Image::_width = 0.0f
private

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