| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2001-2017  David Capello | 
|---|
| 3 | // | 
|---|
| 4 | // This program is distributed under the terms of | 
|---|
| 5 | // the End-User License Agreement for Aseprite. | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef APP_UI_POPUP_FRAME_PIN_H_INCLUDED | 
|---|
| 8 | #define | 
|---|
| 9 | #pragma once | 
|---|
| 10 |  | 
|---|
| 11 | #include "ui/popup_window.h" | 
|---|
| 12 |  | 
|---|
| 13 | namespace app { | 
|---|
| 14 |  | 
|---|
| 15 | class  : public ui::PopupWindow { | 
|---|
| 16 | public: | 
|---|
| 17 | (const std::string& text, | 
|---|
| 18 | const ClickBehavior clickBehavior, | 
|---|
| 19 | const bool canPin = false); | 
|---|
| 20 |  | 
|---|
| 21 | bool () const { return m_pinned; } | 
|---|
| 22 | void (const bool pinned); | 
|---|
| 23 |  | 
|---|
| 24 | protected: | 
|---|
| 25 | virtual bool (ui::Message* msg) override; | 
|---|
| 26 | virtual void () override; | 
|---|
| 27 |  | 
|---|
| 28 | private: | 
|---|
| 29 | bool ; | 
|---|
| 30 | }; | 
|---|
| 31 |  | 
|---|
| 32 | } // namespace app | 
|---|
| 33 |  | 
|---|
| 34 | #endif | 
|---|
| 35 |  | 
|---|