From e1bf674c16e3c8472b29574159c789cd3f0c64e0 Mon Sep 17 00:00:00 2001 From: Bryan Galdrikian Date: Fri, 24 Feb 2017 09:32:20 -0800 Subject: Updating to blast_source-windows@1.0.347-21749006 and blast_tools_and_samples-windows@1.0.347-21749006 with a new directory structure. NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this. --- .../source/GraphEditorTestApp/CurveEditorTestApp.h | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tools/CurveEditor/source/GraphEditorTestApp/CurveEditorTestApp.h (limited to 'tools/CurveEditor/source/GraphEditorTestApp/CurveEditorTestApp.h') diff --git a/tools/CurveEditor/source/GraphEditorTestApp/CurveEditorTestApp.h b/tools/CurveEditor/source/GraphEditorTestApp/CurveEditorTestApp.h new file mode 100644 index 0000000..ed68141 --- /dev/null +++ b/tools/CurveEditor/source/GraphEditorTestApp/CurveEditorTestApp.h @@ -0,0 +1,49 @@ +#ifndef GRAPHEDITORTESTAPP_H +#define GRAPHEDITORTESTAPP_H + +#include + +namespace nvidia { +namespace CurveEditor { + +class CurveEditorMainWindow; +class CurveAttributeBase; +class CurveAttribute; +class ColorAttribute; + +} // namespace CurveEditor +} // namespace nvidia + +using namespace nvidia::CurveEditor; + +namespace Ui +{ + class CurveEditorTestAppClass; +} + +class CurveEditorTestApp : public QWidget +{ + Q_OBJECT + +public: + CurveEditorTestApp(QWidget *parent = 0, Qt::WindowFlags flags = 0); + ~CurveEditorTestApp(); + +private slots: + void on_btnCurveEditor_clicked(void); + void onCurveAttributeChanged(nvidia::CurveEditor::CurveAttribute* attribute); + void onColorAttributeChanged(nvidia::CurveEditor::ColorAttribute* attribute); + void onReloadColorAttributeTexture(nvidia::CurveEditor::ColorAttribute* attribute, bool reloadColorTex, int selectedCtrlPntIndex); + +private: + void _fillCurveAttributes(); + void _fillColorAttributes(); + +private: + Ui::CurveEditorTestAppClass* ui; + CurveEditorMainWindow* _curveEditor; + std::vector _curveAttributes; + std::vector _colorAttributes; +}; + +#endif // GRAPHEDITORTESTAPP_H -- cgit v1.2.3