Skip to content

Workspace::Tools

Functions

Name
Memento *copyNodes(const std::vector< Ptr< GuiNode >> & nodes, float offset =0)
voidduplicateNode(const Ptr< GuiNode > & node, float offset =0)
std::optional< Ptr< GuiNode > >findNodeById(const std::vector< Ptr< GuiNode >> & nodes, Core::ID id)
intnumberOfCharWithDecimalPoint(float value, int numberOfVisibleDecimal)
voidpasteNodes(const Memento & memento)

Functions Documentation

function copyNodes

cpp
Memento * copyNodes(
    const std::vector< Ptr< GuiNode >> & nodes,
    float offset =0
)
Memento * copyNodes(
    const std::vector< Ptr< GuiNode >> & nodes,
    float offset =0
)

function duplicateNode

cpp
void duplicateNode(
    const Ptr< GuiNode > & node,
    float offset =0
)
void duplicateNode(
    const Ptr< GuiNode > & node,
    float offset =0
)

function findNodeById

cpp
std::optional< Ptr< GuiNode > > findNodeById(
    const std::vector< Ptr< GuiNode >> & nodes,
    Core::ID id
)
std::optional< Ptr< GuiNode > > findNodeById(
    const std::vector< Ptr< GuiNode >> & nodes,
    Core::ID id
)

function numberOfCharWithDecimalPoint

cpp
int numberOfCharWithDecimalPoint(
    float value,
    int numberOfVisibleDecimal
)
int numberOfCharWithDecimalPoint(
    float value,
    int numberOfVisibleDecimal
)

function pasteNodes

cpp
void pasteNodes(
    const Memento & memento
)
void pasteNodes(
    const Memento & memento
)

Updated on 2024-11-06 at 20:16:53 +0000