Snoke
widget.h File Reference
#include <functional>
#include <map>
#include <list>
#include <vector>
Include dependency graph for widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Widget
 

Macros

#define EVENT_FOCUS   1
 
#define EVENT_UNFOCUS   2
 
#define EVENT_ACTIVE   4
 

Typedefs

typedef std::function< void()> Listener
 

Macro Definition Documentation

#define EVENT_ACTIVE   4

Definition at line 16 of file widget.h.

#define EVENT_FOCUS   1

Arguments for events methods {unsigned char} EVENT_FOCUS - event of focusing {unsigned char} EVENT_UNFOCUS - event of unfocusing {unsigned char} EVENT_ACTIVE - event of activating widget

Definition at line 14 of file widget.h.

#define EVENT_UNFOCUS   2

Definition at line 15 of file widget.h.

Typedef Documentation

typedef std::function<void()> Listener

Definition at line 22 of file widget.h.