DIWNE ​
Namespaces ​
Name |
---|
DIWNE::Actions |
DIWNE::DDraw |
DIWNE::DGui |
DIWNE::DMath |
Classes ​
Name | |
---|---|
class | DIWNE::BasicNode |
class | DIWNE::BasicNodeWithPins |
class | DIWNE::BidirectionalNodeIterator |
class | DIWNE::Canvas <br>Representation of the 2D infinite plane of a node editor. |
class | DIWNE::ConstNodeIterator |
class | DIWNE::ConstNodeRange |
class | DIWNE::ContextTracker <br>A helper class used to track changes in DrawInfo context between two points in time. |
class | DIWNE::DiwneObject <br>The base class for all DIWNE elements containing common functionality. |
class | DIWNE::DiwnePanel <br>A rectangular area representing a part of a DIWNE object. |
class | DIWNE::DrawInfo <br>A structure used to relay information between DIWNE objects during their sequential construction/drawing in a single frame. |
class | DIWNE::FilteredNodeIterator |
class | DIWNE::FilteredNodeIteratorImpl <br>Node iterator that returns only nodes that pass a specified condition. |
class | DIWNE::FilteredNodeRange |
class | DIWNE::FilteredNodeRangeImpl |
class | DIWNE::FilteredRecursiveNodeIterator <br>A wrapper around the RecursiveNodeIterator that also filters its output. |
class | DIWNE::FilteredRecursiveNodeRange |
class | DIWNE::FilteredRecursiveNodeRangeImpl |
class | DIWNE::ForwardIteratorBase |
class | DIWNE::ForwardNodeIterator <br>A simple forward node iterator for DIWNE node containers that is used as a base implementation for other iterators. |
class | DIWNE::Gravity |
class | DIWNE::HStack |
struct | DIWNE::IconStyle |
class | DIWNE::INodeContainer <br>Elementary node container interface defining access to child nodes. |
class | DIWNE::InputAdapter |
class | DIWNE::InteractionState <br>A persistent state storage holding information about multi-frame interactions. |
class | DIWNE::Layout |
class | DIWNE::Link |
class | DIWNE::Node |
class | DIWNE::NodeContainer <br>Basic implementation of a node container, eg. |
class | DIWNE::NodeDropZone |
class | DIWNE::NodeEditor <br>The DIWNE node editor object. |
class | DIWNE::NodeEditorInputAdapter |
class | DIWNE::NodeIterator |
class | DIWNE::NodeIteratorImpl |
class | DIWNE::NodeRange |
class | DIWNE::NodeRangeBase <br>Base type for the NodeRange objects, it uses CRTP static polymorphism to avoid code duplication in node range implementations. |
class | DIWNE::NodeRangeImpl |
class | DIWNE::Pin |
struct | DIWNE::PinIconDrawData <br>Small utility struct for passing around info about pin draw status The actual drawing of pins can be deferred to be done later by a node if the pins stick out of it. |
class | DIWNE::RecursiveNodeIterator <br>A complex iterator that iterates over all top level nodes as well as any child nodes that individual nodes contain. |
class | DIWNE::RecursiveNodeIteratorImpl <br>CRTP templated implementation class of the RecursiveNodeIterator. |
class | DIWNE::RecursiveNodeRange |
class | DIWNE::SequenceNodeContainer |
struct | DIWNE::SettingsDiwne <br>Collection of various node editor settings. |
class | DIWNE::Stack <br>Stack is a helper layout class that manages a set of vertically or horizontally aligned DIWNE panels. |
class | DIWNE::Style <br>Interface for DIWNE style variables. |
class | DIWNE::StyleBase <br>Default base style. |
class | DIWNE::StyleOverride <br>Style interface implementation that overrides certain style variables of an underlying StyleBase of a particular NodeEditor. |
class | DIWNE::VStack |
Types ​
Name | |
---|---|
enum int | DrawMode_ { DrawMode_Interactive = 0, DrawMode_JustDraw = 1 << 0, DrawMode_ForceDraw = 1 << 1} |
enum unsigned int | IconType { NoIcon, Circle, Rectangle, TriangleLeft, TriangleRight, TriangleDownLeft, TriangleDownRight, GrabDownLeft, GrabDownRight, Cross, Hyphen, Stop, Pause, SkipBack, SkipBack2, SkipForward, SkipForward2, Rewind, FastForward, AtFrom, AtTo}<br>Icon shape types. |
using int | DrawMode <br>Drawing mode flags of a DiwneObject, realized by the DrawMode_ enum containing bit flags. |
typedef unsigned int | ID |
using uint64_t | NodeFlag |
using std::vector< std::shared_ptr< DIWNE::Node > > | NodeList |
Functions ​
Name | |
---|---|
void | diwneBreakpointFunc() |
template <typename T ,std::enable_if< std::is_base_of< DiwneObject, T >::value, bool >::type =true> <br>void | expandPopupContent(T & object) |
template <typename... Args> <br>bool | popupDiwne(NodeEditor & diwne, std::string popupID, void(*)(Args...) popupContent, Args &&... args)<br>Shows an unscaled ImGui popup at the current mouse position with the provided content. |
Types Documentation ​
enum DrawMode_ ​
Enumerator | Value | Description |
---|---|---|
DrawMode_Interactive | 0 | |
DrawMode_JustDraw | 1 << 0 | |
DrawMode_ForceDraw | 1 << 1 |
enum IconType ​
Enumerator | Value | Description |
---|---|---|
NoIcon | ||
Circle | ||
Rectangle | ||
TriangleLeft | ||
TriangleRight | ||
TriangleDownLeft | ||
TriangleDownRight | ||
GrabDownLeft | ||
GrabDownRight | ||
Cross | ||
Hyphen | ||
Stop | Black Square For Stop (U+23F9) | |
Pause | Double Vertical Bar (U+23F8) | |
SkipBack | ||
SkipBack2 | "< | |
SkipForward | "> | |
SkipForward2 | ||
Rewind | Black Left-Pointing Double Triangle (U+23EA) | |
FastForward | Black Right-Pointing Double Triangle (U+23E9) | |
AtFrom | ||
AtTo |
Icon shape types.
using DrawMode ​
cpp
using DIWNE::DrawMode = typedef int;
using DIWNE::DrawMode = typedef int;
Drawing mode flags of a DiwneObject, realized by the DrawMode_ enum containing bit flags.
Is just an alias for an int to allow easy bit operations without explicit conversion.
typedef ID ​
cpp
typedef unsigned int DIWNE::ID;
typedef unsigned int DIWNE::ID;
using NodeFlag ​
cpp
using DIWNE::NodeFlag = typedef uint64_t;
using DIWNE::NodeFlag = typedef uint64_t;
using NodeList ​
cpp
using DIWNE::NodeList = typedef std::vector<std::shared_ptr<DIWNE::Node> >;
using DIWNE::NodeList = typedef std::vector<std::shared_ptr<DIWNE::Node> >;
Functions Documentation ​
function diwneBreakpointFunc ​
cpp
void diwneBreakpointFunc()
void diwneBreakpointFunc()
function expandPopupContent ​
cpp
template <typename T ,
std::enable_if< std::is_base_of< DiwneObject, T >::value, bool >::type =true>
static void expandPopupContent(
T & object
)
template <typename T ,
std::enable_if< std::is_base_of< DiwneObject, T >::value, bool >::type =true>
static void expandPopupContent(
T & object
)
function popupDiwne ​
cpp
template <typename... Args>
static bool popupDiwne(
NodeEditor & diwne,
std::string popupID,
void(*)(Args...) popupContent,
Args &&... args
)
template <typename... Args>
static bool popupDiwne(
NodeEditor & diwne,
std::string popupID,
void(*)(Args...) popupContent,
Args &&... args
)
Shows an unscaled ImGui popup at the current mouse position with the provided content.
Parameters:
- popupID is identification of popup that have been raised (so is open and should be drawn)
- popupContent is function with content of popup - it can take any (number of) arguments
- args arguments that will be passed to popupContent function
Return: true if popup is drawn, false otherwise
Note: This method resets the ImGui style stack, any pushed styles will get reset after this call.
The provided popup ID popup must be previously opened outside of this method. This can be used to open custom popups that aren't associated with a particular DiwneObject. Otherwise the preferred method of opening popups for DiwneObjects is overridng the popupContent() method.
Updated on 2025-05-31 at 12:55:31 +0000