abstruct_factory

package
v0.0.0-...-0a33dd6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button interface {
	SetText(text string)
}

type GUIFramework

type GUIFramework interface {
	NewWindows() Windows
	NewButton() Button
}

type MFCButton

type MFCButton struct {
}

func (*MFCButton) SetText

func (M *MFCButton) SetText(text string)

type MFCFramework

type MFCFramework struct {
}

func (*MFCFramework) NewButton

func (M *MFCFramework) NewButton() Button

func (*MFCFramework) NewWindows

func (M *MFCFramework) NewWindows() Windows

type MFCWindows

type MFCWindows struct {
}

func (*MFCWindows) SetButton

func (M *MFCWindows) SetButton(x, y int, btn Button)

func (*MFCWindows) SetHeight

func (M *MFCWindows) SetHeight(h int)

func (*MFCWindows) SetWidth

func (M *MFCWindows) SetWidth(w int)

type QtButton

type QtButton struct {
}

func (*QtButton) SetText

func (q *QtButton) SetText(text string)

type QtFramework

type QtFramework struct {
}

func (*QtFramework) NewButton

func (q *QtFramework) NewButton() Button

func (*QtFramework) NewWindows

func (q *QtFramework) NewWindows() Windows

type QtWindows

type QtWindows struct {
}

func (*QtWindows) SetButton

func (q *QtWindows) SetButton(x, y int, btn Button)

func (*QtWindows) SetHeight

func (q *QtWindows) SetHeight(h int)

func (*QtWindows) SetWidth

func (q *QtWindows) SetWidth(w int)

type Windows

type Windows interface {
	SetWidth(w int)
	SetHeight(h int)
	SetButton(x, y int, btn Button)
}

Jump to

Keyboard shortcuts

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