Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
ImGuiWidgets::Image Class Reference

#include <ImGuiWidgets.hpp>

Public Member Functions

 Image (const char *file_name)
 
 ~Image ()
 
void Draw (const ImVec2 &position, const float width, const float height)
 
std::int32_t GetWidth () const noexcept
 
std::int32_t GetHeight () const noexcept
 
GLuint GetID () const noexcept
 

Detailed Description

Constructor & Destructor Documentation

◆ Image()

ImGuiWidgets::Image::Image ( const char *  file_name)
inlineexplicit

Definition at line 291 of file ImGuiWidgets.hpp.

◆ ~Image()

ImGuiWidgets::Image::~Image ( )
inline

Definition at line 318 of file ImGuiWidgets.hpp.

Member Function Documentation

◆ Draw()

void ImGuiWidgets::Image::Draw ( const ImVec2 &  position,
const float  width,
const float  height 
)
inline

Definition at line 323 of file ImGuiWidgets.hpp.

◆ GetHeight()

std::int32_t ImGuiWidgets::Image::GetHeight ( ) const
inlinenoexcept

Definition at line 330 of file ImGuiWidgets.hpp.

◆ GetID()

GLuint ImGuiWidgets::Image::GetID ( ) const
inlinenoexcept

Definition at line 331 of file ImGuiWidgets.hpp.

◆ GetWidth()

std::int32_t ImGuiWidgets::Image::GetWidth ( ) const
inlinenoexcept

Definition at line 329 of file ImGuiWidgets.hpp.


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