1 #ifndef MWGUI_WINDOW_BASE_H
2 #define MWGUI_WINDOW_BASE_H
42 virtual bool exit() {
return true;}
65 virtual void onOpen()
override;
66 virtual void onClose()
override;
67 virtual bool exit()
override {
return true;}
virtual void onFrame(float duration)
Called every frame if the window is in an active GUI mode.
Definition: windowbase.hpp:35
void onFrame(float dt)
Definition: windowbase.cpp:89
WindowBase(const std::string &parLayout)
Definition: windowbase.cpp:15
NoDrop(DragAndDrop *drag, MyGUI::Widget *widget)
Definition: windowbase.cpp:84
WindowModal(const std::string &parLayout)
Definition: windowbase.cpp:63
DragAndDrop * mDrag
Definition: windowbase.hpp:82
Definition: draganddrop.hpp:17
virtual void onResChange(int width, int height)
Called when GUI viewport changes size.
Definition: windowbase.hpp:54
virtual bool exit()
Gracefully exits the window.
Definition: windowbase.hpp:42
void center()
Definition: windowbase.cpp:49
Definition: windowbase.hpp:72
virtual void onClose() override
Notify that window has been hidden.
Definition: windowbase.cpp:77
virtual bool exit() override
Gracefully exits the window.
Definition: windowbase.hpp:67
virtual void onOpen()
Notify that window has been made visible.
Definition: windowbase.hpp:38
virtual void setVisible(bool visible)
Sets the visibility of the window.
Definition: windowbase.cpp:21
virtual void clear()
Clear any state specific to the running game.
Definition: windowbase.hpp:51
MyGUI::Widget * mWidget
Definition: windowbase.hpp:81
virtual void onOpen() override
Notify that window has been made visible.
Definition: windowbase.cpp:68
Definition: windowbase.hpp:21
Definition: layout.hpp:15
bool isVisible()
Returns the visibility state of the window.
Definition: windowbase.cpp:44
virtual void setPtr(const MWWorld::Ptr &ptr)
Open this object in the GUI, for windows that support it.
Definition: windowbase.hpp:32
MyGUI::delegates::CMultiDelegate1< WindowBase * > EventHandle_WindowBase
Definition: windowbase.hpp:29
bool mTransparent
Definition: windowbase.hpp:83
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual void onClose()
Notify that window has been hidden.
Definition: windowbase.hpp:40
virtual void setAlpha(float alpha)
Definition: windowbase.cpp:120
virtual MyGUI::Widget * getDefaultKeyFocus()
Definition: windowbase.hpp:26
Definition: windowbase.hpp:61