HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UNI_StickyNote Class Reference

#include <UNI_StickyNote.h>

+ Inheritance diagram for UNI_StickyNote:

Public Member Functions

void setName (const UT_StringHolder &name)
 
void setPosition (const UT_Vector2D &pos)
 
void setSize (const UT_Vector2D &size)
 
void setColor (const UT_Color &clr)
 
void setText (const UT_StringHolder &text)
 
void setTextColor (const UT_Color &clr)
 
void setTextSize (const float size)
 
void setCollapsed (bool collapsed)
 
void setBackgroundHidden (bool hidden)
 
void destroy ()
 
- Public Member Functions inherited from UNI_Item< UNI_StickyNoteID, UNI_SessionStickyNoteID, UNI_ConstStickyNote >
 UNI_Item ()=default
 Constructor. More...
 
 UNI_Item (const UNI_GraphHandle &graph_handle, UNI_StickyNoteIDid)
 
 UNI_Item (UNI_GraphHandle &&graph_handle, UNI_StickyNoteIDid)
 Constructor with r-value for the intrusive graph pointer. More...
 
UNI_Graphgraph () const
 Returns the graph inside which the node lives. More...
 
 UNI_Item (UNI_SessionStickyNoteIDsession_id)
 Other convenience constructors. More...
 
 UNI_Item (UNI_GraphID graph_id, UNI_StickyNoteIDid)
 Other convenience constructors. More...
 
- Public Member Functions inherited from UNI_ConstStickyNote
UT_StringHolder name () const
 
UT_StringHolder path () const
 
UT_StringHolder text () const
 
UT_Color textColor () const
 
float textSize () const
 
UT_Color color () const
 
UT_Vector2D position () const
 
UT_Vector2D size () const
 
bool isCollapsed () const
 
bool isBackgroundHidden () const
 
UNI_NodeID node () const
 
- Public Member Functions inherited from UNI_ConstItem< UNI_StickyNoteID >
 UNI_ConstItem ()=default
 Constructor. More...
 
 UNI_ConstItem (const UNI_ConstGraphHandle &graph_handle, UNI_StickyNoteIDid)
 
 UNI_ConstItem (UNI_ConstGraphHandle &&graph_handle, UNI_StickyNoteIDid)
 Constructor with r-value for the intrusive graph pointer. More...
 
const UNI_Graphgraph () const
 Returns the graph inside which the node lives. More...
 
UNI_StickyNoteID id () const
 Returns the ID of the node in the graph. More...
 
bool isValid () const
 
 operator bool () const
 

Additional Inherited Members

- Public Types inherited from UNI_Item< UNI_StickyNoteID, UNI_SessionStickyNoteID, UNI_ConstStickyNote >
using ChangeBlock = UNI_Graph::ChangeBlock
 Alias the change block for use in this class, for brevity. More...
 
using ChangeType = UNI_GraphChangeType
 
- Protected Member Functions inherited from UNI_ConstItem< UNI_StickyNoteID >
const UNI_ConstGraphHandlegraphHandle () const
 Returns the underlying graph handle. More...
 

Detailed Description

Definition at line 51 of file UNI_StickyNote.h.

Member Function Documentation

void UNI_StickyNote::destroy ( )
void UNI_StickyNote::setBackgroundHidden ( bool  hidden)
void UNI_StickyNote::setCollapsed ( bool  collapsed)
void UNI_StickyNote::setColor ( const UT_Color clr)
void UNI_StickyNote::setName ( const UT_StringHolder name)
void UNI_StickyNote::setPosition ( const UT_Vector2D pos)
void UNI_StickyNote::setSize ( const UT_Vector2D size)
void UNI_StickyNote::setText ( const UT_StringHolder text)
void UNI_StickyNote::setTextColor ( const UT_Color clr)
void UNI_StickyNote::setTextSize ( const float  size)

The documentation for this class was generated from the following file: