sdlimgui

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: GPL-3.0, GPL-3.0 Imports: 73 Imported by: 0

Documentation

Overview

This file is part of Gopher2600.

Gopher2600 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Gopher2600 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Gopher2600. If not, see <https://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SdlImgui

type SdlImgui struct {
	// contains filtered or unexported fields
}

SdlImgui is an sdl based visualiser using imgui.

func NewSdlImgui

func NewSdlImgui(e emulation.Emulation) (*SdlImgui, error)

NewSdlImgui is the preferred method of initialisation for type SdlImgui

MUST ONLY be called from the gui thread.

func (*SdlImgui) Destroy

func (img *SdlImgui) Destroy(output io.Writer)

Destroy implements GuiCreator interface

MUST ONLY be called from the gui thread.

func (*SdlImgui) GetReflectionRenderer added in v0.2.1

func (img *SdlImgui) GetReflectionRenderer() reflection.Renderer

GetReflectionRenderer implements reflection.Broker interface.

func (*SdlImgui) GetTerminal

func (img *SdlImgui) GetTerminal() terminal.Terminal

GetTerminal implements terminal.Broker interface.

func (*SdlImgui) Service

func (img *SdlImgui) Service()

Service implements GuiCreator interface.

func (*SdlImgui) SetFeature

func (img *SdlImgui) SetFeature(request gui.FeatureReq, args ...gui.FeatureReqData) error

SetFeature implements gui.GUI interface.

Directories

Path Synopsis
Package framebuffer provides a convenient way of working with OpenGL framebuffers.
Package framebuffer provides a convenient way of working with OpenGL framebuffers.
Package lazyvalues is the method used by sdlimgui to read emulator data from the GUI thread.
Package lazyvalues is the method used by sdlimgui to read emulator data from the GUI thread.
Package shaders contains the shader source for displaying GUI elements on the screen.
Package shaders contains the shader source for displaying GUI elements on the screen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL