aboutsummaryrefslogtreecommitdiff
path: root/brushinghandler.h
blob: ef21654554a80b2c6c9db548f759b92373600ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef BRUSHINGHANDLER_H
#define BRUSHINGHANDLER_H

#include <nod.hpp>

class BrushingHandler
{
public:
    BrushingHandler();

    void clearBrush();
    void brushItem(int item);

    nod::signal<void(int)> itemBrushed;

private:
    int m_brushedItem;
};

#endif // BRUSHINGHANDLER_H