1 // Aseprite UI Library
2 // Copyright (C) 2001-2014  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_PANEL_H_INCLUDED
8 #define UI_PANEL_H_INCLUDED
9 #pragma once
10 
11 #include "ui/widget.h"
12 
13 namespace ui {
14 
15   class Panel : public Widget {
16   public:
17     Panel();
18 
19     void showChild(Widget* widget);
20 
21   protected:
22     virtual void onResize(ResizeEvent& ev) override;
23     virtual void onSizeHint(SizeHintEvent& ev) override;
24   };
25 
26 } // namespace ui
27 
28 #endif
29