The Battle for Wesnoth  1.15.0-dev
Public Member Functions | Public Attributes | List of all members
display::announce_options Struct Reference

Holds options for calls to function 'announce' (announce). More...

#include <display.hpp>

Public Member Functions

 announce_options ()
 

Public Attributes

int lifetime
 Lifetime measured in frames. More...
 
bool discard_previous
 An announcement according these options should replace the previous announce (typical of fast announcing) or not (typical of movement feedback). More...
 

Detailed Description

Holds options for calls to function 'announce' (announce).

Definition at line 619 of file display.hpp.

Constructor & Destructor Documentation

◆ announce_options()

display::announce_options::announce_options ( )
inline

Definition at line 631 of file display.hpp.

References font::GOOD_COLOR, and preferences::options().

Member Data Documentation

◆ discard_previous

bool display::announce_options::discard_previous

An announcement according these options should replace the previous announce (typical of fast announcing) or not (typical of movement feedback).

Definition at line 629 of file display.hpp.

Referenced by display::announce().

◆ lifetime

int display::announce_options::lifetime

Lifetime measured in frames.

Definition at line 622 of file display.hpp.

Referenced by display::announce().


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