| 1 | // Aseprite UI Library |
| 2 | // Copyright (C) 2001-2017 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef UI_SEPARATOR_H_INCLUDED |
| 8 | #define UI_SEPARATOR_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include "ui/widget.h" |
| 12 | |
| 13 | namespace ui { |
| 14 | |
| 15 | class Separator : public Widget { |
| 16 | public: |
| 17 | Separator(const std::string& text, int align); |
| 18 | |
| 19 | protected: |
| 20 | void onSizeHint(SizeHintEvent& ev) override; |
| 21 | }; |
| 22 | |
| 23 | } // namespace ui |
| 24 | |
| 25 | #endif |
| 26 | |