DIWNE::SettingsDiwne
Storage of all values.
#include "DIWNE/diwne.h"
Public Attributes
Public Attributes Documentation
variable backgroundHoveredBorderColor
cpp
ImVec4 backgroundHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);ImVec4 backgroundHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);variable backgroundHoveredBorderThicknessDiwne
cpp
float backgroundHoveredBorderThicknessDiwne = 2;float backgroundHoveredBorderThicknessDiwne = 2;variable editorId
cpp
DIWNE::ID const editorId = 0;DIWNE::ID const editorId = 0;as well as all other DiwneObject, Diwne has to have id too
variable editorlabel
cpp
std::string const editorlabel = "diwneBackground";std::string const editorlabel = "diwneBackground";as well as all other DiwneObject, Diwne has to have identification label too
variable fontColor
cpp
ImVec4 fontColor = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);ImVec4 fontColor = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);Color of the text in the node.
variable initPopupPosition
cpp
ImVec2 initPopupPosition = ImVec2(0, 0);ImVec2 initPopupPosition = ImVec2(0, 0);where to show popup when not set later
variable itemSelectedBorderColor
cpp
ImVec4 itemSelectedBorderColor = ImVec4(1.0, 0.9, 0.4, 0.6);ImVec4 itemSelectedBorderColor = ImVec4(1.0, 0.9, 0.4, 0.6);variable itemSelectedBorderThicknessDiwne
cpp
float itemSelectedBorderThicknessDiwne = 2.5;float itemSelectedBorderThicknessDiwne = 2.5;variable linkAlpha
cpp
float linkAlpha = 0.2;float linkAlpha = 0.2;variable linkAlphaHovered
cpp
float linkAlphaHovered = 1;float linkAlphaHovered = 1;variable linkAlphaSelected
cpp
float linkAlphaSelected = 0.5;float linkAlphaSelected = 0.5;variable linkAlphaSelectedHovered
cpp
float linkAlphaSelectedHovered = 1;float linkAlphaSelectedHovered = 1;variable linkColor
cpp
ImVec4 linkColor = ImVec4(0.6, 0.3, 0.35, 0.6);ImVec4 linkColor = ImVec4(0.6, 0.3, 0.35, 0.6);variable linkColorSelected
cpp
ImVec4 linkColorSelected = ImVec4(0.6, 0.3, 0.35, 0.8);ImVec4 linkColorSelected = ImVec4(0.6, 0.3, 0.35, 0.8);variable linkEndControlOffsetDiwne
cpp
ImVec2 linkEndControlOffsetDiwne = ImVec2(-10, 0);ImVec2 linkEndControlOffsetDiwne = ImVec2(-10, 0);variable linkInteractionWidthDiwne
cpp
float linkInteractionWidthDiwne = 10;float linkInteractionWidthDiwne = 10;variable linkStartControlOffsetDiwne
cpp
ImVec2 linkStartControlOffsetDiwne = ImVec2(10, 0);ImVec2 linkStartControlOffsetDiwne = ImVec2(10, 0);variable linkThicknessDiwne
cpp
float linkThicknessDiwne = 10;float linkThicknessDiwne = 10;variable linkThicknessSelectedBorderDiwne
cpp
float linkThicknessSelectedBorderDiwne = 4;float linkThicknessSelectedBorderDiwne = 4;variable maxWorkAreaZoom
cpp
float maxWorkAreaZoom = 4;float maxWorkAreaZoom = 4;maximal value of zoom
variable middleAlign
cpp
float middleAlign = 0.5;float middleAlign = 0.5;value < 0 , 1 > where is horizontal position of middle of nodes
variable minWorkAreaZoom
cpp
float minWorkAreaZoom = 0.25;float minWorkAreaZoom = 0.25;minimal value of zoom
variable nodeHoveredBorderColor
cpp
ImVec4 nodeHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);ImVec4 nodeHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);variable nodeHoveredBorderThicknessDiwne
cpp
float nodeHoveredBorderThicknessDiwne = 2;float nodeHoveredBorderThicknessDiwne = 2;variable objectFocusBorderColor
cpp
ImVec4 objectFocusBorderColor = ImVec4(0.0, 0.0, 0.0, 0.20);ImVec4 objectFocusBorderColor = ImVec4(0.0, 0.0, 0.0, 0.20);variable objectFocusBorderThicknessDiwne
cpp
float objectFocusBorderThicknessDiwne = 1.5;float objectFocusBorderThicknessDiwne = 1.5;variable objectFocusForInteractionBorderColor
cpp
ImVec4 objectFocusForInteractionBorderColor = ImVec4(0.0, 0.0, 0.0, 0.20);ImVec4 objectFocusForInteractionBorderColor = ImVec4(0.0, 0.0, 0.0, 0.20);variable objectFocusForInteractionBorderThicknessDiwne
cpp
float objectFocusForInteractionBorderThicknessDiwne = 1.5;float objectFocusForInteractionBorderThicknessDiwne = 1.5;variable pinHoveredBorderColor
cpp
ImVec4 pinHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);ImVec4 pinHoveredBorderColor = ImVec4(0.35, 0.35, 0.0, 1.0);variable pinHoveredBorderThicknessDiwne
cpp
float pinHoveredBorderThicknessDiwne = 2;float pinHoveredBorderThicknessDiwne = 2;variable selectionRectFullColor
cpp
ImVec4 selectionRectFullColor = ImVec4(0.0, 0.0, 1.0, 0.35);ImVec4 selectionRectFullColor = ImVec4(0.0, 0.0, 1.0, 0.35);variable selectionRectTouchColor
cpp
ImVec4 selectionRectTouchColor = ImVec4(0.0, 1.0, 0.0, 0.35);ImVec4 selectionRectTouchColor = ImVec4(0.0, 1.0, 0.0, 0.35);variable selectionRounding
cpp
float selectionRounding = 0;float selectionRounding = 0;rounding od selection
variable workAreaDiwne
cpp
ImRect const workAreaDiwne = ImRect(0, 0, 0, 0);ImRect const workAreaDiwne = ImRect(0, 0, 0, 0);See: updateWorkAreaRectangles() )
workarea in Diwne coordinates (so what part of infinite space of node editor is on window) only initial value - mostly based on window size (
variable workAreaInitialZoom
cpp
float workAreaInitialZoom = 1;float workAreaInitialZoom = 1;initial value of zoom
variable zoomWheelReverseSenzitivity
cpp
float zoomWheelReverseSenzitivity = 8;float zoomWheelReverseSenzitivity = 8;Higher number -> smaller change, can not be 0
Updated on 2025-09-07 at 16:13:51 +0000