5#include "fifechan/visibilityeventhandler.hpp"
7#include "fifechan/event.hpp"
8#include "fifechan/gui.hpp"
Base class for all GUI event objects.
Widget * getSource() const
Gets the source widget of the event.
Gui * mGui
Pointer to the Gui used to handle visibility-related updates.
void widgetHidden(Event const &e) override
Informs gui that a widget was hidden.
void widgetShown(Event const &e) override
Informs gui that a widget was shown.
VisibilityEventHandler(Gui *gui)
Construct a VisibilityEventHandler bound to a Gui instance.