Simple GUI Library
Sgl::Background Class Reference
Collaboration diagram for Sgl::Background:

Public Member Functions

 Background (const std::initializer_list< const Fill * > &fills, const std::initializer_list< const Image * > &images)
 
 Background (const std::initializer_list< const Fill * > &fills)
 
 Background (const Fill *fill)
 
void addFill (const Fill *fill)
 
void addImage (const Image *image)
 
void clearFills ()
 
void clearImages ()
 
const std::vector< const Fill * > & getFills () const
 
const std::vector< const Image * > getImages () const
 

Static Public Member Functions

static void fillArea (const Background *background, const Sml::Rectangle< int32_t > &targetRegion)
 

Detailed Description

Definition at line 21 of file background.h.

Constructor & Destructor Documentation

◆ Background() [1/3]

Sgl::Background::Background ( const std::initializer_list< const Fill * > &  fills,
const std::initializer_list< const Image * > &  images 
)

Definition at line 15 of file background.cpp.

◆ Background() [2/3]

Sgl::Background::Background ( const std::initializer_list< const Fill * > &  fills)

Definition at line 22 of file background.cpp.

◆ Background() [3/3]

Sgl::Background::Background ( const Fill fill)

Definition at line 27 of file background.cpp.

Member Function Documentation

◆ addFill()

void Sgl::Background::addFill ( const Fill fill)

Definition at line 29 of file background.cpp.

◆ addImage()

void Sgl::Background::addImage ( const Image image)

Definition at line 30 of file background.cpp.

◆ clearFills()

void Sgl::Background::clearFills ( )

Definition at line 32 of file background.cpp.

◆ clearImages()

void Sgl::Background::clearImages ( )

Definition at line 33 of file background.cpp.

◆ fillArea()

void Sgl::Background::fillArea ( const Background background,
const Sml::Rectangle< int32_t > &  targetRegion 
)
static

Definition at line 38 of file background.cpp.

◆ getFills()

const std::vector< const Fill * > & Sgl::Background::getFills ( ) const

Definition at line 35 of file background.cpp.

◆ getImages()

const std::vector< const Image * > Sgl::Background::getImages ( ) const

Definition at line 36 of file background.cpp.


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