Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CLibraryImages.cpp File Reference
#include "CLibraryImages.hpp"
#include "core/assert.hpp"
#include "core/utils.hpp"
#include "ui/graphics/IGraphics.hpp"
Include dependency graph for CLibraryImages.cpp:

Functions

static bool prvSearchImageStored (const std::vector< std::shared_ptr< CImageGraphics > > &imagesStored, const iv::ui::resources::ImageResource &resource, std::shared_ptr< CImageGraphics > *imageOpt)
 
static void prvRegisterImage (const iv::ui::resources::ImageResource &resource, const std::shared_ptr< iv::ui::graphics::Image > &img, double orgX, double orgY, double padding, std::vector< std::shared_ptr< CImageGraphics > > &imagesStored, std::shared_ptr< CImageGraphics > *imageRegisterOpt)
 
static void prvRegisterImage (const iv::ui::resources::ImageResource &resource, const std::shared_ptr< iv::ui::graphics::Image > &img, double orgX, double orgY, double padding, double sizeX, std::vector< std::shared_ptr< CImageGraphics > > &imagesStored, std::shared_ptr< CImageGraphics > *imageRegisterOpt)
 
static bool prvIsIcon (const std::shared_ptr< CImageGraphics > &image, const std::string &idImage)
 
static std::shared_ptr< CImageGraphicsprvGetImage (const std::vector< std::shared_ptr< CImageGraphics > > &images, const std::string &idImage)
 

Function Documentation

◆ prvGetImage()

static std::shared_ptr< CImageGraphics > prvGetImage ( const std::vector< std::shared_ptr< CImageGraphics > > & images,
const std::string & idImage )
static

◆ prvIsIcon()

static bool prvIsIcon ( const std::shared_ptr< CImageGraphics > & image,
const std::string & idImage )
static

◆ prvRegisterImage() [1/2]

static void prvRegisterImage ( const iv::ui::resources::ImageResource & resource,
const std::shared_ptr< iv::ui::graphics::Image > & img,
double orgX,
double orgY,
double padding,
double sizeX,
std::vector< std::shared_ptr< CImageGraphics > > & imagesStored,
std::shared_ptr< CImageGraphics > * imageRegisterOpt )
static

◆ prvRegisterImage() [2/2]

static void prvRegisterImage ( const iv::ui::resources::ImageResource & resource,
const std::shared_ptr< iv::ui::graphics::Image > & img,
double orgX,
double orgY,
double padding,
std::vector< std::shared_ptr< CImageGraphics > > & imagesStored,
std::shared_ptr< CImageGraphics > * imageRegisterOpt )
static

◆ prvSearchImageStored()

static bool prvSearchImageStored ( const std::vector< std::shared_ptr< CImageGraphics > > & imagesStored,
const iv::ui::resources::ImageResource & resource,
std::shared_ptr< CImageGraphics > * imageOpt )
static