0.5.1
Loading...
Searching...
No Matches
NAV::gui Namespace Reference

Namespaces

namespace  menus
namespace  panels
namespace  widgets
namespace  windows

Data Structures

class  NodeEditorApplication
 Application class providing all relevant GUI callbacks. More...
struct  NodeIdLess
 Comparison operator for node Ids. More...

Functions

bool canCutOrCopyFlowElements ()
 Checks if elements can be cutted/copied.
bool canPasteFlowElements ()
 Checks if elements can be pasted.
void checkShortcuts (GlobalActions &globalAction)
 Checks if a shortcut was pressed.
void copyFlowElements ()
 Copies the currently selected elements.
void cutFlowElements ()
 Cuts the currently selected elements.
float GetTouchProgress (ax::NodeEditor::NodeId id)
 Get the Touch Progress for the specified node.
void pasteFlowElements ()
 Pastes the copied/cutted elements.
void TouchNode (ax::NodeEditor::NodeId id)
 Trigger a touch event on the specified node.
void UpdateTouch (float deltaTime)
 Updates the touch events for all nodes.

Function Documentation

◆ canCutOrCopyFlowElements()

bool NAV::gui::canCutOrCopyFlowElements ( )

Checks if elements can be cutted/copied.

Definition at line 42 of file GlobalActions.cpp.

◆ canPasteFlowElements()

bool NAV::gui::canPasteFlowElements ( )

Checks if elements can be pasted.

Definition at line 47 of file GlobalActions.cpp.

◆ checkShortcuts()

void NAV::gui::checkShortcuts ( GlobalActions & globalAction)

Checks if a shortcut was pressed.

Definition at line 20 of file Shortcuts.cpp.

◆ copyFlowElements()

void NAV::gui::copyFlowElements ( )

Copies the currently selected elements.

Definition at line 86 of file GlobalActions.cpp.

◆ cutFlowElements()

void NAV::gui::cutFlowElements ( )

Cuts the currently selected elements.

Definition at line 52 of file GlobalActions.cpp.

◆ GetTouchProgress()

float NAV::gui::GetTouchProgress ( ax::NodeEditor::NodeId id)

Get the Touch Progress for the specified node.

Parameters
[in]idId of the Node to check
Returns
The Touch progress towards the touch time

Definition at line 47 of file TouchTracker.cpp.

◆ pasteFlowElements()

void NAV::gui::pasteFlowElements ( )

Pastes the copied/cutted elements.

Definition at line 118 of file GlobalActions.cpp.

◆ TouchNode()

void NAV::gui::TouchNode ( ax::NodeEditor::NodeId id)

Trigger a touch event on the specified node.

Parameters
[in]idId of the node to trigger the event on

Definition at line 39 of file TouchTracker.cpp.

◆ UpdateTouch()

void NAV::gui::UpdateTouch ( float deltaTime)

Updates the touch events for all nodes.

Parameters
[in]deltaTimeTime elapsed since last frame, in [seconds]

Definition at line 60 of file TouchTracker.cpp.