mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 02:49:55 +00:00
25 lines
491 B
C++
25 lines
491 B
C++
|
#ifndef MWGUI_WINDOW_PINNABLE_BASE_H
|
||
|
#define MWGUI_WINDOW_PINNABLE_BASE_H
|
||
|
|
||
|
#include "window_base.hpp"
|
||
|
|
||
|
namespace MWGui
|
||
|
{
|
||
|
class WindowManager;
|
||
|
|
||
|
class WindowPinnableBase: public WindowBase
|
||
|
{
|
||
|
public:
|
||
|
WindowPinnableBase(const std::string& parLayout, WindowManager& parWindowManager);
|
||
|
void setVisible(bool b);
|
||
|
|
||
|
private:
|
||
|
void onWindowButtonPressed(MyGUI::Window* sender, const std::string& eventName);
|
||
|
|
||
|
bool mIsPinned;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|