1 | // Aseprite |
2 | // Copyright (C) 2018-2022 Igara Studio S.A. |
3 | // Copyright (C) 2001-2015 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_BRUSH_POPUP_H_INCLUDED |
9 | #define |
10 | #pragma once |
11 | |
12 | #include "app/ui/button_set.h" |
13 | #include "doc/brushes.h" |
14 | #include "ui/box.h" |
15 | #include "ui/popup_window.h" |
16 | |
17 | namespace app { |
18 | |
19 | class : public ui::PopupWindow { |
20 | public: |
21 | (); |
22 | |
23 | void (doc::Brush* brush); |
24 | void (ui::Display* display, |
25 | const gfx::Point& pos); |
26 | |
27 | static os::SurfaceRef (const doc::BrushRef& brush, |
28 | const bool useOriginalImage = false); |
29 | |
30 | private: |
31 | void onStandardBrush(); |
32 | void (); |
33 | |
34 | ui::VBox ; |
35 | ButtonSet m_standardBrushes; |
36 | ButtonSet* ; |
37 | }; |
38 | |
39 | } // namespace app |
40 | |
41 | #endif |
42 | |