C# Class IrrlichtNETCP.GUIEnvironment

Inheritance: NativeElement
显示文件 Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Methods

Method Description
AddButton ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIButton
AddButtonW ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIButton
AddCheckBox ( bool ischecked, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUICheckBox
AddColorSelectDialog ( string title, bool modal, GUIElement parent, int id ) : GUIColorSelectDialog
AddComboBox ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIComboBox
AddContextMenu ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIContextMenu
AddEditBox ( string text, IrrlichtNETCP.Rect rectangle, bool border, GUIElement parent, int id ) : GUIEditBox
AddEditBoxW ( string text, IrrlichtNETCP.Rect rectangle, bool border, GUIElement parent, int id ) : GUIEditBox
AddFileOpenDialog ( string title, bool modal, GUIElement parent, int id ) : GUIFileOpenDialog
AddImage ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIImage
AddImage ( Texture image, IrrlichtNETCP.Position2D position, bool useAlphaChannel, GUIElement parent, int id, string text ) : GUIImage
AddInOutFader ( GUIElement parent, int id ) : GUIInOutFader
AddInOutFader ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIInOutFader
AddListBox ( IrrlichtNETCP.Rect rect, GUIElement parent, int id, bool drawBackground ) : GUIListBox
AddMenu ( GUIElement parent, int id ) : GUIContextMenu
AddMeshViewer ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIMeshViewer
AddMessageBox ( string caption, string text, bool modal, MessageBoxFlag flags, GUIElement parent, int id ) : GUIWindow
AddProgressBar ( bool horizontal, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : IrrlichtNETCP.GUIProgressBar
AddScrollBar ( bool horizontal, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIScrollBar
AddSpinBox ( string text, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : IrrlichtNETCP.GUISpinBox
AddStaticText ( string text, IrrlichtNETCP.Rect rectangle, bool border, bool wordWrap, GUIElement parent, int id, bool fillBackground ) : GUIStaticText
AddStaticTextW ( string text, IrrlichtNETCP.Rect rectangle, bool border, bool wordWrap, GUIElement parent, int id, bool fillBackground ) : GUIStaticText
AddTab ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUITab
AddTabControl ( IrrlichtNETCP.Rect rectangle, GUIElement parent, bool fillBackground, bool hasBorder, int id ) : GUITabControl
AddToolBar ( GUIElement parent, int id ) : GUIToolBar
AddWindow ( IrrlichtNETCP.Rect rectangle, bool modal, string text, GUIElement parent, int id ) : GUIWindow
AddWindowW ( IrrlichtNETCP.Rect rectangle, bool modal, string text, GUIElement parent, int id ) : GUIWindow
Clear ( ) : void
CreateSkin ( GUISkinTypes skin ) : GUISkin
DrawAll ( ) : void
GUIEnvironment ( IntPtr raw ) : System
GetFont ( string filename ) : GUIFont
HasFocus ( GUIElement elem ) : bool
LoadGui ( string filename ) : bool
PostEventFromUser ( Event ev ) : bool
RemoveFocus ( GUIElement elem ) : void
SaveGui ( string filename ) : bool
SetFocus ( GUIElement elem ) : void

Private Methods

Method Description
GuiEnv_AddButton ( IntPtr guienv, int rectangle, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddButtonW ( IntPtr guienv, int rectangle, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddCheckBox ( IntPtr guienv, bool ischecked, int rectangle, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddColorSelectDialog ( IntPtr guienv, string title, bool modal, IntPtr parent, int id ) : IntPtr
GuiEnv_AddComboBox ( IntPtr guienv, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddContextMenu ( IntPtr guienv, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddEditBox ( IntPtr guienv, string text, int rectangle, bool border, IntPtr parent, int id ) : IntPtr
GuiEnv_AddEditBoxW ( IntPtr guienv, string text, int rectangle, bool border, IntPtr parent, int id ) : IntPtr
GuiEnv_AddFileOpenDialog ( IntPtr guienv, string title, bool model, IntPtr parent, int id ) : IntPtr
GuiEnv_AddImage ( IntPtr guienv, int rectangle, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddImageA ( IntPtr guienv, IntPtr image, int pos, bool useAlphaChannel, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddInOutFader ( IntPtr guienv, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddListBox ( IntPtr guienv, int rectangle, IntPtr parent, int id, bool drawBackground ) : IntPtr
GuiEnv_AddMenu ( IntPtr guienv, IntPtr parent, int id ) : IntPtr
GuiEnv_AddMeshViewer ( IntPtr guienv, int rectangle, IntPtr parent, int id, string text ) : IntPtr
GuiEnv_AddMessageBox ( IntPtr guienv, string caption, string text, bool modal, MessageBoxFlag flags, IntPtr parent, int id ) : IntPtr
GuiEnv_AddProgressBar ( IntPtr guienv, bool horizontal, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddScrollBar ( IntPtr guienv, bool horizontal, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddSpinBox ( IntPtr guienv, string text, int rect, IntPtr parent, int id ) : IntPtr
GuiEnv_AddStaticText ( IntPtr guienv, string text, int rectangle, bool border, bool wordWrap, IntPtr parent, int id, bool fillBack ) : IntPtr
GuiEnv_AddStaticTextW ( IntPtr guienv, string text, int rectangle, bool border, bool wordWrap, IntPtr parent, int id, bool fillBackground ) : IntPtr
GuiEnv_AddTab ( IntPtr guienv, int rectangle, IntPtr parent, int id ) : IntPtr
GuiEnv_AddTabControl ( IntPtr guienv, int rectangle, IntPtr parent, bool fillbackGround, bool border, int id ) : IntPtr
GuiEnv_AddToolBar ( IntPtr guienv, IntPtr parent, int id ) : IntPtr
GuiEnv_AddWindow ( IntPtr guienv, int rectangle, bool modal, string text, IntPtr parent, int id ) : IntPtr
GuiEnv_AddWindowW ( IntPtr guienv, int rectangle, bool modal, string text, IntPtr parent, int id ) : IntPtr
GuiEnv_Clear ( IntPtr guienv ) : void
GuiEnv_CreateSkin ( IntPtr guienv, GUISkinTypes type ) : IntPtr
GuiEnv_DrawAll ( IntPtr guienv ) : void
GuiEnv_GetBuiltInFont ( IntPtr guienv ) : IntPtr
GuiEnv_GetFont ( IntPtr guienv, string filename ) : IntPtr
GuiEnv_GetRootGUIElement ( IntPtr guienv ) : IntPtr
GuiEnv_GetSkin ( IntPtr guienv ) : IntPtr
GuiEnv_GetVideoDriver ( IntPtr guienv ) : IntPtr
GuiEnv_HasFocus ( IntPtr guienv, IntPtr element ) : bool
GuiEnv_LoadGUI ( IntPtr guienv, string filename ) : bool
GuiEnv_PostEventFromUser ( IntPtr guienv, IntPtr ev ) : bool
GuiEnv_RemoveFocus ( IntPtr guienv, IntPtr element ) : void
GuiEnv_SaveGUI ( IntPtr guienv, string filename ) : bool
GuiEnv_SetFocus ( IntPtr guienv, IntPtr element ) : void
GuiEnv_SetSkin ( IntPtr guienv, IntPtr skin ) : void

Method Details

AddButton() public method

public AddButton ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIButton
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
text string
return GUIButton

AddButtonW() public method

public AddButtonW ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIButton
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
text string
return GUIButton

AddCheckBox() public method

public AddCheckBox ( bool ischecked, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUICheckBox
ischecked bool
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
text string
return GUICheckBox

AddColorSelectDialog() public method

public AddColorSelectDialog ( string title, bool modal, GUIElement parent, int id ) : GUIColorSelectDialog
title string
modal bool
parent GUIElement
id int
return GUIColorSelectDialog

AddComboBox() public method

public AddComboBox ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIComboBox
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUIComboBox

AddContextMenu() public method

public AddContextMenu ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIContextMenu
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUIContextMenu

AddEditBox() public method

public AddEditBox ( string text, IrrlichtNETCP.Rect rectangle, bool border, GUIElement parent, int id ) : GUIEditBox
text string
rectangle IrrlichtNETCP.Rect
border bool
parent GUIElement
id int
return GUIEditBox

AddEditBoxW() public method

public AddEditBoxW ( string text, IrrlichtNETCP.Rect rectangle, bool border, GUIElement parent, int id ) : GUIEditBox
text string
rectangle IrrlichtNETCP.Rect
border bool
parent GUIElement
id int
return GUIEditBox

AddFileOpenDialog() public method

public AddFileOpenDialog ( string title, bool modal, GUIElement parent, int id ) : GUIFileOpenDialog
title string
modal bool
parent GUIElement
id int
return GUIFileOpenDialog

AddImage() public method

public AddImage ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIImage
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
text string
return GUIImage

AddImage() public method

public AddImage ( Texture image, IrrlichtNETCP.Position2D position, bool useAlphaChannel, GUIElement parent, int id, string text ) : GUIImage
image Texture
position IrrlichtNETCP.Position2D
useAlphaChannel bool
parent GUIElement
id int
text string
return GUIImage

AddInOutFader() public method

public AddInOutFader ( GUIElement parent, int id ) : GUIInOutFader
parent GUIElement
id int
return GUIInOutFader

AddInOutFader() public method

public AddInOutFader ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIInOutFader
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUIInOutFader

AddListBox() public method

public AddListBox ( IrrlichtNETCP.Rect rect, GUIElement parent, int id, bool drawBackground ) : GUIListBox
rect IrrlichtNETCP.Rect
parent GUIElement
id int
drawBackground bool
return GUIListBox

AddMenu() public method

public AddMenu ( GUIElement parent, int id ) : GUIContextMenu
parent GUIElement
id int
return GUIContextMenu

AddMeshViewer() public method

public AddMeshViewer ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id, string text ) : GUIMeshViewer
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
text string
return GUIMeshViewer

AddMessageBox() public method

public AddMessageBox ( string caption, string text, bool modal, MessageBoxFlag flags, GUIElement parent, int id ) : GUIWindow
caption string
text string
modal bool
flags MessageBoxFlag
parent GUIElement
id int
return GUIWindow

AddProgressBar() public method

public AddProgressBar ( bool horizontal, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : IrrlichtNETCP.GUIProgressBar
horizontal bool
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return IrrlichtNETCP.GUIProgressBar

AddScrollBar() public method

public AddScrollBar ( bool horizontal, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUIScrollBar
horizontal bool
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUIScrollBar

AddSpinBox() public method

public AddSpinBox ( string text, IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : IrrlichtNETCP.GUISpinBox
text string
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return IrrlichtNETCP.GUISpinBox

AddStaticText() public method

public AddStaticText ( string text, IrrlichtNETCP.Rect rectangle, bool border, bool wordWrap, GUIElement parent, int id, bool fillBackground ) : GUIStaticText
text string
rectangle IrrlichtNETCP.Rect
border bool
wordWrap bool
parent GUIElement
id int
fillBackground bool
return GUIStaticText

AddStaticTextW() public method

public AddStaticTextW ( string text, IrrlichtNETCP.Rect rectangle, bool border, bool wordWrap, GUIElement parent, int id, bool fillBackground ) : GUIStaticText
text string
rectangle IrrlichtNETCP.Rect
border bool
wordWrap bool
parent GUIElement
id int
fillBackground bool
return GUIStaticText

AddTab() public method

public AddTab ( IrrlichtNETCP.Rect rectangle, GUIElement parent, int id ) : GUITab
rectangle IrrlichtNETCP.Rect
parent GUIElement
id int
return GUITab

AddTabControl() public method

public AddTabControl ( IrrlichtNETCP.Rect rectangle, GUIElement parent, bool fillBackground, bool hasBorder, int id ) : GUITabControl
rectangle IrrlichtNETCP.Rect
parent GUIElement
fillBackground bool
hasBorder bool
id int
return GUITabControl

AddToolBar() public method

public AddToolBar ( GUIElement parent, int id ) : GUIToolBar
parent GUIElement
id int
return GUIToolBar

AddWindow() public method

public AddWindow ( IrrlichtNETCP.Rect rectangle, bool modal, string text, GUIElement parent, int id ) : GUIWindow
rectangle IrrlichtNETCP.Rect
modal bool
text string
parent GUIElement
id int
return GUIWindow

AddWindowW() public method

public AddWindowW ( IrrlichtNETCP.Rect rectangle, bool modal, string text, GUIElement parent, int id ) : GUIWindow
rectangle IrrlichtNETCP.Rect
modal bool
text string
parent GUIElement
id int
return GUIWindow

Clear() public method

public Clear ( ) : void
return void

CreateSkin() public method

public CreateSkin ( GUISkinTypes skin ) : GUISkin
skin GUISkinTypes
return GUISkin

DrawAll() public method

public DrawAll ( ) : void
return void

GUIEnvironment() public method

public GUIEnvironment ( IntPtr raw ) : System
raw System.IntPtr
return System

GetFont() public method

public GetFont ( string filename ) : GUIFont
filename string
return GUIFont

HasFocus() public method

public HasFocus ( GUIElement elem ) : bool
elem GUIElement
return bool

LoadGui() public method

public LoadGui ( string filename ) : bool
filename string
return bool

PostEventFromUser() public method

public PostEventFromUser ( Event ev ) : bool
ev Event
return bool

RemoveFocus() public method

public RemoveFocus ( GUIElement elem ) : void
elem GUIElement
return void

SaveGui() public method

public SaveGui ( string filename ) : bool
filename string
return bool

SetFocus() public method

public SetFocus ( GUIElement elem ) : void
elem GUIElement
return void