widget

package
v0.0.0-...-60c8330 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaxSampleCount = 50000
	DefaultAxisXLimitMax  = 30
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Plot

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

func NewPlot

func NewPlot() *Plot

func (*Plot) EditDataPlotList

func (p *Plot) EditDataPlotList(fn func(*list.List[*SubPlot]))

func (*Plot) View

func (p *Plot) View()

type SpectrogramPlot

type SpectrogramPlot struct {
	imguiw.PlotWidget
	// contains filtered or unexported fields
}

func GetSpectrogramPlot

func GetSpectrogramPlot() *SpectrogramPlot

싱글톤

func (*SpectrogramPlot) EventHandler

func (sp *SpectrogramPlot) EventHandler(eventArgs any)

func (*SpectrogramPlot) IsDisposed

func (sp *SpectrogramPlot) IsDisposed() bool

func (*SpectrogramPlot) Plot

func (sp *SpectrogramPlot) Plot()

func (*SpectrogramPlot) PlotSetup

func (sp *SpectrogramPlot) PlotSetup(args imguiw.PlotSetupArgs)

func (*SpectrogramPlot) Title

func (sp *SpectrogramPlot) Title() string

func (*SpectrogramPlot) UpdateData

func (sp *SpectrogramPlot) UpdateData()

현재 오디오 스트림에서 데이터 업데이트

type SubPlot

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

func NewSubPlot

func NewSubPlot(dataPlot imguiw.PlotWidget) *SubPlot

type WaveformPlot

type WaveformPlot struct {
	imguiw.PlotWidget
	// contains filtered or unexported fields
}

func GetWaveformPlot

func GetWaveformPlot() *WaveformPlot

싱글톤

func (*WaveformPlot) EventHandler

func (wp *WaveformPlot) EventHandler(eventArgs any)

func (*WaveformPlot) IsDisposed

func (wp *WaveformPlot) IsDisposed() bool

func (*WaveformPlot) Plot

func (wp *WaveformPlot) Plot()

func (*WaveformPlot) PlotSetup

func (wp *WaveformPlot) PlotSetup(args imguiw.PlotSetupArgs)

func (*WaveformPlot) Title

func (wp *WaveformPlot) Title() string

func (*WaveformPlot) UpdateData

func (wp *WaveformPlot) UpdateData()

현재 오디오 스트림에서 데이터 업데이트

Jump to

Keyboard shortcuts

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