TexBoxGui Class Reference

#include <customgui_texbox.h>

Inheritance diagram for TexBoxGui:

Detailed Description

Shader link custom GUI (CUSTOMGUI_TEXBOX).
Here are the settings: TEXBOX_CUSTOMGUISETTINGS

Public Member Functions

BaseList2DGetLink (const BaseDocument *doc)
 
BaseList2DGetLink (const BaseDocument *doc, Int32 type)
 
Bool SetLink (const BaseList2D *obj)
 
- Public Member Functions inherited from BaseCustomGui< 1001066 >
Int32 GetWidth ()
 
Int32 GetHeight ()
 
void Redraw ()
 
Bool LayoutChanged ()
 
Bool Activate ()
 
Bool SetDefaultForResEdit ()
 
Bool SetData (const TriState< GeData > &tristate)
 
TriState< GeDataGetData ()
 
void SetLayoutMode (Int32 mode)
 
Int32 GetLayoutMode ()
 
Bool SupportLayoutSwitch ()
 
- Public Member Functions inherited from _BaseCustomGui
Int32 GetWidth (Int32 plugid)
 
Int32 GetHeight (Int32 plugid)
 
void Redraw (Int32 plugid)
 
Bool LayoutChanged (Int32 plugid)
 
Bool Activate (Int32 plugid)
 
Bool SetDefaultForResEdit (Int32 plugid)
 
Bool SetData (Int32 plugid, const TriState< GeData > &tristate)
 
TriState< GeDataGetData (Int32 plugid)
 
void SetLayoutMode (Int32 plugid, Int32 mode)
 
Int32 GetLayoutMode (Int32 plugid)
 
Bool SupportLayoutSwitch (Int32 plugid)
 

Private Member Functions

 TexBoxGui ()
 
 ~TexBoxGui ()
 

Additional Inherited Members

- Static Public Attributes inherited from BaseCustomGui< 1001066 >
static constexpr Int32 VALUE
 

Constructor & Destructor Documentation

◆ TexBoxGui()

TexBoxGui ( )
private

◆ ~TexBoxGui()

~TexBoxGui ( )
private

Member Function Documentation

◆ GetLink() [1/2]

BaseList2D* GetLink ( const BaseDocument doc)

Evaluates the link in the specified document.

Parameters
[in]docThe document to evaluate the link in. The caller owns the pointed document.
Returns
The linked object, or nullptr if the link is broken. The document owns the pointed object.

◆ GetLink() [2/2]

BaseList2D* GetLink ( const BaseDocument doc,
Int32  type 
)

Evaluates the link in the specified document. If type is specified, nullptr is returned if the object is not of this type.

Parameters
[in]docThe document to evaluate the link in. The caller owns the pointed document.
[in]typeSet this to a node type to only return the link if it is of this type.
Returns
The linked object, or nullptr if the link is broken or of the wrong type. The document owns the pointed object.

◆ SetLink()

Bool SetLink ( const BaseList2D obj)

Sets the link to point to obj.

Parameters
[in]objThe new goal. The caller owns the pointed object.
Returns
true if successful, otherwise false.