libwtk-sdl2  0.0.1
empty.hpp
1 #ifndef LIBWTK_SDL2_EMPTY_HPP
2 #define LIBWTK_SDL2_EMPTY_HPP
3 
4 #include "widget.hpp"
5 
6 struct empty : widget
7 {
8  empty();
9  ~empty() override;
10 
11  void on_draw(draw_context & dc, selection_context const & sc) const override;
12  size_hint get_size_hint(int width, int height) const override;
13 };
14 
15 #endif
16 
size_hint get_size_hint(int width, int height) const override
Definition: draw_context.hpp:126
Definition: selection_context.hpp:18
Definition: empty.hpp:6
Definition: widget.hpp:52
void on_draw(draw_context &dc, selection_context const &sc) const override
Definition: widget.hpp:35