QuickTabCustomGui Class Reference

#include <customgui_quicktab.h>

Inheritance diagram for QuickTabCustomGui:

详细描述

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

公共成员函数

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 向量 &col)
Bool   选择 ( Int32 id, Bool b)
-  Public Member Functions inherited from BaseCustomGui< 1000495 >
Int32   GetWidth ()
Int32   GetHeight ()
void  Redraw ()
Bool   LayoutChanged ()
Bool   激活 ()
Bool   SetDefaultForResEdit ()
Bool   SetData (const TriState < GeData > &tristate)
TriState < GeData GetData ()
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   激活 ( Int32 plugid)
Bool   SetDefaultForResEdit ( Int32 plugid)
Bool   SetData ( Int32 plugid, const TriState < GeData > &tristate)
TriState < GeData GetData ( Int32 plugid)
void  SetLayoutMode ( Int32 plugid, Int32 mode)
Int32   GetLayoutMode ( Int32 plugid)
Bool   SupportLayoutSwitch ( Int32 plugid)

私有成员函数

  QuickTabCustomGui ()
  ~QuickTabCustomGui ()

构造函数 & 析构函数文档编制

◆  QuickTabCustomGui()

QuickTabCustomGui () private

◆  ~QuickTabCustomGui()

~ QuickTabCustomGui () private

成员函数文档编制

◆  ClearStrings()

void ClearStrings ( )

Removes all the strings/tabs.

◆  AppendString()

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

Appends a string/tab.

参数
[in] id The string ID.
[in] str The string to append.
[in] checked The initial selection state.

◆  DoLayoutChange()

void DoLayoutChange ( )

Call this after appending strings/tabs.

◆  IsSelected()

Bool IsSelected ( Int32   id )

Checks if a string/tab is selected.

参数
[in] id The string ID.
返回
true if string id is selected, otherwise false .

◆  SetTextColor()

void SetTextColor ( Int32   id ,
Int32   col  
)

Sets the text color of string id .

参数
[in] id The string ID.
[in] col The color. See c4d_colors.h .

◆  SetTextColorSelected()

void SetTextColorSelected ( Int32   id ,
Int32   col  
)

Sets the selected state text color of string id .

由于
R19
参数
[in] id The string ID.
[in] col The color. See c4d_colors.h .

◆  SetBackgroundColorSelected()

void SetBackgroundColorSelected ( Int32   id ,
Int32   col  
)

Sets the selected state background color of string id .

由于
R19
参数
[in] id The string ID.
[in] col The color. See c4d_colors.h .

◆  SetLayerColor()

void SetLayerColor ( Int32   id ,
Bool   show ,
const 向量 col  
)

Sets the layer color of string id .

参数
[in] id The string ID.
[in] show true to show the layer color.
[in] col The color. See c4d_colors.h .

◆  Select()

Bool 选择 ( Int32   id ,
Bool   b  
)

Changes the selection state of string id .

参数
[in] id The string ID.
[in] b The new selection state.
返回
true if successful, otherwise false .