update node filtering, UI beautify

This commit is contained in:
BalkronPainter
2021-01-22 03:26:50 +05:00
parent 89403b0079
commit 5b0ae7f9d7
132 changed files with 291 additions and 493 deletions

View File

@@ -1,6 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<g fill="none" stroke="#000" stroke-width=".35278">
<path d="m6.1295 3.6601 3.2632 3.2632z"/>
<path d="m9.3927 3.6601-3.2632 3.2632z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 264 B

View File

@@ -1,6 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<g fill="none" stroke="#fff" stroke-width=".35278">
<path d="m6.1295 3.6601 3.2632 3.2632z"/>
<path d="m9.3927 3.6601-3.2632 3.2632z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 264 B

View File

@@ -1,3 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<rect x="6.1736" y="3.7042" width="3.175" height="3.175" fill="none" stroke="#000" stroke-width=".35278"/>
</svg>

Before

Width:  |  Height:  |  Size: 225 B

View File

@@ -1,3 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<rect x="6.1736" y="3.7042" width="3.175" height="3.175" fill="none" stroke="#fff" stroke-width=".35278"/>
</svg>

Before

Width:  |  Height:  |  Size: 225 B

View File

@@ -1,3 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<path d="m6.35 5.4681h3.5278z" fill="none" stroke="#000" stroke-width=".35278"/>
</svg>

Before

Width:  |  Height:  |  Size: 199 B

View File

@@ -1,3 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<path d="m6.35 5.4681h3.5278z" fill="none" stroke="#fff" stroke-width=".35278"/>
</svg>

Before

Width:  |  Height:  |  Size: 199 B

View File

@@ -1,11 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<g fill="none" stroke="#000">
<rect x="6.1736" y="4.4097" width="2.4694" height="2.4694" stroke-width=".35278"/>
<g stroke-width=".35278">
<path d="m6.8792 4.2333v-0.70556z"/>
<path d="m7.0556 3.7042h2.4694z"/>
<path d="m9.3486 3.8806v2.4694z"/>
<path d="m9.1722 6.1736h-0.35278z"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 430 B

View File

@@ -1,11 +0,0 @@
<svg width="45pt" height="30pt" version="1.1" viewBox="0 0 15.875 10.583" xmlns="http://www.w3.org/2000/svg">
<g fill="none" stroke="#fff">
<rect x="6.1736" y="4.4097" width="2.4694" height="2.4694" stroke-width=".35278"/>
<g stroke-width=".35278">
<path d="m6.8792 4.2333v-0.70556z"/>
<path d="m7.0556 3.7042h2.4694z"/>
<path d="m9.3486 3.8806v2.4694z"/>
<path d="m9.1722 6.1736h-0.35278z"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 430 B

View File

@@ -11,14 +11,6 @@
<qresource prefix="/">
<file alias="icon">../media/noggit_icon.png</file>
<file alias="splash">../media/splash.png</file>
<file>../media/button_minimize_black.svg</file>
<file>../media/button_minimize_white.svg</file>
<file>../media/button_maximize_black.svg</file>
<file>../media/button_maximize_white.svg</file>
<file>../media/button_restore_black.svg</file>
<file>../media/button_restore_white.svg</file>
<file>../media/button_close_black.svg</file>
<file>../media/button_close_white.svg</file>
</qresource>
<qresource prefix="/shader">
<file alias="m2_vs">../src/glsl/m2_vert.glsl</file>

View File

@@ -42,6 +42,8 @@
#include <external/QtAdvancedDockingSystem/src/DockManager.h>
#include <external/imguipiemenu/PieMenu.hpp>
#include <noggit/ui/font_noggit.hpp>
#include "revision.h"
#include <boost/algorithm/string/predicate.hpp>
@@ -237,6 +239,12 @@ void MapView::createGUI()
overlay->setMouseTracking(true);
overlay->setGeometry(0,0, width(), height());
_viewport_overlay_ui->gizmoVisibleButton->setIcon(noggit::ui::font_noggit_icon(noggit::ui::font_noggit::icons::GIZMO_VISIBILITY));
_viewport_overlay_ui->gizmoModeButton->setIcon(noggit::ui::font_noggit_icon(noggit::ui::font_noggit::icons::GIZMO_LOCAL));
_viewport_overlay_ui->gizmoRotateButton->setIcon(noggit::ui::font_noggit_icon(noggit::ui::font_noggit::icons::GIZMO_ROTATE));
_viewport_overlay_ui->gizmoScaleButton->setIcon(noggit::ui::font_noggit_icon(noggit::ui::font_noggit::icons::GIZMO_SCALE));
_viewport_overlay_ui->gizmoTranslateButton->setIcon(noggit::ui::font_noggit_icon(noggit::ui::font_noggit::icons::GIZMO_TRANSLATE));
connect(this, &MapView::resized
,[this, overlay]()
{

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
DataListNode::DataListNode()
: ListNodeBase()
{
setName("DataListNode");
setCaption("List[Integer]");
setName("List :: Create");
setCaption("List :: Create");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -83,5 +83,3 @@ void DataListNode::restore(const QJsonObject& json_obj)
_type->setCurrentText(list_type);
}

View File

@@ -15,8 +15,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListAddNode::ListAddNode()
: LogicNodeBase()
{
setName("ListAddNode");
setCaption("Append");
setName("List :: Add");
setCaption("List :: Add");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -224,4 +224,3 @@ void ListAddNode::inputConnectionDeleted(const Connection& connection)
}
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListClearNode::ListClearNode()
: LogicNodeBase()
{
setName("ListSizeNode");
setCaption("List Size");
setName("List :: Clear");
setCaption("List :: Clear");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListDeclareNode::ListDeclareNode()
: ListNodeBase()
{
setName("ListDeclareNode");
setCaption("List Declare");
setName("List :: Declare");
setCaption("List :: Declare");
_validation_state = NodeValidationState::Valid;
addPort<ListData>(PortType::In, "List[Integer]", true);
@@ -103,4 +103,3 @@ NodeValidationState ListDeclareNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListEraseNode::ListEraseNode()
: LogicNodeBase()
{
setName("ListEraseNode");
setCaption("List Erase");
setName("List :: Erase");
setCaption("List :: Erase");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -86,4 +86,3 @@ void ListEraseNode::restore(const QJsonObject& json_obj)
BaseNode::restore(json_obj);
_in_ports[2].data_type->from_json(_in_ports[2].default_widget, json_obj, "index");
}

View File

@@ -15,8 +15,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListGetNode::ListGetNode()
: LogicNodeBase()
{
setName("ListGetNode");
setCaption("Get");
setName("List :: Get");
setCaption("List :: Get");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -167,4 +167,3 @@ void ListGetNode::inputConnectionDeleted(const Connection& connection)
}
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListReserveNode::ListReserveNode()
: LogicNodeBase()
{
setName("ListReserveNode");
setCaption("List Reserve");
setName("List :: Reserve");
setCaption("List :: Reserve");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ListSizeNode::ListSizeNode()
: LogicNodeBase()
{
setName("ListSizeNode");
setCaption("List Size");
setName("List :: Size");
setCaption("List :: Size");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -57,4 +57,3 @@ NodeValidationState ListSizeNode::validate()
return _validation_state;
}

View File

@@ -10,7 +10,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
DataConstantNode::DataConstantNode()
: BaseNode()
{
setName("DataConstantNode");
setName("Data :: Constant");
setCaption("Integer");
_validation_state = NodeValidationState::Valid;
@@ -86,4 +86,3 @@ void DataConstantNode::restore(const QJsonObject& json_obj)
_in_ports[0].data_type->from_json(_in_ports[0].default_widget, json_obj, "value");
}

View File

@@ -74,8 +74,8 @@ void DeleteVariableNodeBase::restore(const QJsonObject& json_obj)
DeleteVariableNode::DeleteVariableNode()
: DeleteVariableNodeBase()
{
setName("DeleteVariableNode");
setCaption("Delete Variable");
setName("Data :: DeleteVariable");
setCaption("Data :: DeleteVariable");
}
VariableMap* DeleteVariableNode::getVariableMap()
@@ -88,12 +88,11 @@ VariableMap* DeleteVariableNode::getVariableMap()
DeleteContextVariableNode::DeleteContextVariableNode()
: DeleteVariableNodeBase()
{
setName("DeleteContextVariableNode");
setCaption("Delete Context Variable");
setName("Data :: DeleteContextVariable");
setCaption("Data :: DeleteContextVariable");
}
VariableMap* DeleteContextVariableNode::getVariableMap()
{
return gCurrentContext->getVariableMap();
}

View File

@@ -100,8 +100,8 @@ void GetVariableLazyNodeBase::outputConnectionDeleted(const Connection& connecti
GetVariableLazyNode::GetVariableLazyNode()
: GetVariableLazyNodeBase()
{
setName("GetVariableLazyNode");
setCaption("Get Variable");
setName("Data :: GetVariableLazy");
setCaption("Data :: GetVariableLazy");
}
VariableMap* GetVariableLazyNode::getVariableMap()
@@ -114,12 +114,11 @@ VariableMap* GetVariableLazyNode::getVariableMap()
GetContextVariableLazyNode::GetContextVariableLazyNode()
: GetVariableLazyNodeBase()
{
setName("GetContextVariableLazyNode");
setCaption("Get Context Variable");
setName("Data :: GetContextVariableLazy");
setCaption("Data :: GetContextVariableLazy");
}
VariableMap* GetContextVariableLazyNode::getVariableMap()
{
return gCurrentContext->getVariableMap();
}

View File

@@ -124,8 +124,8 @@ NodeValidationState GetVariableNodeBase::validate()
GetVariableNode::GetVariableNode()
: GetVariableNodeBase()
{
setName("GetVariableNode");
setCaption("Get Variable");
setName("Data :: GetVariable");
setCaption("Data :: GetVariable");
}
VariableMap* GetVariableNode::getVariableMap()
@@ -138,12 +138,11 @@ VariableMap* GetVariableNode::getVariableMap()
GetContextVariableNode::GetContextVariableNode()
: GetVariableNodeBase()
{
setName("GetContextVariableNode");
setCaption("Get Context Variable");
setName("Data :: GetContextVariable");
setCaption("Data :: GetContextVariable");
}
VariableMap* GetContextVariableNode::getVariableMap()
{
return gCurrentContext->getVariableMap();
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageBlendOpenGLNode::ImageBlendOpenGLNode()
: LogicNodeBase()
{
setName("ImageBlendOpenGLNode");
setCaption("Image Blend OpenGL");
setName("Image :: BlendOpenGL");
setCaption("Image :: BlendOpenGL");
_validation_state = NodeValidationState::Valid;
_blend_func = new QComboBox(&_embedded_widget);
@@ -239,4 +239,3 @@ void ImageBlendOpenGLNode::restore(const QJsonObject& json_obj)
_sfactor->setCurrentIndex(json_obj["s_factor"].toInt());
_dfactor->setCurrentIndex(json_obj["d_factor"].toInt());
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageCreateNode::ImageCreateNode()
: LogicNodeBase()
{
setName("ImageCreateNode");
setCaption("Image Create");
setName("Image :: Create");
setCaption("Image :: Create");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -60,5 +60,3 @@ void ImageCreateNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "height");
defaultWidgetFromJson(PortType::In, 3, json_obj, "fill_color");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageFillNode::ImageFillNode()
: LogicNodeBase()
{
setName("ImageFillNode");
setCaption("Image Fill");
setName("Image :: Fill");
setCaption("Image :: Fill");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -62,4 +62,3 @@ void ImageFillNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "color");
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageGaussianBlurNode::ImageGaussianBlurNode()
: LogicNodeBase()
{
setName("ImageGaussianBlurNode");
setCaption("Image Gaussian Blur");
setName("Image :: GaussianBlur");
setCaption("Image :: GaussianBlur");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -77,4 +77,3 @@ void ImageGaussianBlurNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "sigma");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageGetPixelNode::ImageGetPixelNode()
: LogicNodeBase()
{
setName("ImageGetPixelNode");
setCaption("Image Get Pixel");
setName("Image :: GetPixel");
setCaption("Image :: GetPixel");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -70,4 +70,3 @@ void ImageGetPixelNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "pixel_xy");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageGetRegionNode::ImageGetRegionNode()
: LogicNodeBase()
{
setName("ImageGetRegionNode");
setCaption("Image Get Region");
setName("Image :: GetRegion");
setCaption("Image :: GetRegion");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -92,4 +92,3 @@ void ImageGetRegionNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "pos");
defaultWidgetFromJson(PortType::In, 3, json_obj, "dimensions");
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageInfoNode::ImageInfoNode()
: BaseNode()
{
setName("ImageInfoNode");
setCaption("Image Info");
setName("Image :: Info");
setCaption("Image :: Info");
_validation_state = NodeValidationState::Valid;
addPort<ImageData>(PortType::In, "Image", true);
@@ -76,4 +76,3 @@ NodeValidationState ImageInfoNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageInvertNode::ImageInvertNode()
: LogicNodeBase()
{
setName("ImageInvertNode");
setCaption("Image Invert");
setName("Image :: Invert");
setCaption("Image :: Invert");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -46,5 +46,3 @@ NodeValidationState ImageInvertNode::validate()
return LogicNodeBase::validate();
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageMaskRandomPointsNode::ImageMaskRandomPointsNode()
: LogicNodeBase()
{
setName("ImageMaskRandomPointsNode");
setCaption("Image Mask Random Points");
setName("Image :: MaskRandomPoints");
setCaption("Image :: MaskRandomPoints");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -91,4 +91,3 @@ void ImageMaskRandomPointsNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "seed");
defaultWidgetFromJson(PortType::In, 3, json_obj, "density");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageMirrorNode::ImageMirrorNode()
: LogicNodeBase()
{
setName("ImageMirrorNode");
setCaption("Image Mirror");
setName("Image :: Mirror");
setCaption("Image :: Mirror");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -67,4 +67,3 @@ void ImageMirrorNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "mirror_u");
defaultWidgetFromJson(PortType::In, 3, json_obj, "mirror_v");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageResizeNode::ImageResizeNode()
: LogicNodeBase()
{
setName("ImageResizeNode");
setCaption("Image Resize");
setName("Image :: Resize");
setCaption("Image :: Resize");
_validation_state = NodeValidationState::Valid;
_mode = new QComboBox(&_embedded_widget);
@@ -74,4 +74,3 @@ void ImageResizeNode::restore(const QJsonObject& json_obj)
BaseNode::restore(json_obj);
defaultWidgetFromJson(PortType::In, 2, json_obj, "size");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageRotateNode::ImageRotateNode()
: LogicNodeBase()
{
setName("ImageRotateNode");
setCaption("Image Rotate");
setName("Image :: Rotate");
setCaption("Image :: Rotate");
_validation_state = NodeValidationState::Valid;
_mode = new QComboBox(&_embedded_widget);

View File

@@ -13,8 +13,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageSaveNode::ImageSaveNode()
: LogicNodeBase()
{
setName("ImageSaveNode");
setCaption("Image Save");
setName("Image :: Save");
setCaption("Image :: Save");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -73,5 +73,3 @@ void ImageSaveNode::restore(const QJsonObject& json_obj)
BaseNode::restore(json_obj);
_in_ports[2].data_type->from_json(_in_ports[2].default_widget, json_obj, "path");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageScaleNode::ImageScaleNode()
: LogicNodeBase()
{
setName("ImageScaleNode");
setCaption("Image Scale");
setName("Image :: Scale");
setCaption("Image :: Scale");
_validation_state = NodeValidationState::Valid;
_mode = new QComboBox(&_embedded_widget);
@@ -70,4 +70,3 @@ void ImageScaleNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "scale_vec");
_mode->setCurrentIndex(json_obj["mode"].toInt());
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageSetPixelNode::ImageSetPixelNode()
: LogicNodeBase()
{
setName("ImageSetPixelNode");
setCaption("Image Set Pixel");
setName("Image :: SetPixel");
setCaption("Image :: SetPixel");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -74,4 +74,3 @@ void ImageSetPixelNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "pixel_xy");
defaultWidgetFromJson(PortType::In, 3, json_obj, "color");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageSetRegionNode::ImageSetRegionNode()
: LogicNodeBase()
{
setName("ImageSetRegionNode");
setCaption("Image Set Region");
setName("Image :: SetRegion");
setCaption("Image :: SetRegion");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -90,4 +90,3 @@ void ImageSetRegionNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 3, json_obj, "pos");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageToGrayscaleNode::ImageToGrayscaleNode()
: LogicNodeBase()
{
setName("ImageToGrayscaleNode");
setCaption("Image to Grayscale");
setName("Image :: ToGrayscale");
setCaption("Image :: ToGrayscale");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -58,4 +58,3 @@ NodeValidationState ImageToGrayscaleNode::validate()
return LogicNodeBase::validate();
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ImageTranslateNode::ImageTranslateNode()
: LogicNodeBase()
{
setName("ImageTranslateNode");
setCaption("Image Translate");
setName("Image :: Translate");
setCaption("Image :: Translate");
_validation_state = NodeValidationState::Valid;
_mode = new QComboBox(&_embedded_widget);
@@ -68,4 +68,3 @@ void ImageTranslateNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 2, json_obj, "translate_vec");
_mode->setCurrentIndex(json_obj["mode"].toInt());
}

View File

@@ -13,8 +13,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LoadImageNode::LoadImageNode()
: LogicNodeBase()
{
setName("LoadImageNode");
setCaption("Load Image");
setName("Load :: Image");
setCaption("Load :: Image");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseAbsNode::NoiseAbsNode()
: BaseNode()
{
setName("NoiseAbsNode");
setCaption("Noise Abs");
setName("Noise :: Abs");
setCaption("Noise :: Abs");
_validation_state = NodeValidationState::Valid;
addPort<NoiseData>(PortType::In, "Noise", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseBillowNode::NoiseBillowNode()
: NoiseGeneratorBase()
{
setName("NoiseBillowNode");
setCaption("Billow Noise");
setName("Noise :: Billow");
setCaption("Noise :: Billow");
_validation_state = NodeValidationState::Valid;
_quality = new QComboBox(&_embedded_widget);
@@ -95,4 +95,3 @@ void NoiseBillowNode::restore(const QJsonObject& json_obj)
_quality->setCurrentIndex(json_obj["quality"].toInt());
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseBlendNode::NoiseBlendNode()
: BaseNode()
{
setName("NoiseBlendNode");
setCaption("Noise Blend");
setName("Noise :: Blend");
setCaption("Noise :: Blend");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseCacheNode::NoiseCacheNode()
: BaseNode()
{
setName("NoiseCacheNode");
setCaption("Noise Cache");
setName("Noise :: Cache");
setCaption("Noise :: Cache");
_validation_state = NodeValidationState::Valid;
addPort<NoiseData>(PortType::In, "Noise", true);
@@ -41,4 +41,3 @@ NodeValidationState NoiseCacheNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseCheckerboardNode::NoiseCheckerboardNode()
: NoiseGeneratorBase()
{
setName("NoiseCheckerboardNode");
setCaption("Checkerboard Noise");
setName("Noise :: Checkerboard");
setCaption("Noise :: Checkerboard");
_validation_state = NodeValidationState::Valid;
addPort<NoiseData>(PortType::Out, "Noise", true);
@@ -27,6 +27,3 @@ void NoiseCheckerboardNode::compute()
Q_EMIT dataUpdated(0);
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseClampNode::NoiseClampNode()
: BaseNode()
{
setName("NoiseClampNode");
setCaption("Noise Clamp");
setName("Noise :: Clamp");
setCaption("Noise :: Clamp");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);
@@ -61,4 +61,3 @@ void NoiseClampNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 1, json_obj, "bounds");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseConstValueNode::NoiseConstValueNode()
: NoiseGeneratorBase()
{
setName("NoiseConstValueNode");
setCaption("Const Value Noise");
setName("Noise :: ConstValue");
setCaption("Noise :: ConstValue");
_validation_state = NodeValidationState::Valid;
addPortDefault<DecimalData>(PortType::In, "Value<Decimal>", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseCurveNode::NoiseCurveNode()
: BaseNode()
{
setName("NoiseCurveNode");
setCaption("Noise Curve");
setName("Noise :: Curve");
setCaption("Noise :: Curve");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseCylindersNode::NoiseCylindersNode()
: NoiseGeneratorBase()
{
setName("NoiseCylindersNode");
setCaption("Cylinders Noise");
setName("Noise :: Cylinders");
setCaption("Noise :: Cylinders");
_validation_state = NodeValidationState::Valid;
addPortDefault<DecimalData>(PortType::In, "Frequency<Decimal>", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseDisplaceNode::NoiseDisplaceNode()
: BaseNode()
{
setName("NoiseDisplaceNode");
setCaption("Noise Displace");
setName("Noise :: Displace");
setCaption("Noise :: Displace");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseExponentNode::NoiseExponentNode()
: BaseNode()
{
setName("NoiseExponentNode");
setCaption("Noise Exponent");
setName("Noise :: Exponent");
setCaption("Noise :: Exponent");
_validation_state = NodeValidationState::Valid;

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseInvertNode::NoiseInvertNode()
: BaseNode()
{
setName("NoiseInvertNode");
setCaption("Noise Invert");
setName("Noise :: Invert");
setCaption("Noise :: Invert");
_validation_state = NodeValidationState::Valid;
addPort<NoiseData>(PortType::In, "Noise", true);
@@ -41,4 +41,3 @@ NodeValidationState NoiseInvertNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseMathNode::NoiseMathNode()
: BaseNode()
{
setName("NoiseMathNode");
setCaption("Noise Math");
setName("Noise :: Math");
setCaption("Noise :: Math");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -98,4 +98,3 @@ void NoiseMathNode::restore(const QJsonObject& json_obj)
_operation->setCurrentIndex(json_obj["operation"].toInt());
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoisePerlinNode::NoisePerlinNode()
: NoiseGeneratorBase()
{
setName("NoisePerlinNode");
setCaption("Perlin Noise");
setName("Noise :: Perlin");
setCaption("Noise :: Perlin");
_validation_state = NodeValidationState::Valid;
_quality = new QComboBox(&_embedded_widget);
@@ -98,4 +98,3 @@ void NoisePerlinNode::restore(const QJsonObject& json_obj)
_quality->setCurrentIndex(json_obj["quality"].toInt());
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseRidgedMultiNode::NoiseRidgedMultiNode()
: NoiseGeneratorBase()
{
setName("NoiseRidgedMultiNode");
setCaption("Ridged Multi Noise");
setName("Noise :: RidgedMulti");
setCaption("Noise :: RidgedMulti");
_validation_state = NodeValidationState::Valid;
_quality = new QComboBox(&_embedded_widget);
@@ -85,4 +85,3 @@ void NoiseRidgedMultiNode::restore(const QJsonObject& json_obj)
_quality->setCurrentIndex(json_obj["quality"].toInt());
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseScaleBiasNode::NoiseScaleBiasNode()
: BaseNode()
{
setName("NoiseScaleBiasNode");
setCaption("Noise Scale Bias");
setName("Noise :: ScaleBias");
setCaption("Noise :: ScaleBias");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);
@@ -67,5 +67,3 @@ NodeValidationState NoiseScaleBiasNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseSelectNode::NoiseSelectNode()
: BaseNode()
{
setName("NoiseSelectNode");
setCaption("Noise Select");
setName("Noise :: Select");
setCaption("Noise :: Select");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseSpheresNode::NoiseSpheresNode()
: NoiseGeneratorBase()
{
setName("NoiseSpheresNode");
setCaption("Spheres Noise");
setName("Noise :: Spheres");
setCaption("Noise :: Spheres");
_validation_state = NodeValidationState::Valid;
addPortDefault<DecimalData>(PortType::In, "Frequency<Decimal>", true);
@@ -37,4 +37,3 @@ void NoiseSpheresNode::compute()
Q_EMIT dataUpdated(0);
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseTerraceNode::NoiseTerraceNode()
: BaseNode()
{
setName("NoiseTerraceNode");
setCaption("Noise Terrace");
setName("Noise :: Terrace");
setCaption("Noise :: Terrace");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseToImageNode::NoiseToImageNode()
: LogicNodeBase()
{
setName("NoiseToImageNode");
setCaption("Noise To Image");
setName("Noise :: ToImage");
setCaption("Noise :: ToImage");
_validation_state = NodeValidationState::Valid;
addPortDefault<LogicData>(PortType::In, "Logic", true);
@@ -99,4 +99,3 @@ void NoiseToImageNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 4, json_obj, "bounds_upper");
defaultWidgetFromJson(PortType::In, 5, json_obj, "seamless");
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseTransformPointNode::NoiseTransformPointNode()
: BaseNode()
{
setName("NoiseTransformPointNode");
setCaption("Noise Transform Point");
setName("Noise :: TransformPoint");
setCaption("Noise :: TransformPoint");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseTurbulenceNode::NoiseTurbulenceNode()
: BaseNode()
{
setName("NoiseTurbulenceNode");
setCaption("Noise Turbulence");
setName("Noise :: Turbulence");
setCaption("Noise :: Turbulence");
_validation_state = NodeValidationState::Valid;
addPortDefault<NoiseData>(PortType::In, "Noise", true);

View File

@@ -14,8 +14,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseViewerNode::NoiseViewerNode()
: BaseNode()
{
setName("NoiseViewerNode");
setCaption("Noise Viewer");
setName("Noise :: Viewer");
setCaption("Noise :: Viewer");
_validation_state = NodeValidationState::Valid;
_image = new QLabel(&_embedded_widget);
@@ -82,4 +82,3 @@ NodeValidationState NoiseViewerNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
NoiseVoronoiNode::NoiseVoronoiNode()
: NoiseGeneratorBase()
{
setName("NoiseVoronoiNode");
setCaption("Voronoi Noise");
setName("Noise :: Voronoi");
setCaption("Noise :: Voronoi");
_validation_state = NodeValidationState::Valid;
addPortDefault<DecimalData>(PortType::In, "Frequency<Decimal>", true);
@@ -53,5 +53,3 @@ void NoiseVoronoiNode::compute()
Q_EMIT dataUpdated(0);
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RandomDecimalNode::RandomDecimalNode()
: BaseNode()
{
setName("RandomDecimalNode");
setCaption("Random Decimal");
setName("Random :: Decimal");
setCaption("Random :: Decimal");
_validation_state = NodeValidationState::Valid;
addPortDefault<IntegerData>(PortType::In, "Seed", true);
@@ -45,4 +45,3 @@ void RandomDecimalNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 0, json_obj, "seed");
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RandomDecimalRangeNode::RandomDecimalRangeNode()
: BaseNode()
{
setName("RandomDecimalRangeNode");
setCaption("Random Decimal Range");
setName("Random :: DecimalRange");
setCaption("Random :: DecimalRange");
_validation_state = NodeValidationState::Valid;
addPortDefault<IntegerData>(PortType::In, "Seed", true);
@@ -48,4 +48,3 @@ void RandomDecimalRangeNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 0, json_obj, "seed");
defaultWidgetFromJson(PortType::In, 1, json_obj, "highest");
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RandomIntegerNode::RandomIntegerNode()
: BaseNode()
{
setName("RandomIntegerNode");
setCaption("Random Integer");
setName("Random :: Integer");
setCaption("Random :: Integer");
_validation_state = NodeValidationState::Valid;
addPortDefault<IntegerData>(PortType::In, "Seed", true);
@@ -45,4 +45,3 @@ void RandomIntegerNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 0, json_obj, "seed");
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RandomIntegerRangeNode::RandomIntegerRangeNode()
: BaseNode()
{
setName("RandomIntegerRangeNode");
setCaption("Random Integer Range");
setName("Random :: IntegerRange");
setCaption("Random :: IntegerRange");
_validation_state = NodeValidationState::Valid;
addPortDefault<IntegerData>(PortType::In, "Seed", true);
@@ -59,4 +59,3 @@ void RandomIntegerRangeNode::restore(const QJsonObject& json_obj)
defaultWidgetFromJson(PortType::In, 1, json_obj, "min_inclusive");
defaultWidgetFromJson(PortType::In, 2, json_obj, "max_exclusive");
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RandomSeedNode::RandomSeedNode()
: LogicNodeBase()
{
setName("RandomSeedNode");
setCaption("Random Seed");
setName("Random :: Seed");
setCaption("Random :: Seed");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -34,6 +34,3 @@ void RandomSeedNode::compute()
_out_ports[1].out_value = std::make_shared<IntegerData>(uniform_dist(e1));
Q_EMIT dataUpdated(1);
}

View File

@@ -118,8 +118,8 @@ NodeValidationState SetVariableNodeBase::validate()
SetVariableNode::SetVariableNode()
: SetVariableNodeBase()
{
setName("SetVariableNode");
setCaption("Set Variable");
setName("Data :: SetVariable");
setCaption("Data :: SetVariable");
}
VariableMap* SetVariableNode::getVariableMap()
@@ -132,14 +132,11 @@ VariableMap* SetVariableNode::getVariableMap()
SetContextVariableNode::SetContextVariableNode()
: SetVariableNodeBase()
{
setName("SetContextVariableNode");
setCaption("Set Context Variable");
setName("Data :: SetContextVariable");
setCaption("Data :: SetContextVariable");
}
VariableMap* SetContextVariableNode::getVariableMap()
{
return gCurrentContext->getVariableMap();
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
StringEndsWithNode::StringEndsWithNode()
: BaseNode()
{
setName("StringEndsWithNode");
setCaption("String Ends With");
setName("String :: EndsWith");
setCaption("String :: EndsWith");
_validation_state = NodeValidationState::Valid;
addPort<StringData>(PortType::In, "String", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
StringSizeNode::StringSizeNode()
: BaseNode()
{
setName("StringSizeNode");
setCaption("String Size");
setName("String :: Size");
setCaption("String :: Size");
_validation_state = NodeValidationState::Valid;
addPort<StringData>(PortType::In, "String", true);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
TypeParameterNode::TypeParameterNode()
: BaseNode()
{
setName("TypeParameterNode");
setCaption("Type Parameter");
setName("Data :: TypeParameter");
setCaption("Data :: TypeParameter");
_validation_state = NodeValidationState::Valid;
addPort<AnyData>(PortType::In, "Any", true);
@@ -39,4 +39,3 @@ NodeValidationState TypeParameterNode::validate()
return _validation_state;
}

View File

@@ -9,7 +9,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
PrintNode::PrintNode()
: LogicNodeBase()
{
setName("PrintNode");
setName("Functions :: Print");
setCaption("Print()");
_validation_state = NodeValidationState::Valid;
@@ -76,5 +76,3 @@ NodeValidationState PrintNode::validate()
return _validation_state;
}

View File

@@ -10,7 +10,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
ConditionNode::ConditionNode()
: BaseNode()
{
setName("ConditionNode");
setName("Logic :: Condition");
setCaption("Equal");
_validation_state = NodeValidationState::Valid;
@@ -108,6 +108,3 @@ void ConditionNode::restore(const QJsonObject& json_obj)
_second->setValue(json_obj["default_second"].toDouble());
_operation->setCurrentIndex(json_obj["operation"].toInt());
}

View File

@@ -9,8 +9,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicBeginNode::LogicBeginNode()
: LogicNodeBase()
{
setName("LogicBeginNode");
setCaption("Begin");
setName("Logic :: Begin");
setCaption("Logic :: Begin");
setValidationState(NodeValidationState::Valid);
addPort<LogicData>(PortType::Out, "Logic", true, ConnectionPolicy::One);

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicBreakNode::LogicBreakNode()
: LogicNodeBase()
{
setName("LogicBreakNode");
setCaption("Break");
setName("Logic :: Break");
setCaption("Logic :: Break");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -37,5 +37,3 @@ NodeValidationState LogicBreakNode::validate()
return _validation_state;
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicChainNode::LogicChainNode()
: LogicNodeBase()
{
setName("LogicChainNode");
setCaption("Chain");
setName("Logic :: Chain");
setCaption("Logic :: Chain");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -127,4 +127,3 @@ void LogicChainNode::restorePostConnection(const QJsonObject& json_obj)
}
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicContinueNode::LogicContinueNode()
: LogicNodeBase()
{
setName("LogicContinueNode");
setCaption("Continue");
setName("Logic :: Continue");
setCaption("Logic :: Continue");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -37,5 +37,3 @@ NodeValidationState LogicContinueNode::validate()
return _validation_state;
}

View File

@@ -10,7 +10,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicForLoopNode::LogicForLoopNode()
: LogicNodeBase()
{
setName("LogicForLoopNode");
setName("Logic :: ForLoop");
setCaption("Repeat");
_validation_state = NodeValidationState::Valid;
@@ -108,4 +108,3 @@ NodeValidationState LogicForLoopNode::validate()
return _validation_state;
}

View File

@@ -8,8 +8,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicIfNode::LogicIfNode()
: LogicNodeBase()
{
setName("LogicIfNode");
setCaption("Branch");
setName("Logic :: If");
setCaption("Logic :: If");
setValidationState(NodeValidationState::Valid);
addPort<LogicData>(PortType::In, "Logic", true);
@@ -90,5 +90,3 @@ NodeValidationState LogicIfNode::validate()
return _validation_state;
}

View File

@@ -19,8 +19,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicProcedureNode::LogicProcedureNode()
: LogicNodeBase()
{
setName("LogicProcedureNode");
setCaption("Call Procedure");
setName("Logic :: Procedure");
setCaption("Logic :: Procedure");
setValidationState(NodeValidationState::Valid);
addPort<LogicData>(PortType::In, "Logic", true);
@@ -315,4 +315,3 @@ void LogicProcedureNode::setProcedure(const QString& path)
emit visualsNeedUpdate();
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicReturnNoDataNode::LogicReturnNoDataNode()
: LogicNodeBase()
{
setName("LogicReturnNoDataNode");
setCaption("Return");
setName("Logic :: ReturnNoData");
setCaption("Logic :: Return");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);
@@ -35,7 +35,3 @@ NodeValidationState LogicReturnNoDataNode::validate()
return _validation_state;
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicReturnNode::LogicReturnNode()
: LogicNodeBase()
{
setName("LogicReturnNode");
setCaption("Return Data");
setName("Logic :: Return");
setCaption("Logic :: Return");
setValidationState(NodeValidationState::Valid);
addPort<LogicData>(PortType::In, "Logic", true);
@@ -144,5 +144,3 @@ void LogicReturnNode::inputConnectionDeleted(const Connection& connection)
}
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
LogicWhileLoopNode::LogicWhileLoopNode()
: LogicNodeBase()
{
setName("LogicWhileLoopNode");
setCaption("Repeat While");
setName("Logic :: WhileLoop");
setCaption("Logic :: WhileLoop");
_validation_state = NodeValidationState::Valid;
addPort<LogicData>(PortType::In, "Logic", true);

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ColorMathNode::ColorMathNode()
: BaseNode()
{
setName("ColorMathNode");
setCaption("Color Math");
setName("Color :: Math");
setCaption("Color :: Math");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -127,4 +127,3 @@ void ColorMathNode::restore(const QJsonObject& json_obj)
}
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
ColorToRGBANode::ColorToRGBANode()
: BaseNode()
{
setName("ColorToRGBANode");
setCaption("Color To RGBA");
setName("Color :: ColorToRGBA");
setCaption("Color :: ColorToRGBA");
_validation_state = NodeValidationState::Valid;
addPort<ColorData>(PortType::In, "Color", true);
@@ -47,4 +47,3 @@ NodeValidationState ColorToRGBANode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
RGBAtoColorNode::RGBAtoColorNode()
: BaseNode()
{
setName("RGBAtoColorNode");
setCaption("RGBA To Color");
setName("Color :: RGBAtoColor");
setCaption("Color :: RGBAToColor");
_validation_state = NodeValidationState::Valid;
}
@@ -40,4 +40,3 @@ NodeValidationState RGBAtoColorNode::validate()
return _validation_state;
}

View File

@@ -12,8 +12,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
MathUnaryNode::MathUnaryNode()
: BaseNode()
{
setName("MathUnaryNode");
setCaption("Math Unary");
setName("Math :: Unary");
setCaption("Math :: Unary");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -112,4 +112,3 @@ NodeValidationState MathUnaryNode::validate()
return _validation_state;
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixDecomposeNode::MatrixDecomposeNode()
: BaseNode()
{
setName("MatrixDecomposeNode");
setCaption("Matrix Decompose");
setName("Matrix :: Decompose");
setCaption("Matrix :: Decompose");
_validation_state = NodeValidationState::Valid;
addPort<Matrix4x4Data>(PortType::In, "Matrix4x4", true);

View File

@@ -10,7 +10,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixMathNode::MatrixMathNode()
: BaseNode()
{
setName("MatrixMathNode");
setName("Matrix :: Math");
setCaption("Multiply");
_validation_state = NodeValidationState::Valid;
@@ -88,4 +88,3 @@ NodeValidationState MatrixMathNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixNode::MatrixNode()
: BaseNode()
{
setName("MatrixNode");
setCaption("Matrix");
setName("Matrix :: Create");
setCaption("Matrix :: Create");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -41,4 +41,3 @@ void MatrixNode::restore(const QJsonObject& json_obj)
_operation->setCurrentIndex(json_obj["operation"].toInt());
BaseNode::restore(json_obj);
}

View File

@@ -13,8 +13,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixRotateQuaternionNode::MatrixRotateQuaternionNode()
: BaseNode()
{
setName("MatrixRotateQuaternionNode");
setCaption("Matrix Rotate Quaternion");
setName("Matrix :: RotateQuaternion");
setCaption("Matrix :: RotateQuaternion");
_validation_state = NodeValidationState::Valid;
addPort<Matrix4x4Data>(PortType::In, "Matrix4x4", true);
@@ -51,4 +51,3 @@ NodeValidationState MatrixRotateQuaternionNode::validate()
return _validation_state;
}

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixTransformNode::MatrixTransformNode()
: BaseNode()
{
setName("MatrixTransformNode");
setCaption("Matrix Transform");
setName("Matrix :: Transform");
setCaption("Matrix :: Transform");
_validation_state = NodeValidationState::Valid;
_operation = new QComboBox(&_embedded_widget);
@@ -79,4 +79,3 @@ NodeValidationState MatrixTransformNode::validate()
return _validation_state;
}

View File

@@ -10,7 +10,7 @@ using namespace noggit::Red::NodeEditor::Nodes;
MatrixUnaryMathNode::MatrixUnaryMathNode()
: BaseNode()
{
setName("MatrixUnaryMathNode");
setName("Matrix :: UnaryMath");
setCaption("Invert");
_validation_state = NodeValidationState::Valid;

View File

@@ -11,8 +11,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
Vector2DToXYNode::Vector2DToXYNode()
: BaseNode()
{
setName("Vector2DToXYNode");
setCaption("Vector2D To XY");
setName("Vector :: 2DToXY");
setCaption("Vector :: 2DToXY");
_validation_state = NodeValidationState::Valid;
addPort<Vector2DData>(PortType::In, "Vector2D", true);
@@ -43,4 +43,3 @@ NodeValidationState Vector2DToXYNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
Vector3DToXYZNode::Vector3DToXYZNode()
: BaseNode()
{
setName("Vector3DToXYZNode");
setCaption("Vector3D To XYZ");
setName("Vector :: 3DToXYZ");
setCaption("Vector :: 3DToXYZ");
_validation_state = NodeValidationState::Valid;
addPort<Vector3DData>(PortType::In, "Vector3D", true);
@@ -45,4 +45,3 @@ NodeValidationState Vector3DToXYZNode::validate()
return _validation_state;
}

View File

@@ -10,8 +10,8 @@ using namespace noggit::Red::NodeEditor::Nodes;
Vector4DToXYZWNode::Vector4DToXYZWNode()
: BaseNode()
{
setName("Vector4DToXYZWNode");
setCaption("Vector4D To XYZW");
setName("Vector :: 4DToXYZW");
setCaption("Vector :: 4DToXYZW");
_validation_state = NodeValidationState::Valid;
addPort<Vector4DData>(PortType::In, "Vector4D", true);
@@ -48,4 +48,3 @@ NodeValidationState Vector4DToXYZWNode::validate()
return _validation_state;
}

View File

@@ -8,15 +8,15 @@ using namespace noggit::Red::NodeEditor::Nodes;
Vector3DMathNode::Vector3DMathNode()
{
setName("Vector3DMathNode");
setName("Vector :: Vector3DMath");
}
Vector2DMathNode::Vector2DMathNode()
{
setName("Vector2DMathNode");
setName("Vector :: Vector2DMath");
}
Vector4DMathNode::Vector4DMathNode()
{
setName("Vector4DMathNode");
setName("Vector :: Vector4DMath");
}

Some files were not shown because too many files have changed in this diff Show More