message

package
v0.0.0-...-6ef2821 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BackGround1 color.Color = color.RGBA{54, 92, 181, 255}
	BackGround2 color.Color = color.RGBA{30, 138, 52, 255}
)

Functions

This section is empty.

Types

type Message

type Message struct {
	Text      string
	Username  string
	Container *fyne.Container
	IsMe      bool

	Tick1 *widget.Icon
	Tick2 *widget.Icon
	// contains filtered or unexported fields
}

func NewMessage

func NewMessage(username string, text string, isMe bool, time time.Time) *Message

func (*Message) MakeContainer

func (m *Message) MakeContainer()

func (*Message) UpdateBgColor

func (m *Message) UpdateBgColor()

Jump to

Keyboard shortcuts

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