aboutsummaryrefslogtreecommitdiff
path: root/tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
committerBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
commite1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch)
tree9f0cfce09c71a2c27ff19589fcad6cd83504477c /tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h
parentfirst commit (diff)
downloadblast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz
blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h')
-rw-r--r--tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h b/tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h
new file mode 100644
index 0000000..bbd4d3e
--- /dev/null
+++ b/tools/ArtistTools/source/BlastPlugin/Window/DefaultDamagePanel.h
@@ -0,0 +1,38 @@
+#ifndef DEFAULTDAMAGEPANEL_H
+#define DEFAULTDAMAGEPANEL_H
+
+#include <QtWidgets/QWidget>
+#include "BlastSceneTree.h"
+
+namespace Ui {
+class DefaultDamagePanel;
+}
+
+class DefaultDamagePanel : public QWidget, public ISceneObserver
+{
+ Q_OBJECT
+
+public:
+ explicit DefaultDamagePanel(QWidget *parent = 0);
+ ~DefaultDamagePanel();
+ void updateValues();
+
+ virtual void dataSelected(std::vector<BlastNode*> selections);
+
+private slots:
+ void on_spinBoxMinRadius_valueChanged(double arg1);
+
+ void on_spinBoxMaxRadius_valueChanged(double arg1);
+
+ void on_checkBoxMaxRadius_stateChanged(int arg1);
+
+ void on_comboBoxFallOff_currentIndexChanged(int index);
+
+ void on_spinBoxMaxChunkSpeed_valueChanged(double arg1);
+
+private:
+ Ui::DefaultDamagePanel *ui;
+ std::vector<BPPAsset*> _selectedAssets;
+};
+
+#endif // DEFAULTDAMAGEPANEL_H