The Battle for Wesnoth  1.19.25+dev
Functions
gui2::dialogs::fps Namespace Reference

Functions

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

Function Documentation

◆ hide()

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

◆ show()

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

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().