FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnityCsReference/Modules/IMGUI/GUI.bindings.cs at master · DukeChiang/UnityCsReference · GitHub
DukeChiang
/
UnityCsReference
Public
forked from
Unity-Technologies/UnityCsReference
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnityCsReference
/
Modules
/
IMGUI
/
GUI.bindings.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
56 lines (46 loc) · 2.86 KB
Breadcrumbs
UnityCsReference
/
Modules
/
IMGUI
/
GUI.bindings.cs
Copy path
File metadata and controls
56 lines (46 loc) · 2.86 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using
System
;
using
UnityEngine
.
Bindings
;
namespace
UnityEngine
{
[
NativeHeader
(
"Modules/IMGUI/GUI.bindings.h"
)
,
NativeHeader
(
"Modules/IMGUI/GUISkin.bindings.h"
)
]
partial
class
GUI
{
public
static
extern
Color
color
{
get
;
set
;
}
public
static
extern
Color
backgroundColor
{
get
;
set
;
}
public
static
extern
Color
contentColor
{
get
;
set
;
}
public
static
extern
bool
changed
{
get
;
set
;
}
public
static
extern
bool
enabled
{
get
;
set
;
}
public
static
extern
int
depth
{
get
;
set
;
}
internal
static
extern
bool
usePageScrollbars
{
get
;
}
internal
static
extern
Material
blendMaterial
{
[
FreeFunction
(
"GetGUIBlendMaterial"
)
]
get
;
}
internal
static
extern
Material
blitMaterial
{
[
FreeFunction
(
"GetGUIBlitMaterial"
)
]
get
;
}
internal
static
extern
Material
roundedRectMaterial
{
[
FreeFunction
(
"GetGUIRoundedRectMaterial"
)
]
get
;
}
private
static
extern
void
DoLabel
(
Rect
position
,
GUIContent
content
,
IntPtr
style
)
;
private
static
extern
bool
DoButton
(
Rect
position
,
GUIContent
content
,
IntPtr
style
)
;
internal
static
extern
bool
DoToggle
(
Rect
position
,
int
id
,
bool
value
,
GUIContent
content
,
IntPtr
style
)
;
[
FreeFunction
(
"GetGUIState().SetNameOfNextControl"
)
]
public
static
extern
void
SetNextControlName
(
string
name
)
;
[
FreeFunction
(
"GetGUIState().GetNameOfFocusedControl"
)
]
public
static
extern
string
GetNameOfFocusedControl
(
)
;
[
FreeFunction
(
"GetGUIState().FocusKeyboardControl"
)
]
public
static
extern
void
FocusControl
(
string
name
)
;
internal
static
extern
void
InternalRepaintEditorWindow
(
)
;
private
static
extern
string
Internal_GetTooltip
(
)
;
private
static
extern
void
Internal_SetTooltip
(
string
value
)
;
private
static
extern
string
Internal_GetMouseTooltip
(
)
;
private
static
extern
Rect
Internal_DoModalWindow
(
int
id
,
int
instanceID
,
Rect
clientRect
,
WindowFunction
func
,
GUIContent
content
,
GUIStyle
style
,
System
.
Object
skin
)
;
private
static
extern
Rect
Internal_DoWindow
(
int
id
,
int
instanceID
,
Rect
clientRect
,
WindowFunction
func
,
GUIContent
title
,
GUIStyle
style
,
System
.
Object
skin
,
bool
forceRectOnLayout
)
;
public
static
extern
void
DragWindow
(
Rect
position
)
;
public
static
extern
void
BringWindowToFront
(
int
windowID
)
;
public
static
extern
void
BringWindowToBack
(
int
windowID
)
;
public
static
extern
void
FocusWindow
(
int
windowID
)
;
public
static
extern
void
UnfocusWindow
(
)
;
private
static
extern
void
Internal_BeginWindows
(
)
;
private
static
extern
void
Internal_EndWindows
(
)
;
internal
static
extern
string
Internal_Concatenate
(
GUIContent
first
,
GUIContent
second
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL