MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PluginCloseOnEscPressed Class Reference

Helper class to close a dialog-less plugin when the Esc key is pressed. More...

#include <MRViewer/MRStatePluginUpdate.h>

Inheritance diagram for MR::PluginCloseOnEscPressed:

Protected Member Functions

bool shouldClose_ () const override
 called each frame, return true to close plugin
Protected Member Functions inherited from MR::IPluginUpdate
virtual void onPluginEnable_ ()
 called when plugin started
virtual void onPluginDisable_ ()
 called when plugin stops

Additional Inherited Members

Public Member Functions inherited from MR::IPluginUpdate
virtual ~IPluginUpdate ()=default
virtual void preDrawUpdate ()
 called each frame in before drawDialog

Detailed Description

Helper class to close a dialog-less plugin when the Esc key is pressed.


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