| 1 | // Aseprite |
| 2 | // Copyright (C) 2021-2022 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_PALETTE_POPUP_H_INCLUDED |
| 9 | #define |
| 10 | #pragma once |
| 11 | |
| 12 | #include "app/ui/palettes_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& buttonPos); |
| 32 | |
| 33 | protected: |
| 34 | void (const doc::Palette* palette); |
| 35 | void (); |
| 36 | void (); |
| 37 | void (); |
| 38 | |
| 39 | private: |
| 40 | gen::PalettePopup* ; |
| 41 | PalettesListBox ; |
| 42 | }; |
| 43 | |
| 44 | } // namespace app |
| 45 | |
| 46 | #endif |
| 47 | |