The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
progressive_image Class Reference

#include <frame.hpp>

Public Member Functions

 progressive_image (const std::string &data="", int duration=0)
 
int duration () const
 
const image::locatorget_current_element (int time) const
 
bool does_not_change () const
 
std::string get_original () const
 

Private Attributes

std::vector< std::pair
< image::locator, int > > 
data_
 
std::string input_
 

Detailed Description

Definition at line 40 of file frame.hpp.

Constructor & Destructor Documentation

progressive_image::progressive_image ( const std::string data = "",
int  duration = 0 
)

Definition at line 64 of file frame.cpp.

References data_, duration(), utils::split(), and utils::square_parenthetical_split().

Member Function Documentation

bool progressive_image::does_not_change ( ) const
inline

Definition at line 45 of file frame.hpp.

References data_.

Referenced by frame_parsed_parameters::does_not_change(), and frame_parsed_parameters::need_update().

int progressive_image::duration ( ) const

Definition at line 93 of file frame.cpp.

References data_.

Referenced by progressive_image().

const image::locator & progressive_image::get_current_element ( int  time) const

Definition at line 105 of file frame.cpp.

References data_.

Referenced by frame_parsed_parameters::parameters().

std::string progressive_image::get_original ( ) const
inline

Definition at line 46 of file frame.hpp.

References input_.

Referenced by frame_parsed_parameters::debug_strings(), and frame_parsed_parameters::override().

Member Data Documentation

std::vector<std::pair<image::locator,int> > progressive_image::data_
private

Definition at line 48 of file frame.hpp.

Referenced by does_not_change(), duration(), get_current_element(), and progressive_image().

std::string progressive_image::input_
private

Definition at line 49 of file frame.hpp.

Referenced by get_original().


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