Documentation ¶
Index ¶
- type ImGuiLayer
- func (gui *ImGuiLayer) Begin()
- func (gui *ImGuiLayer) ClipboardText() string
- func (gui *ImGuiLayer) End()
- func (gui *ImGuiLayer) OnAttach()
- func (gui *ImGuiLayer) OnDetach()
- func (gui *ImGuiLayer) OnEvent(e *event.Eventum)
- func (gui *ImGuiLayer) OnImGuiRender()
- func (gui *ImGuiLayer) OnUpdate()
- func (gui *ImGuiLayer) SetClipboardText(text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImGuiLayer ¶
type ImGuiLayer struct {
// contains filtered or unexported fields
}
func NewImGuiLayer ¶
func NewImGuiLayer(win window.Window) *ImGuiLayer
func (*ImGuiLayer) Begin ¶
func (gui *ImGuiLayer) Begin()
func (*ImGuiLayer) ClipboardText ¶
func (gui *ImGuiLayer) ClipboardText() string
ClipboardText returns the current clipboard text, if available.
func (*ImGuiLayer) End ¶
func (gui *ImGuiLayer) End()
func (*ImGuiLayer) OnAttach ¶
func (gui *ImGuiLayer) OnAttach()
func (*ImGuiLayer) OnDetach ¶
func (gui *ImGuiLayer) OnDetach()
func (*ImGuiLayer) OnEvent ¶
func (gui *ImGuiLayer) OnEvent(e *event.Eventum)
func (*ImGuiLayer) OnImGuiRender ¶
func (gui *ImGuiLayer) OnImGuiRender()
func (*ImGuiLayer) OnUpdate ¶
func (gui *ImGuiLayer) OnUpdate()
func (*ImGuiLayer) SetClipboardText ¶
func (gui *ImGuiLayer) SetClipboardText(text string)
SetClipboardText sets the text as the current clipboard text.
Click to show internal directories.
Click to hide internal directories.