Add the tdispatcher as a base class for a widget.
This doesn't break anything since the class doesn't do a thing yet. Still not entirely sure whether the widget or the control should be the base class, but let it be the widget for now.
This commit is contained in:
parent
53ef7b2033
commit
445a3ef7cd
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
#ifndef GUI_WIDGETS_WIDGET_HPP_INCLUDED
|
||||
#define GUI_WIDGETS_WIDGET_HPP_INCLUDED
|
||||
|
||||
#include "gui/auxiliary/event/dispatcher.hpp"
|
||||
#include "gui/widgets/event_executor.hpp"
|
||||
#include "gui/widgets/helper.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
|
@ -40,6 +41,7 @@ class twindow;
|
|||
class twidget
|
||||
: private boost::noncopyable
|
||||
, public virtual tevent_executor
|
||||
, public virtual event::tdispatcher
|
||||
{
|
||||
friend class tdebug_layout_graph;
|
||||
friend class twindow; // needed for modifying the layout_size.
|
||||
|
|
Loading…
Add table
Reference in a new issue