Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CLibraryImages Class Reference

#include <CLibraryImages.hpp>

Public Member Functions

 CLibraryImages ()
 
 ~CLibraryImages ()
 
void registerWithSize (const iv::ui::resources::ImageResource &resource, const std::shared_ptr< iv::ui::graphics::Image > &img, double padding, std::shared_ptr< CImageGraphics > *imageRegisterOpt)
 
void registerWithSizeInPosition (const iv::ui::resources::ImageResource &resource, const std::shared_ptr< iv::ui::graphics::Image > &img, double xPos, double yPos, double padding, std::shared_ptr< CImageGraphics > *imageRegisterOpt)
 
void removeAllObjectsDraw (IGraphics *graphics)
 
std::shared_ptr< CImageGraphicsgetImage (const std::string &idImage) const
 
std::shared_ptr< CImageGraphicsgetImageAndRegisterWithSize (const iv::ui::resources::ImageResource &resource, IGraphics *graphics, double padding)
 
std::shared_ptr< CImageGraphicsgetImageAndRegisterWithSizeRestrictedX (const iv::ui::resources::ImageResource &resource, IGraphics *graphics, double padding)
 
bool existImage (const iv::ui::resources::ImageResource &resource, std::shared_ptr< CImageGraphics > *imageOpt)
 

Private Attributes

std::vector< std::shared_ptr< CImageGraphics > > m_imagesStored
 

Constructor & Destructor Documentation

◆ CLibraryImages()

CLibraryImages::CLibraryImages ( )
default

◆ ~CLibraryImages()

CLibraryImages::~CLibraryImages ( )
default

Member Function Documentation

◆ existImage()

bool CLibraryImages::existImage ( const iv::ui::resources::ImageResource & resource,
std::shared_ptr< CImageGraphics > * imageOpt )

◆ getImage()

std::shared_ptr< CImageGraphics > CLibraryImages::getImage ( const std::string & idImage) const
nodiscard

◆ getImageAndRegisterWithSize()

std::shared_ptr< CImageGraphics > CLibraryImages::getImageAndRegisterWithSize ( const iv::ui::resources::ImageResource & resource,
IGraphics * graphics,
double padding )

◆ getImageAndRegisterWithSizeRestrictedX()

std::shared_ptr< CImageGraphics > CLibraryImages::getImageAndRegisterWithSizeRestrictedX ( const iv::ui::resources::ImageResource & resource,
IGraphics * graphics,
double padding )

◆ registerWithSize()

void CLibraryImages::registerWithSize ( const iv::ui::resources::ImageResource & resource,
const std::shared_ptr< iv::ui::graphics::Image > & img,
double padding,
std::shared_ptr< CImageGraphics > * imageRegisterOpt )

◆ registerWithSizeInPosition()

void CLibraryImages::registerWithSizeInPosition ( const iv::ui::resources::ImageResource & resource,
const std::shared_ptr< iv::ui::graphics::Image > & img,
double xPos,
double yPos,
double padding,
std::shared_ptr< CImageGraphics > * imageRegisterOpt )

◆ removeAllObjectsDraw()

void CLibraryImages::removeAllObjectsDraw ( IGraphics * graphics)

Member Data Documentation

◆ m_imagesStored

std::vector<std::shared_ptr<CImageGraphics> > CLibraryImages::m_imagesStored
private

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