GUI
CustomWidget.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 by Maciej Wiecierzewski
3  */
4 
5 #ifndef CUSTOMWIDGET_H
6 #define CUSTOMWIDGET_H
7 
8 #include "Event.h"
9 #include "Button.h"
10 
11 namespace gui
12 {
13 
14 class GUISystem;
15 
16 }
17 
18 using namespace gui;
19 
21 
22 class CustomWidget : public Button
23 {
24  public:
25  CustomWidget(GUISystem *guiSystem, int x, int y);
26 
27  void onClick(Event& event);
28 
29  protected:
30 
31  private:
32 };
33 
34 #endif // CUSTOMWIDGET_H