QuickTabCustomGui Class Reference

#include <customgui_quicktab.h>

Inheritance diagram for QuickTabCustomGui:

Detailed Description

Quicktab custom GUI (CUSTOMGUI_QUICKTAB).
Here are the settings: QUICKTAB_CUSTOMGUISETTINGS

Public Member Functions

void ClearStrings ()
 
void AppendString (Int32 id, const maxon::String &str, Bool checked)
 
void DoLayoutChange ()
 
Bool IsSelected (Int32 id)
 
void SetTextColor (Int32 id, Int32 col)
 
void SetTextColorSelected (Int32 id, Int32 col)
 
void SetBackgroundColorSelected (Int32 id, Int32 col)
 
void SetLayerColor (Int32 id, Bool show, const Vector &col)
 
Bool Select (Int32 id, Bool b)
 
- Public Member Functions inherited from BaseCustomGui< 1000495 >
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

 QuickTabCustomGui ()
 
 ~QuickTabCustomGui ()
 

Constructor & Destructor Documentation

◆ QuickTabCustomGui()

QuickTabCustomGui ( )
private

◆ ~QuickTabCustomGui()

~QuickTabCustomGui ( )
private

Member Function Documentation

◆ ClearStrings()

void ClearStrings ( )

Removes all the strings/tabs.

◆ AppendString()

void AppendString ( Int32  id,
const maxon::String str,
Bool  checked 
)

Appends a string/tab.

Parameters
[in]idThe string ID.
[in]strThe string to append.
[in]checkedThe initial selection state.

◆ DoLayoutChange()

void DoLayoutChange ( )

Call this after appending strings/tabs.

◆ IsSelected()

Bool IsSelected ( Int32  id)

Checks if a string/tab is selected.

Parameters
[in]idThe string ID.
Returns
true if string id is selected, otherwise false.

◆ SetTextColor()

void SetTextColor ( Int32  id,
Int32  col 
)

Sets the text color of string id.

Parameters
[in]idThe string ID.
[in]colThe color. See c4d_colors.h.

◆ SetTextColorSelected()

void SetTextColorSelected ( Int32  id,
Int32  col 
)

Sets the selected state text color of string id.

Since
R19
Parameters
[in]idThe string ID.
[in]colThe color. See c4d_colors.h.

◆ SetBackgroundColorSelected()

void SetBackgroundColorSelected ( Int32  id,
Int32  col 
)

Sets the selected state background color of string id.

Since
R19
Parameters
[in]idThe string ID.
[in]colThe color. See c4d_colors.h.

◆ SetLayerColor()

void SetLayerColor ( Int32  id,
Bool  show,
const Vector col 
)

Sets the layer color of string id.

Parameters
[in]idThe string ID.
[in]showtrue to show the layer color.
[in]colThe color. See c4d_colors.h.

◆ Select()

Bool Select ( Int32  id,
Bool  b 
)

Changes the selection state of string id.

Parameters
[in]idThe string ID.
[in]bThe new selection state.
Returns
true if successful, otherwise false.