#include <part.hpp>
Definition at line 119 of file part.hpp.
◆ background_layer() [1/2]
storyscreen::background_layer::background_layer |
( |
| ) |
|
◆ background_layer() [2/2]
storyscreen::background_layer::background_layer |
( |
const config & |
cfg | ) |
|
◆ file()
const std::string& storyscreen::background_layer::file |
( |
| ) |
const |
|
inline |
The path to the file to load the image from.
Definition at line 203 of file part.hpp.
◆ is_base_layer()
bool storyscreen::background_layer::is_base_layer |
( |
| ) |
const |
|
inline |
Whether is this layer the base layer.
Definition at line 191 of file part.hpp.
◆ keep_aspect_ratio()
bool storyscreen::background_layer::keep_aspect_ratio |
( |
| ) |
const |
|
inline |
Whether the aspect ratio should be preserved while scaling.
Definition at line 179 of file part.hpp.
◆ scale_horizontally()
bool storyscreen::background_layer::scale_horizontally |
( |
| ) |
const |
|
inline |
Whether the layer should be scaled horizontally.
Definition at line 131 of file part.hpp.
◆ scale_vertically()
bool storyscreen::background_layer::scale_vertically |
( |
| ) |
const |
|
inline |
Whether the layer should be scaled vertically.
Definition at line 143 of file part.hpp.
◆ set_base_layer()
void storyscreen::background_layer::set_base_layer |
( |
bool |
b | ) |
|
|
inline |
Sets whether is this layer a base layer.
Definition at line 197 of file part.hpp.
References b.
◆ set_file()
void storyscreen::background_layer::set_file |
( |
const std::string & |
str | ) |
|
|
inline |
◆ set_keep_aspect_ratio()
void storyscreen::background_layer::set_keep_aspect_ratio |
( |
bool |
b | ) |
|
|
inline |
◆ set_scale_horizontally()
void storyscreen::background_layer::set_scale_horizontally |
( |
bool |
b | ) |
|
|
inline |
◆ set_scale_vertically()
void storyscreen::background_layer::set_scale_vertically |
( |
bool |
b | ) |
|
|
inline |
◆ set_tile_horizontally()
void storyscreen::background_layer::set_tile_horizontally |
( |
bool |
b | ) |
|
|
inline |
◆ set_tile_vertically()
void storyscreen::background_layer::set_tile_vertically |
( |
bool |
b | ) |
|
|
inline |
◆ tile_horizontally()
bool storyscreen::background_layer::tile_horizontally |
( |
| ) |
const |
|
inline |
Whether the layer should be tiled horizontally.
Definition at line 155 of file part.hpp.
◆ tile_vertically()
bool storyscreen::background_layer::tile_vertically |
( |
| ) |
const |
|
inline |
Whether the layer should be tiled vertically.
Definition at line 167 of file part.hpp.
◆ image_file_
std::string storyscreen::background_layer::image_file_ |
|
private |
◆ is_base_layer_
bool storyscreen::background_layer::is_base_layer_ |
|
private |
◆ keep_aspect_ratio_
bool storyscreen::background_layer::keep_aspect_ratio_ |
|
private |
◆ scale_horizontally_
bool storyscreen::background_layer::scale_horizontally_ |
|
private |
◆ scale_vertically_
bool storyscreen::background_layer::scale_vertically_ |
|
private |
◆ tile_horizontally_
bool storyscreen::background_layer::tile_horizontally_ |
|
private |
◆ tile_vertically_
bool storyscreen::background_layer::tile_vertically_ |
|
private |
The documentation for this class was generated from the following files: