|
Iliad
Painting Plugin for UnrealEngine4 by Praxinos
|
Public Member Functions | |
| IOdysseyBaseLayerNode (FName iNodeName, FOdysseyLayerStackTree &iParentTree, TSharedPtr< IOdysseyLayer > iLayerDataPtr) | |
| virtual | ~IOdysseyBaseLayerNode () |
| virtual void | BuildContextMenu (FMenuBuilder &iMenuBuilder)=0 |
| virtual TOptional< EItemDropZone > | CanDrop (FOdysseyLayerStackNodeDragDropOp &DragDropOp, EItemDropZone ItemDropZone) const =0 |
| virtual bool | CanRenameNode () const |
| DECLARE_EVENT (IOdysseyBaseLayerNode, FRequestRenameEvent) | |
| virtual void | Drop (const TArray< TSharedRef< IOdysseyBaseLayerNode >> &iDraggedNodes, EItemDropZone iDropZone)=0 |
| virtual TSharedRef< SWidget > | GenerateContainerWidgetForOutliner (const TSharedRef< SOdysseyLayerStackViewRow > &iRow) |
| virtual TSharedRef< SWidget > | GenerateContainerWidgetForPropertyView ()=0 |
| virtual TSharedRef< SWidget > | GetCustomIconContent ()=0 |
| virtual TSharedRef< SWidget > | GetCustomOutlinerContent ()=0 |
| virtual FText | GetDisplayName () const |
| virtual FLinearColor | GetDisplayNameColor () const |
| virtual FText | GetDisplayNameToolTipText () const |
| virtual const FSlateBrush * | GetIconBrush () const |
| virtual FSlateColor | GetIconColor () const |
| TSharedPtr< IOdysseyLayer > | GetLayerDataPtr () const |
| FOdysseyLayerStackModel & | GetLayerStack () const |
| virtual float | GetNodeHeight () const =0 |
| FName | GetNodeName () const |
| virtual FNodePadding | GetNodePadding () const =0 |
| FOdysseyLayerStackTree & | GetParentTree () const |
| float | GetVirtualBottom () const |
| float | GetVirtualTop () const |
| void | Initialize (float iVirtualTop, float iVirtualBottom) |
| virtual bool | IsHidden () const =0 |
| bool | IsHovered () const |
| virtual bool | IsSelectable () const |
| void | MoveNodeTo (EItemDropZone iItemDropZone, TSharedRef< IOdysseyBaseLayerNode > iCurrentNode) |
| FRequestRenameEvent & | OnRenameRequested () |
| TSharedPtr< SWidget > | OnSummonContextMenu () |
| virtual void | SetDisplayName (const FText &NewDisplayName) |
Protected Attributes | |
| TArray< TSharedRef< IOdysseyBaseLayerNode > > | mChildNodes |
| TSharedPtr< IOdysseyLayer > | mLayerDataPtr |
| FName | mNodeName |
| FOdysseyLayerStackTree & | mParentTree |
| FRequestRenameEvent | mRenameRequestedEvent |
| float | mVirtualBottom |
| float | mVirtualTop |
Base node GUI for a layer node in the layerStack
| IOdysseyBaseLayerNode::IOdysseyBaseLayerNode | ( | FName | iNodeName, |
| FOdysseyLayerStackTree & | iParentTree, | ||
| TSharedPtr< IOdysseyLayer > | iLayerDataPtr | ||
| ) |
Create and initialize a new instance.
| iNodeName | The name identifier of the node |
| iParentNode | The parent of this node or nullptr if this is a root node |
| iParentTree | The tree this node is in |
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
What sort of context menu this node summons
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
pure virtual |
Determines if there is a valid drop zone based on the current drag drop operation and the zone the items were dragged onto.
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
virtual |
| IOdysseyBaseLayerNode::DECLARE_EVENT | ( | IOdysseyBaseLayerNode | , |
| FRequestRenameEvent | |||
| ) |
|
pure virtual |
Handles a drop of items onto this display node.
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
virtual |
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
|
virtual |
| TSharedPtr< IOdysseyLayer > IOdysseyBaseLayerNode::GetLayerDataPtr | ( | ) | const |
Gets the pointer to the data contained in this node
| FOdysseyLayerStackModel & IOdysseyBaseLayerNode::GetLayerStack | ( | ) | const |
Gets the layerStack that owns this node
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
| FName IOdysseyBaseLayerNode::GetNodeName | ( | ) | const |
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
| FOdysseyLayerStackTree & IOdysseyBaseLayerNode::GetParentTree | ( | ) | const |
Gets the parent tree that this node is in
| float IOdysseyBaseLayerNode::GetVirtualBottom | ( | ) | const |
| float IOdysseyBaseLayerNode::GetVirtualTop | ( | ) | const |
| void IOdysseyBaseLayerNode::Initialize | ( | float | iVirtualTop, |
| float | iVirtualBottom | ||
| ) |
Initialize this node virtual offsets
|
pure virtual |
Implemented in FOdysseyImageLayerNode, and FOdysseyFolderLayerNode.
| bool IOdysseyBaseLayerNode::IsHovered | ( | ) | const |
|
virtual |
| void IOdysseyBaseLayerNode::MoveNodeTo | ( | EItemDropZone | iItemDropZone, |
| TSharedRef< IOdysseyBaseLayerNode > | iCurrentNode | ||
| ) |
Action to do when this node is moved to another node
|
inline |
| TSharedPtr< SWidget > IOdysseyBaseLayerNode::OnSummonContextMenu | ( | ) |
Summon context menu
|
virtual |
| NewDisplayName | the display name to set. |
|
protected |
List of children belonging to this node
|
protected |
The interface ptr to the data represented by this node, only used as verification purposes
|
protected |
The name identifier of this node
|
protected |
Parent tree that this node is in
|
protected |
Event that is triggered when rename is requested
|
protected |
The virtual offset + virtual height of this item, irrespective of expansion states.
|
protected |
The virtual offset of this item from the top of the tree, irrespective of expansion states.
1.8.16