Versions in this module Expand all Collapse all v0 v0.5.0 Aug 27, 2019 Changes in this version + const TabActions + const TabAdvance + const TabBriefing + const TabFormation + const TabMap + const TabOrders + const TabSurrender + const TabUnits + const TabWithdraw + func Show(app fyne.App, servername string, l *rp.LoginResponse, conn *grpc.ClientConn, ...) + type ActionsPanel struct + Actions []*actionWidget + Box *fyne.Container + Header *widget.Label + Scroll *widget.ScrollContainer + func (a *ActionsPanel) CanvasObject() fyne.CanvasObject + type AdvancePanel struct + Box *fyne.Container + Header *widget.Label + Notes *widget.Label + func (a *AdvancePanel) CanvasObject() fyne.CanvasObject + type App struct + Briefing string + Commanders []string + Commands []*rp.Command + Enemy []*rp.Command + Expires time.Time + GameName string + GameTime time.Time + MapData *rp.MapData + Phase string + ServerName string + TeamName string + Token rp.TokenMessage + func (a *App) GetMap() error + func (a *App) GetUnitCommander(unitID int32) *rp.Command + func (a *App) GetUnits() error + func (a *App) MinSize() fyne.Size + func (a *App) Phaser() + func (a *App) PlayAudio(tune string) + func (a *App) PlaySystemAudio(name string) + func (a *App) Tab(tab int) + func (a *App) ToggleTheme() + type BriefingPanel struct + Box *widget.Box + Header *widget.Label + Notes *widget.Label + Scroll *widget.ScrollContainer + func (b *BriefingPanel) CanvasObject() fyne.CanvasObject + type FooterBar struct + Box *widget.Box + Done bool + DoneBtn *widget.Button + PhaseLabel *widget.Label + StopWatch *widget.Label + func (f *FooterBar) CanvasObject() fyne.CanvasObject + func (f *FooterBar) NotDone() + func (f *FooterBar) ToggleDone() + type FormationsPanel struct + Box *widget.Box + Scroll *widget.ScrollContainer + func (f *FormationsPanel) CanvasObject() fyne.CanvasObject + type HeaderBar struct + Box *widget.Box + GameName *widget.Label + GameTime *widget.Label + TeamName *widget.Label + Toolbar *widget.Toolbar + func (h *HeaderBar) CanvasObject() fyne.CanvasObject + func (h *HeaderBar) Recalc() *HeaderBar + type MapPanel struct + func (m *MapPanel) CanvasObject() fyne.CanvasObject + func (m *MapPanel) SetCommand(cmd *rp.Command) + func (m *MapPanel) Tap(x, y int32) + type MapWidget struct + func (mw *MapWidget) ApplyTheme() + func (mw *MapWidget) CommandsUpdated(data fyne.DataMap) + func (mw *MapWidget) CreateRenderer() fyne.WidgetRenderer + func (mw *MapWidget) Hide() + func (mw *MapWidget) MinSize() fyne.Size + func (mw *MapWidget) Move(pos fyne.Position) + func (mw *MapWidget) Position() fyne.Position + func (mw *MapWidget) Resize(size fyne.Size) + func (mw *MapWidget) Select(id int32) (*rp.Command, bool) + func (mw *MapWidget) SetCommands() + func (mw *MapWidget) Show() + func (mw *MapWidget) Size() fyne.Size + func (mw *MapWidget) Tapped(event *fyne.PointEvent) + func (mw *MapWidget) TappedSecondary(event *fyne.PointEvent) + func (mw *MapWidget) Visible() bool + type OrdersPanel struct + Box *fyne.Container + Scroll *widget.ScrollContainer + func (o *OrdersPanel) CanvasObject() fyne.CanvasObject + type PlotWidget struct + func (p *PlotWidget) AddSet(data timedata) + func (p *PlotWidget) ApplyTheme() + func (p *PlotWidget) Clear() + func (p *PlotWidget) CreateRenderer() fyne.WidgetRenderer + func (p *PlotWidget) Hide() + func (p *PlotWidget) MinSize() fyne.Size + func (p *PlotWidget) Move(pos fyne.Position) + func (p *PlotWidget) Position() fyne.Position + func (p *PlotWidget) Resize(size fyne.Size) + func (p *PlotWidget) Show() + func (p *PlotWidget) Size() fyne.Size + func (p *PlotWidget) Visible() bool + type SurrenderPanel struct + Box *fyne.Container + Header *widget.Label + Notes *widget.Label + func (s *SurrenderPanel) CanvasObject() fyne.CanvasObject + type TapIcon struct + OnSecondary func() + OnTapped func() + func NewTapIcon(res fyne.Resource, tapped func(), secondary func()) *TapIcon + func (l *TapIcon) CreateRenderer() fyne.WidgetRenderer + func (l *TapIcon) Disable() + func (l *TapIcon) Enable() + func (l *TapIcon) Tapped(*fyne.PointEvent) + func (l *TapIcon) TappedSecondary(*fyne.PointEvent) + type TapLabel struct + OnSecondary func() + OnTapped func() + func NewTapLabel(text string, alignment fyne.TextAlign, style fyne.TextStyle, tapped func(), ...) *TapLabel + func (l *TapLabel) CreateRenderer() fyne.WidgetRenderer + func (l *TapLabel) Tapped(*fyne.PointEvent) + func (l *TapLabel) TappedSecondary(*fyne.PointEvent) + type TapRect struct + OnSecondary func() + OnTapped func() + func NewTapRect(c color.Color, tapped func(), secondary func()) *TapRect + func (l *TapRect) CreateRenderer() fyne.WidgetRenderer + func (l *TapRect) Tapped(*fyne.PointEvent) + func (l *TapRect) TappedSecondary(*fyne.PointEvent) + type UnitCommand struct + func (u *UnitCommand) CanvasObject() fyne.CanvasObject + func (u *UnitCommand) Populate(command *rp.Command) + type UnitDetails struct + func (u *UnitDetails) CanvasObject() fyne.CanvasObject + func (u *UnitDetails) Populate(unit *rp.Unit) + type UnitOverview struct + func (u *UnitOverview) CanvasObject() fyne.CanvasObject + type UnitsPanel struct + Command *UnitCommand + Details *UnitDetails + Overview *UnitOverview + Tabs *widget.TabContainer + func (u *UnitsPanel) CanvasObject() fyne.CanvasObject + func (u *UnitsPanel) ShowCommand(command *rp.Command) + func (u *UnitsPanel) ShowUnit(unit *rp.Unit) + type WithdrawPanel struct + Box *fyne.Container + Header *widget.Label + Notes *widget.Label + func (w *WithdrawPanel) CanvasObject() fyne.CanvasObject