C# Класс IrrlichtNETCP.GUISkin

Наследование: GUIElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GUISkin ( IntPtr raw ) : System
GetColor ( GuiDefaultColor color ) : Color

Returns the default color.

GetDefaultText ( GuiDefaultText text ) : string

Returns a default text. For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.

GetSize ( GuiDefaultSize size ) : int

Returns the default size.

SetColor ( GuiDefaultColor color, Color col ) : void

Sets the default color.

SetDefaultText ( GuiDefaultText text, string txt ) : void

Sets a default text. For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.

SetSize ( GuiDefaultSize size, int s ) : void

Sets a default size.

Приватные методы

Метод Описание
GuiSkin_GetColor ( IntPtr gskin, GuiDefaultColor which, [ color ) : void
GuiSkin_GetDefaultText ( IntPtr gskin, GuiDefaultText which ) : string
GuiSkin_GetFont ( IntPtr gskin ) : IntPtr
GuiSkin_GetSize ( IntPtr gskin, GuiDefaultSize which ) : int
GuiSkin_SetColor ( IntPtr gskin, GuiDefaultColor which, int color ) : void
GuiSkin_SetDefaultText ( IntPtr gskin, GuiDefaultText which, string text ) : void
GuiSkin_SetFont ( IntPtr gskin, IntPtr font ) : void
GuiSkin_SetSize ( IntPtr gskin, GuiDefaultSize which, int size ) : void

Описание методов

GUISkin() публичный Метод

public GUISkin ( IntPtr raw ) : System
raw System.IntPtr
Результат System

GetColor() публичный Метод

Returns the default color.
public GetColor ( GuiDefaultColor color ) : Color
color GuiDefaultColor Specified default color
Результат Color

GetDefaultText() публичный Метод

Returns a default text. For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.
public GetDefaultText ( GuiDefaultText text ) : string
text GuiDefaultText Specified default text
Результат string

GetSize() публичный Метод

Returns the default size.
public GetSize ( GuiDefaultSize size ) : int
size GuiDefaultSize Specified default size
Результат int

SetColor() публичный Метод

Sets the default color.
public SetColor ( GuiDefaultColor color, Color col ) : void
color GuiDefaultColor Specified default color
col Color New color
Результат void

SetDefaultText() публичный Метод

Sets a default text. For example for Message box button captions: "OK", "Cancel", "Yes", "No" and so on.
public SetDefaultText ( GuiDefaultText text, string txt ) : void
text GuiDefaultText Specified default text
txt string New text
Результат void

SetSize() публичный Метод

Sets a default size.
public SetSize ( GuiDefaultSize size, int s ) : void
size GuiDefaultSize Specified default size
s int New size
Результат void