The Battle for Wesnoth  1.19.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 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 622 of file display.hpp.

Constructor & Destructor Documentation

◆ announce_options()

display::announce_options::announce_options ( )
inline

Definition at line 634 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 632 of file display.hpp.

Referenced by play_controller::hotkey_handler::toggle_accelerated_speed().

◆ lifetime

int display::announce_options::lifetime

Lifetime measured in milliseconds.

Definition at line 625 of file display.hpp.


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