sdlimgui

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: GPL-3.0, GPL-3.0 Imports: 81 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

View Source
const (
	LongDisasmWindow = 20
)

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(dbg *debugger.Debugger) (*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()

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.

Source Files

Directories

Path Synopsis
Package caching is used for copying gopher2600 data so it can be used by the GUI goroutine safely.
Package caching is used for copying gopher2600 data so it can be used by the GUI goroutine safely.
Package framebuffer provides a convenient way of working with OpenGL framebuffers.
Package framebuffer provides a convenient way of working with OpenGL framebuffers.
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