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
- type SdlImgui
- func (img *SdlImgui) Destroy(output io.Writer)
- func (img *SdlImgui) GetFeature(request gui.FeatureReq) (gui.FeatureReqData, error)
- func (img *SdlImgui) GetReflectionRenderer() reflection.Renderer
- func (img *SdlImgui) GetTerminal() terminal.Terminal
- func (img *SdlImgui) Service()
- func (img *SdlImgui) SetFeature(request gui.FeatureReq, args ...gui.FeatureReqData) error
- func (img *SdlImgui) SetFeatureNoError(request gui.FeatureReq, args ...gui.FeatureReqData)
Constants ¶
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 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 ¶
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 ¶
GetTerminal implements terminal.Broker 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.
Source Files ¶
- colors.go
- glsl.go
- imgui_helpers.go
- imgui_palette.go
- imgui_sequence.go
- imgui_textinput.go
- keyboard.go
- manager.go
- manager_menu.go
- modal_plusrom_nick.go
- platform.go
- polling.go
- preferences.go
- requests.go
- screen.go
- sdlimgui.go
- service.go
- terminal.go
- win_audio.go
- win_cart_cdf.go
- win_cart_dpc.go
- win_cart_dpcplus.go
- win_cart_ram.go
- win_cart_static.go
- win_cart_supercharger.go
- win_cart_tape.go
- win_chip_registers.go
- win_collisions.go
- win_control.go
- win_controllers.go
- win_coproc_lastexecution.go
- win_cpu.go
- win_crt_prefs.go
- win_dbgscr.go
- win_disasm.go
- win_log.go
- win_playscr.go
- win_playscr_fps.go
- win_plusrom_network.go
- win_plusrom_prefs.go
- win_prefs.go
- win_ram.go
- win_rom_select.go
- win_savekey_eeprom.go
- win_savekey_i2c.go
- win_terminal.go
- win_tia.go
- win_tia_ball.go
- win_tia_missile.go
- win_tia_player.go
- win_tia_playfield.go
- win_timer.go
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. |