/
panel.gen.go
41 lines (34 loc) · 1.07 KB
/
panel.gen.go
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
package godot
import (
"github.com/shadowapex/godot-go/gdnative"
)
/*------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. Any updates should be done in
// "class.go.tmpl" so they can be included in the generated
// code.
//----------------------------------------------------------------------------*/
//func NewPanelFromPointer(ptr gdnative.Pointer) Panel {
func newPanelFromPointer(ptr gdnative.Pointer) Panel {
owner := gdnative.NewObjectFromPointer(ptr)
obj := Panel{}
obj.SetBaseObject(owner)
return obj
}
/*
Panel is a [Control] that displays an opaque background. It's commonly used as a parent and container for other types of [Control] nodes.
*/
type Panel struct {
Control
owner gdnative.Object
}
func (o *Panel) BaseClass() string {
return "Panel"
}
// PanelImplementer is an interface that implements the methods
// of the Panel class.
type PanelImplementer interface {
ControlImplementer
}