OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
MWGui::WindowPinnableBase Class Referenceabstract

#include <windowpinnablebase.hpp>

Inheritance diagram for MWGui::WindowPinnableBase:
Collaboration diagram for MWGui::WindowPinnableBase:

Public Member Functions

 WindowPinnableBase (const std::string &parLayout)
 
bool pinned ()
 
void setPinned (bool pinned)
 
void setPinButtonVisible (bool visible)
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void close ()
 Notify that window has been hidden. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
virtual void setVisible (bool visible)
 Sets the visibility of the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 

Protected Member Functions

virtual void onPinToggled ()=0
 
virtual void onTitleDoubleClicked ()=0
 

Protected Attributes

MyGUI::Widget * mPinButton
 
bool mPinned
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Private Member Functions

void onPinButtonPressed (MyGUI::Widget *_sender, int left, int top, MyGUI::MouseButton id)
 
void onDoubleClick (MyGUI::Widget *_sender)
 

Additional Inherited Members

- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Constructor & Destructor Documentation

MWGui::WindowPinnableBase::WindowPinnableBase ( const std::string &  parLayout)

Here is the call graph for this function:

Member Function Documentation

void MWGui::WindowPinnableBase::onDoubleClick ( MyGUI::Widget *  _sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::WindowPinnableBase::onPinButtonPressed ( MyGUI::Widget *  _sender,
int  left,
int  top,
MyGUI::MouseButton  id 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void MWGui::WindowPinnableBase::onPinToggled ( )
protectedpure virtual

Implemented in MWGui::MapWindow, MWGui::InventoryWindow, MWGui::StatsWindow, and MWGui::SpellWindow.

Here is the caller graph for this function:

virtual void MWGui::WindowPinnableBase::onTitleDoubleClicked ( )
protectedpure virtual

Implemented in MWGui::MapWindow, MWGui::InventoryWindow, MWGui::StatsWindow, and MWGui::SpellWindow.

Here is the caller graph for this function:

bool MWGui::WindowPinnableBase::pinned ( )
inline

Here is the caller graph for this function:

void MWGui::WindowPinnableBase::setPinButtonVisible ( bool  visible)

Here is the caller graph for this function:

void MWGui::WindowPinnableBase::setPinned ( bool  pinned)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MyGUI::Widget* MWGui::WindowPinnableBase::mPinButton
protected
bool MWGui::WindowPinnableBase::mPinned
protected

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