view

package
v0.0.0-...-1744778 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenSelectView int = iota
	OpenPatientView
)

Variables

View Source
var ViewEventChan chan int = make(chan int, 10)

Functions

This section is empty.

Types

type PatientEntries

type PatientEntries []PatientEntry

func (PatientEntries) Len

func (pe PatientEntries) Len() int

Len returns number of entries in the list. Part of fuzzy.Source interface

func (PatientEntries) String

func (pe PatientEntries) String(i int) string

String returns search string for the specific entry. Part of fuzzy.Source interface

type PatientEntry

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

type PatientView

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

func NewPatientView

func NewPatientView(t *material.Theme) *PatientView

func (*PatientView) Layout

func (pv *PatientView) Layout(gtx layout.Context) layout.Dimensions

type SelectView

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

func NewSelectView

func NewSelectView(theme *material.Theme) *SelectView

NewSelectView creates a new select view object

func (*SelectView) Layout

func (m *SelectView) Layout(gtx layout.Context) layout.Dimensions

func (*SelectView) ReloadPatientList

func (m *SelectView) ReloadPatientList() error

type View

type View interface {
	Layout(gtx layout.Context) layout.Dimensions
}

Jump to

Keyboard shortcuts

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