The Battle for Wesnoth  1.19.5+dev
Public Attributes | List of all members
frame_parameters Struct Reference

All parameters from a frame at a given instant. More...

#include <frame.hpp>

Public Attributes

std::chrono::milliseconds duration {0}
 
image::locator image
 
image::locator image_diagonal
 
std::string image_mod
 
std::string halo
 
int halo_x = 0
 
int halo_y = 0
 
std::string halo_mod
 
std::string sound
 
std::string text
 
utils::optional< color_ttext_color
 
utils::optional< color_tblend_with
 
double blend_ratio = 0.0
 
double highlight_ratio = 1.0
 
double offset = 0.0
 
double submerge = 0.0
 
int x = 0
 
int y = 0
 
int directional_x = 0
 
int directional_y = 0
 
boost::tribool auto_vflip = boost::logic::indeterminate
 
boost::tribool auto_hflip = boost::logic::indeterminate
 
boost::tribool primary_frame = boost::logic::indeterminate
 
int drawing_layer = get_abs_frame_layer(drawing_layer::unit_default)
 

Detailed Description

All parameters from a frame at a given instant.

Definition at line 43 of file frame.hpp.

Member Data Documentation

◆ auto_hflip

boost::tribool frame_parameters::auto_hflip = boost::logic::indeterminate

◆ auto_vflip

boost::tribool frame_parameters::auto_vflip = boost::logic::indeterminate

◆ blend_ratio

double frame_parameters::blend_ratio = 0.0

◆ blend_with

utils::optional<color_t> frame_parameters::blend_with

◆ directional_x

int frame_parameters::directional_x = 0

◆ directional_y

int frame_parameters::directional_y = 0

◆ drawing_layer

int frame_parameters::drawing_layer = get_abs_frame_layer(drawing_layer::unit_default)

◆ duration

std::chrono::milliseconds frame_parameters::duration {0}

Definition at line 45 of file frame.hpp.

Referenced by unit_frame::merge_parameters(), and frame_parsed_parameters::parameters().

◆ halo

std::string frame_parameters::halo

◆ halo_mod

std::string frame_parameters::halo_mod

◆ halo_x

int frame_parameters::halo_x = 0

◆ halo_y

int frame_parameters::halo_y = 0

◆ highlight_ratio

double frame_parameters::highlight_ratio = 1.0

◆ image

image::locator frame_parameters::image

◆ image_diagonal

image::locator frame_parameters::image_diagonal

◆ image_mod

std::string frame_parameters::image_mod

◆ offset

double frame_parameters::offset = 0.0

◆ primary_frame

boost::tribool frame_parameters::primary_frame = boost::logic::indeterminate

◆ sound

std::string frame_parameters::sound

◆ submerge

double frame_parameters::submerge = 0.0

◆ text

std::string frame_parameters::text

◆ text_color

utils::optional<color_t> frame_parameters::text_color

◆ x

int frame_parameters::x = 0

◆ y

int frame_parameters::y = 0

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