-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhsopbrushgui.h
65 lines (46 loc) · 1.42 KB
/
hsopbrushgui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef HSOPBRUSHGUI_H
#define HSOPBRUSHGUI_H
#include <QWidget>
namespace Ui {
class HSOPBrushGui;
}
class HSOPBrushGui : public QWidget
{
Q_OBJECT
public:
explicit HSOPBrushGui(QWidget *parent = nullptr);
~HSOPBrushGui();
signals:
void selected_changed(bool s);
void size_changed(int size);
void hardness_changed(int hardness);
void height_changed(int height);
void specular_changed(int spec);
void occlussion_changed(int occ);
void parallax_changed(int par);
void mix_changed(int mix);
public slots:
void brush_sprite_updated(QImage sprite);
bool get_height_enabled();
bool get_parallax_enabled();
bool get_specular_enabled();
bool get_occlussion_enabled();
bool get_button_rounded();
bool get_button_peak();
bool get_button_eraser();
void unselect_all();
private slots:
void on_sizeSlider_valueChanged(int value);
void on_hardnessSlider_valueChanged(int value);
void on_sliderNormal_valueChanged(int value);
void on_mixSlider_valueChanged(int value);
void on_sliderSpecular_valueChanged(int value);
void on_sliderOcclussion_valueChanged(int value);
void on_sliderParallax_valueChanged(int value);
void on_buttonRounded_toggled(bool checked);
void on_buttonPeak_toggled(bool checked);
void on_buttonEraser_toggled(bool checked);
private:
Ui::HSOPBrushGui *ui;
};
#endif // HSOPBRUSHGUI_H