sdlimgui

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: GPL-3.0, GPL-3.0 Imports: 49 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 HmoveMargin = 16

the amount to adjust the pixel view to account for the HMOVE margin.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preferences added in v0.7.1

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

type SdlImgui

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

SdlImgui is an sdl based visualiser using imgui.

func NewSdlImgui

func NewSdlImgui(tv *television.Television, playmode bool) (*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) GetFeature added in v0.7.1

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

GetFeature implements gui.GUI interface.

func (*SdlImgui) GetReflectionRenderer added in v0.2.1

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

GetReflectionRendere 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.

func (*SdlImgui) SetFeatureNoError added in v0.7.1

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

SetFeatureNoError implements gui.GUI interface.

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

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