The Battle for Wesnoth  1.19.5+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

std::chrono::milliseconds lifetime
 Lifetime measured in milliseconds. 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 615 of file display.hpp.

Constructor & Destructor Documentation

◆ announce_options()

display::announce_options::announce_options ( )
inline

Definition at line 627 of file display.hpp.

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 625 of file display.hpp.

Referenced by display::announce(), and play_controller::hotkey_handler::toggle_accelerated_speed().

◆ lifetime

std::chrono::milliseconds display::announce_options::lifetime

Lifetime measured in milliseconds.

Definition at line 618 of file display.hpp.

Referenced by display::announce().


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