The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Functions
gui2::dialogs::fps Namespace Reference

Functions

void show (const gui2::tracked_drawable &target)
 Displays the fps report popup for the given tracked_drawable.
 
void hide ()
 Hides the fps report popup.
 

Function Documentation

◆ hide()

void gui2::dialogs::fps::hide ( )
private

Hides the fps report popup.

Definition at line 147 of file fps_report.cpp.

References hide().

Referenced by hide(), gui2::tracked_drawable::process(), and gui2::tracked_drawable::~tracked_drawable().

◆ show()

void gui2::dialogs::fps::show ( const gui2::tracked_drawable &  target)
private

Displays the fps report popup for the given tracked_drawable.

Only one popup may be active at a time, and subsequent calls to this function are no-op unless hide is called first.

Definition at line 131 of file fps_report.cpp.

Referenced by gui2::tracked_drawable::process().