C# Class KSPe.UI.GUILayout

Datei anzeigen Open project: net-lisias-ksp/KSPAPIExtensions Class Usage Examples

Public Methods

Method Description
BeginArea ( Rect screenRect ) : void
BeginArea ( Rect screenRect, GUIContent content ) : void
BeginArea ( Rect screenRect, GUIContent content, GUIStyle style ) : void
BeginArea ( Rect screenRect, GUIStyle style ) : void
BeginArea ( Rect screenRect, Texture image ) : void
BeginArea ( Rect screenRect, Texture image, GUIStyle style ) : void
BeginArea ( Rect screenRect, string text ) : void
BeginArea ( Rect screenRect, string text, GUIStyle style ) : void
BeginHorizontal ( ) : void
BeginHorizontal ( GUIContent content, GUIStyle style ) : void
BeginHorizontal ( GUIStyle style ) : void
BeginHorizontal ( Texture image, GUIStyle style ) : void
BeginHorizontal ( string text, GUIStyle style ) : void
BeginScrollView ( Vector2 scrollPosition ) : Vector2
BeginScrollView ( Vector2 scrollPosition, GUIStyle style ) : Vector2
BeginScrollView ( Vector2 scrollPosition, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical ) : Vector2
BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, GUIStyle background ) : Vector2
BeginVertical ( ) : void
BeginVertical ( GUIContent content, GUIStyle style ) : void
BeginVertical ( GUIStyle style ) : void
BeginVertical ( Texture image, GUIStyle style ) : void
BeginVertical ( string text, GUIStyle style ) : void
Box ( GUIContent content ) : void
Box ( GUIContent content, GUIStyle style ) : void
Box ( Texture image ) : void
Box ( Texture image, GUIStyle style ) : void
Box ( string text ) : void
Box ( string text, GUIStyle style ) : void
Button ( GUIContent content ) : bool
Button ( GUIContent content, GUIStyle style ) : bool
Button ( Texture image ) : bool
Button ( Texture image, GUIStyle style ) : bool
Button ( string text ) : bool
Button ( string text, GUIStyle style ) : bool
EndArea ( ) : void
EndHorizontal ( ) : void
EndScrollView ( ) : void
EndVertical ( ) : void
ExpandHeight ( bool expand ) : GUILayoutOption
ExpandWidth ( bool expand ) : GUILayoutOption
FlexibleSpace ( ) : void
Height ( float height ) : GUILayoutOption
HorizontalScrollbar ( float value, float size, float leftValue, float rightValue ) : float
HorizontalScrollbar ( float value, float size, float leftValue, float rightValue, GUIStyle style ) : float
HorizontalSlider ( float value, float leftValue, float rightValue ) : float
HorizontalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
Label ( GUIContent content ) : void
Label ( GUIContent content, GUIStyle style ) : void
Label ( Texture image ) : void
Label ( Texture image, GUIStyle style ) : void
Label ( string text ) : void
Label ( string text, GUIStyle style ) : void
MaxHeight ( float maxHeight ) : GUILayoutOption
MaxWidth ( float maxWidth ) : GUILayoutOption
MinHeight ( float minHeight ) : GUILayoutOption
MinWidth ( float minWidth ) : GUILayoutOption
PasswordField ( string password, char maskChar ) : string
PasswordField ( string password, char maskChar, GUIStyle style ) : string
PasswordField ( string password, char maskChar, int maxLength ) : string
PasswordField ( string password, char maskChar, int maxLength, GUIStyle style ) : string
RepeatButton ( GUIContent content ) : bool
RepeatButton ( GUIContent content, GUIStyle style ) : bool
RepeatButton ( Texture image ) : bool
RepeatButton ( Texture image, GUIStyle style ) : bool
RepeatButton ( string text ) : bool
RepeatButton ( string text, GUIStyle style ) : bool
SelectionGrid ( int selected, Array texts, int xCount ) : int
SelectionGrid ( int selected, Array texts, int xCount, GUIStyle style ) : int
Space ( float pixels ) : void
TextArea ( string text ) : string
TextArea ( string text, GUIStyle style ) : string
TextArea ( string text, int maxLength ) : string
TextArea ( string text, int maxLength, GUIStyle style ) : string
TextField ( string text ) : string
TextField ( string text, GUIStyle style ) : string
TextField ( string text, int maxLength ) : string
TextField ( string text, int maxLength, GUIStyle style ) : string
Toggle ( bool value, GUIContent content ) : bool
Toggle ( bool value, GUIContent content, GUIStyle style ) : bool
Toggle ( bool value, Texture image ) : bool
Toggle ( bool value, Texture image, GUIStyle style ) : bool
Toggle ( bool value, string text ) : bool
Toggle ( bool value, string text, GUIStyle style ) : bool
Toolbar ( int selected, Array texts ) : int
Toolbar ( int selected, Array texts, GUIStyle style ) : int
VerticalScrollbar ( float value, float size, float topValue, float bottomValue ) : float
VerticalScrollbar ( float value, float size, float topValue, float bottomValue, GUIStyle style ) : float
VerticalSlider ( float value, float leftValue, float rightValue ) : float
VerticalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
Width ( float width ) : GUILayoutOption
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, GUIContent content ) : Rect
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, GUIContent content, GUIStyle style ) : Rect
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, Texture image ) : Rect
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, Texture image, GUIStyle style ) : Rect
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, string text ) : Rect
Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, string text, GUIStyle style ) : Rect

Method Details

BeginArea() public static method

public static BeginArea ( Rect screenRect ) : void
screenRect Rect
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, GUIContent content ) : void
screenRect Rect
content GUIContent
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, GUIContent content, GUIStyle style ) : void
screenRect Rect
content GUIContent
style GUIStyle
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, GUIStyle style ) : void
screenRect Rect
style GUIStyle
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, Texture image ) : void
screenRect Rect
image Texture
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, Texture image, GUIStyle style ) : void
screenRect Rect
image Texture
style GUIStyle
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, string text ) : void
screenRect Rect
text string
return void

BeginArea() public static method

public static BeginArea ( Rect screenRect, string text, GUIStyle style ) : void
screenRect Rect
text string
style GUIStyle
return void

BeginHorizontal() public static method

public static BeginHorizontal ( ) : void
return void

BeginHorizontal() public static method

public static BeginHorizontal ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
return void

BeginHorizontal() public static method

public static BeginHorizontal ( GUIStyle style ) : void
style GUIStyle
return void

BeginHorizontal() public static method

public static BeginHorizontal ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
return void

BeginHorizontal() public static method

public static BeginHorizontal ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition ) : Vector2
scrollPosition Vector2
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, GUIStyle style ) : Vector2
scrollPosition Vector2
style GUIStyle
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
scrollPosition Vector2
horizontalScrollbar GUIStyle
verticalScrollbar GUIStyle
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical ) : Vector2
scrollPosition Vector2
alwaysShowHorizontal bool
alwaysShowVertical bool
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : Vector2
scrollPosition Vector2
alwaysShowHorizontal bool
alwaysShowVertical bool
horizontalScrollbar GUIStyle
verticalScrollbar GUIStyle
return Vector2

BeginScrollView() public static method

public static BeginScrollView ( Vector2 scrollPosition, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar, GUIStyle background ) : Vector2
scrollPosition Vector2
alwaysShowHorizontal bool
alwaysShowVertical bool
horizontalScrollbar GUIStyle
verticalScrollbar GUIStyle
background GUIStyle
return Vector2

BeginVertical() public static method

public static BeginVertical ( ) : void
return void

BeginVertical() public static method

public static BeginVertical ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
return void

BeginVertical() public static method

public static BeginVertical ( GUIStyle style ) : void
style GUIStyle
return void

BeginVertical() public static method

public static BeginVertical ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
return void

BeginVertical() public static method

public static BeginVertical ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

Box() public static method

public static Box ( GUIContent content ) : void
content GUIContent
return void

Box() public static method

public static Box ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
return void

Box() public static method

public static Box ( Texture image ) : void
image Texture
return void

Box() public static method

public static Box ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
return void

Box() public static method

public static Box ( string text ) : void
text string
return void

Box() public static method

public static Box ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

Button() public static method

public static Button ( GUIContent content ) : bool
content GUIContent
return bool

Button() public static method

public static Button ( GUIContent content, GUIStyle style ) : bool
content GUIContent
style GUIStyle
return bool

Button() public static method

public static Button ( Texture image ) : bool
image Texture
return bool

Button() public static method

public static Button ( Texture image, GUIStyle style ) : bool
image Texture
style GUIStyle
return bool

Button() public static method

public static Button ( string text ) : bool
text string
return bool

Button() public static method

public static Button ( string text, GUIStyle style ) : bool
text string
style GUIStyle
return bool

EndArea() public static method

public static EndArea ( ) : void
return void

EndHorizontal() public static method

public static EndHorizontal ( ) : void
return void

EndScrollView() public static method

public static EndScrollView ( ) : void
return void

EndVertical() public static method

public static EndVertical ( ) : void
return void

ExpandHeight() public static method

public static ExpandHeight ( bool expand ) : GUILayoutOption
expand bool
return GUILayoutOption

ExpandWidth() public static method

public static ExpandWidth ( bool expand ) : GUILayoutOption
expand bool
return GUILayoutOption

FlexibleSpace() public static method

public static FlexibleSpace ( ) : void
return void

Height() public static method

public static Height ( float height ) : GUILayoutOption
height float
return GUILayoutOption

HorizontalScrollbar() public static method

public static HorizontalScrollbar ( float value, float size, float leftValue, float rightValue ) : float
value float
size float
leftValue float
rightValue float
return float

HorizontalScrollbar() public static method

public static HorizontalScrollbar ( float value, float size, float leftValue, float rightValue, GUIStyle style ) : float
value float
size float
leftValue float
rightValue float
style GUIStyle
return float

HorizontalSlider() public static method

public static HorizontalSlider ( float value, float leftValue, float rightValue ) : float
value float
leftValue float
rightValue float
return float

HorizontalSlider() public static method

public static HorizontalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
value float
leftValue float
rightValue float
slider GUIStyle
thumb GUIStyle
return float

Label() public static method

public static Label ( GUIContent content ) : void
content GUIContent
return void

Label() public static method

public static Label ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
return void

Label() public static method

public static Label ( Texture image ) : void
image Texture
return void

Label() public static method

public static Label ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
return void

Label() public static method

public static Label ( string text ) : void
text string
return void

Label() public static method

public static Label ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

MaxHeight() public static method

public static MaxHeight ( float maxHeight ) : GUILayoutOption
maxHeight float
return GUILayoutOption

MaxWidth() public static method

public static MaxWidth ( float maxWidth ) : GUILayoutOption
maxWidth float
return GUILayoutOption

MinHeight() public static method

public static MinHeight ( float minHeight ) : GUILayoutOption
minHeight float
return GUILayoutOption

MinWidth() public static method

public static MinWidth ( float minWidth ) : GUILayoutOption
minWidth float
return GUILayoutOption

PasswordField() public static method

public static PasswordField ( string password, char maskChar ) : string
password string
maskChar char
return string

PasswordField() public static method

public static PasswordField ( string password, char maskChar, GUIStyle style ) : string
password string
maskChar char
style GUIStyle
return string

PasswordField() public static method

public static PasswordField ( string password, char maskChar, int maxLength ) : string
password string
maskChar char
maxLength int
return string

PasswordField() public static method

public static PasswordField ( string password, char maskChar, int maxLength, GUIStyle style ) : string
password string
maskChar char
maxLength int
style GUIStyle
return string

RepeatButton() public static method

public static RepeatButton ( GUIContent content ) : bool
content GUIContent
return bool

RepeatButton() public static method

public static RepeatButton ( GUIContent content, GUIStyle style ) : bool
content GUIContent
style GUIStyle
return bool

RepeatButton() public static method

public static RepeatButton ( Texture image ) : bool
image Texture
return bool

RepeatButton() public static method

public static RepeatButton ( Texture image, GUIStyle style ) : bool
image Texture
style GUIStyle
return bool

RepeatButton() public static method

public static RepeatButton ( string text ) : bool
text string
return bool

RepeatButton() public static method

public static RepeatButton ( string text, GUIStyle style ) : bool
text string
style GUIStyle
return bool

SelectionGrid() public static method

public static SelectionGrid ( int selected, Array texts, int xCount ) : int
selected int
texts Array
xCount int
return int

SelectionGrid() public static method

public static SelectionGrid ( int selected, Array texts, int xCount, GUIStyle style ) : int
selected int
texts Array
xCount int
style GUIStyle
return int

Space() public static method

public static Space ( float pixels ) : void
pixels float
return void

TextArea() public static method

public static TextArea ( string text ) : string
text string
return string

TextArea() public static method

public static TextArea ( string text, GUIStyle style ) : string
text string
style GUIStyle
return string

TextArea() public static method

public static TextArea ( string text, int maxLength ) : string
text string
maxLength int
return string

TextArea() public static method

public static TextArea ( string text, int maxLength, GUIStyle style ) : string
text string
maxLength int
style GUIStyle
return string

TextField() public static method

public static TextField ( string text ) : string
text string
return string

TextField() public static method

public static TextField ( string text, GUIStyle style ) : string
text string
style GUIStyle
return string

TextField() public static method

public static TextField ( string text, int maxLength ) : string
text string
maxLength int
return string

TextField() public static method

public static TextField ( string text, int maxLength, GUIStyle style ) : string
text string
maxLength int
style GUIStyle
return string

Toggle() public static method

public static Toggle ( bool value, GUIContent content ) : bool
value bool
content GUIContent
return bool

Toggle() public static method

public static Toggle ( bool value, GUIContent content, GUIStyle style ) : bool
value bool
content GUIContent
style GUIStyle
return bool

Toggle() public static method

public static Toggle ( bool value, Texture image ) : bool
value bool
image Texture
return bool

Toggle() public static method

public static Toggle ( bool value, Texture image, GUIStyle style ) : bool
value bool
image Texture
style GUIStyle
return bool

Toggle() public static method

public static Toggle ( bool value, string text ) : bool
value bool
text string
return bool

Toggle() public static method

public static Toggle ( bool value, string text, GUIStyle style ) : bool
value bool
text string
style GUIStyle
return bool

Toolbar() public static method

public static Toolbar ( int selected, Array texts ) : int
selected int
texts Array
return int

Toolbar() public static method

public static Toolbar ( int selected, Array texts, GUIStyle style ) : int
selected int
texts Array
style GUIStyle
return int

VerticalScrollbar() public static method

public static VerticalScrollbar ( float value, float size, float topValue, float bottomValue ) : float
value float
size float
topValue float
bottomValue float
return float

VerticalScrollbar() public static method

public static VerticalScrollbar ( float value, float size, float topValue, float bottomValue, GUIStyle style ) : float
value float
size float
topValue float
bottomValue float
style GUIStyle
return float

VerticalSlider() public static method

public static VerticalSlider ( float value, float leftValue, float rightValue ) : float
value float
leftValue float
rightValue float
return float

VerticalSlider() public static method

public static VerticalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
value float
leftValue float
rightValue float
slider GUIStyle
thumb GUIStyle
return float

Width() public static method

public static Width ( float width ) : GUILayoutOption
width float
return GUILayoutOption

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, GUIContent content ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
content GUIContent
return Rect

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, GUIContent content, GUIStyle style ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
content GUIContent
style GUIStyle
return Rect

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, Texture image ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
image Texture
return Rect

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, Texture image, GUIStyle style ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
image Texture
style GUIStyle
return Rect

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, string text ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
text string
return Rect

Window() public static method

public static Window ( int id, Rect screenRect, UnityEngine.GUI.WindowFunction func, string text, GUIStyle style ) : Rect
id int
screenRect Rect
func UnityEngine.GUI.WindowFunction
text string
style GUIStyle
return Rect