12 #ifndef __UNI_StickyNote_h__
13 #define __UNI_StickyNote_h__
52 UNI_SessionStickyNoteID,
62 void setColor(
const UT_Color &clr );
64 void setTextColor(
const UT_Color &clr );
65 void setTextSize(
const float size );
66 void setCollapsed(
bool collapsed );
67 void setBackgroundHidden(
bool hidden );
virtual UT_StringHolder text(UNI_StickyNoteID note_id) const =0
Returns the sticky note's contents.
bool isBackgroundHidden() const
UT_Color textColor() const
virtual UT_Color textColor(UNI_StickyNoteID note_id) const =0
Returns the sticky note's text (foreground) color.
UT_Vector2T< fpreal64 > UT_Vector2D
UT_Vector2D position() const
virtual bool isBackgroundHidden(UNI_StickyNoteID note_id) const =0
virtual UT_Vector2D size(UNI_StickyNoteID note_id) const =0
Returns the sticky note's size (width & height).
virtual UT_Color color(UNI_NodeID node_id) const =0
The color tint of the node in the graph editor.
virtual UT_Vector2D position(UNI_NodeID node_id) const =0
The position of the node in the graph editor.
UT_StringHolder text() const
UT_StringHolder name() const
virtual UT_StringHolder name() const =0
GLuint const GLchar * name
UT_StringHolder path() const
virtual UNI_NodeID ownerNode(UNI_PortID port_id) const =0
UNI_Item()=default
Constructor.
virtual float textSize(UNI_StickyNoteID note_id) const =0
Returns the sticky note's text size.
virtual bool isCollapsed(UNI_StickyNoteID note_id) const =0
Returns true if the sticky note is collapsed (minimized).
const UNI_Graph * graph() const
Returns the graph inside which the node lives.
virtual UT_StringHolder path(UNI_NodeID node_id) const =0
The full path of the node.
UNI_ConstItem()=default
Constructor.