| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2021  Igara Studio S.A. | 
|---|
| 3 | // Copyright (C) 2001-2017  David Capello | 
|---|
| 4 | // | 
|---|
| 5 | // This program is distributed under the terms of | 
|---|
| 6 | // the End-User License Agreement for Aseprite. | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef APP_UI_FONT_POPUP_H_INCLUDED | 
|---|
| 9 | #define | 
|---|
| 10 | #pragma once | 
|---|
| 11 |  | 
|---|
| 12 | #include "ui/listbox.h" | 
|---|
| 13 | #include "ui/popup_window.h" | 
|---|
| 14 |  | 
|---|
| 15 | namespace ui { | 
|---|
| 16 | class Button; | 
|---|
| 17 | class View; | 
|---|
| 18 | } | 
|---|
| 19 |  | 
|---|
| 20 | namespace app { | 
|---|
| 21 |  | 
|---|
| 22 | namespace gen { | 
|---|
| 23 | class ; | 
|---|
| 24 | } | 
|---|
| 25 |  | 
|---|
| 26 | class  : public ui::PopupWindow { | 
|---|
| 27 | public: | 
|---|
| 28 | (); | 
|---|
| 29 |  | 
|---|
| 30 | void (ui::Display* display, | 
|---|
| 31 | const gfx::Rect& buttonBounds); | 
|---|
| 32 |  | 
|---|
| 33 | obs::signal<void(const std::string&)> ; | 
|---|
| 34 |  | 
|---|
| 35 | protected: | 
|---|
| 36 | void (); | 
|---|
| 37 | void (); | 
|---|
| 38 | void (); | 
|---|
| 39 |  | 
|---|
| 40 | private: | 
|---|
| 41 | gen::FontPopup* ; | 
|---|
| 42 | ui::ListBox ; | 
|---|
| 43 | }; | 
|---|
| 44 |  | 
|---|
| 45 | } // namespace app | 
|---|
| 46 |  | 
|---|
| 47 | #endif | 
|---|
| 48 |  | 
|---|