ManaPlus
|
#include <widgetlistener.h>
Public Member Functions | |
virtual | ~WidgetListener () |
virtual void | widgetResized (const Event &event) |
virtual void | widgetMoved (const Event &event) |
virtual void | widgetHidden (const Event &event) |
virtual void | widgetShown (const Event &event) |
Protected Member Functions | |
WidgetListener () | |
Interface for listening for events from widgets. When a widget's size, location or visibility changes, the relevant method of the listener is invoked.
Definition at line 80 of file widgetlistener.h.
|
inlinevirtual |
|
inlineprotected |
Constructor.
You should not be able to make an instance of WidgetListener, therefore its constructor is protected.
Definition at line 132 of file widgetlistener.h.
|
inlinevirtual |
Invoked when a widget is hidden, i.e it's set to be not visible.
event | Describes the event. |
Reimplemented in ShortcutWindow, InventoryWindow, Window, VirtShortcutContainer, TextField, SpellShortcutContainer, RadioButton, ProgressBar, Label, ItemShortcutContainer, EmoteShortcutContainer, CheckBox, CharacterDisplay, and Button.
Definition at line 113 of file widgetlistener.h.
Referenced by ShortcutWindow::widgetHidden().
|
inlinevirtual |
Invoked when a widget is moved.
event | Describes the event. |
Reimplemented in ShortcutWindow, EmoteWindow, Window, Tab, ShortcutContainer, ScrollArea, ProgressBar, Popup, ItemContainer, EmotePage, and Button.
Definition at line 104 of file widgetlistener.h.
|
inlinevirtual |
Invoked when a widget changes its size.
event | Describes the event. |
Reimplemented in WhoIsOnline, SocialWindow, SkillDialog, SetupWindow, InventoryWindow, EmoteWindow, DebugWindow, ClanWindow, ChatWindow, CharSelectDialog, Window, WidgetGroup, VertContainer, Tab, SetupTabScroll, TabbedArea, StatsPageBasic, StatsPage, ShortcutContainer, ScrollArea, ProgressBar, PopupList, Popup, LayoutHelper, ItemContainer, HorizontContainer, FlowContainer, EmotePage, Desktop, Button, and BrowserBox.
Definition at line 96 of file widgetlistener.h.
|
inlinevirtual |
Invoked when a widget is shown, i.e it's set to be visible.
event | Describes the event. |
Reimplemented in BankWindow.
Definition at line 122 of file widgetlistener.h.