adfc

package module
v0.0.0-...-8f2a453 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 8 Imported by: 0

README

adfc

A damn fyne calendar

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCalendar

func NewCalendar(ic *ics.Calendar, focus time.Time, fillColor color.Color) *container.AppTabs

func NewEvent

func NewEvent(e *ics.VEvent, fillColor color.Color) fyne.CanvasObject

Types

type Calendar

type Calendar struct {
	*ics.Calendar
}

type LayoutMode

type LayoutMode uint8
const (
	VerticalMode   LayoutMode = 0
	HorizontalMode LayoutMode = 1
)

type TimeAlignedLayout

type TimeAlignedLayout struct {
	Start    time.Time
	Duration time.Duration
	Mode     LayoutMode // Default Vertical
}

func (*TimeAlignedLayout) Layout

func (tl *TimeAlignedLayout) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)

func (*TimeAlignedLayout) MinSize

func (tl *TimeAlignedLayout) MinSize(objects []fyne.CanvasObject) fyne.Size

type TimeAlignedObject

type TimeAlignedObject struct {
	widget.BaseWidget

	Start    time.Time
	Duration time.Duration
	// contains filtered or unexported fields
}

func NewTimeAlignedObject

func NewTimeAlignedObject(obj fyne.CanvasObject, start time.Time, dur time.Duration) *TimeAlignedObject

func (*TimeAlignedObject) CreateRenderer

func (tlObj *TimeAlignedObject) CreateRenderer() fyne.WidgetRenderer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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