sftools  2.0 dev
Bunch of tools for SFML application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
sftools::LoopFrameStream::Settings Struct Reference

Combine horizontal, vertical and precedence policies together to define how a sprite sheet should be read. More...

#include <LoopFrameStream.hpp>

+ Collaboration diagram for sftools::LoopFrameStream::Settings:

Public Member Functions

 Settings (HorizontalStartFromPolicy horizontalPolicy=FromLeft, VerticalStartFromPolicy verticalPolicy=FromTop, PrecedencePolicy precedencePolicy=HorizontalFirst)
 Constructor.
 

Public Attributes

HorizontalStartFromPolicy horizontalPolicy
 Tell which horizontal policy should be used.
 
VerticalStartFromPolicy verticalPolicy
 Tell which vertical policy should be used.
 
PrecedencePolicy precedencePolicy
 Tell which precedence policy should be used.
 

Detailed Description

Combine horizontal, vertical and precedence policies together to define how a sprite sheet should be read.

See Also
PrecedencePolicy
VerticalStartFromPolicy
HorizontalStartFromPolicy

Definition at line 130 of file LoopFrameStream.hpp.

Constructor & Destructor Documentation

sftools::LoopFrameStream::Settings::Settings ( HorizontalStartFromPolicy  horizontalPolicy = FromLeft,
VerticalStartFromPolicy  verticalPolicy = FromTop,
PrecedencePolicy  precedencePolicy = HorizontalFirst 
)
inline

Constructor.

Parameters
horizontalPolicytell which horizontal policy should be used
verticalPolicytell which vertical policy should be used
precedencePolicytell which precedence policy should be used

Definition at line 139 of file LoopFrameStream.hpp.

Member Data Documentation

HorizontalStartFromPolicy sftools::LoopFrameStream::Settings::horizontalPolicy

Tell which horizontal policy should be used.

Definition at line 149 of file LoopFrameStream.hpp.

PrecedencePolicy sftools::LoopFrameStream::Settings::precedencePolicy

Tell which precedence policy should be used.

Definition at line 151 of file LoopFrameStream.hpp.

VerticalStartFromPolicy sftools::LoopFrameStream::Settings::verticalPolicy

Tell which vertical policy should be used.

Definition at line 150 of file LoopFrameStream.hpp.


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