view

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COVCol0CharName = iota
	COVCol1Ticker
	COVCol2ISK
	COVCol3Balance
	COVNumCols
)
View Source
const (
	CTRT0Status = iota
	CTRT1Avail
	CTRT2Items
	CTRT3Price
	CTRT4IssuedTS
	CTRT5CCompTS
	CTRT6Info
	CTRT7Location
)
View Source
const (
	CTRDTCol0Name = iota
	CTRDTCol1Quantity
	CTRDTCol2Value
	CTRDTCol4TotalValue
)
View Source
const (
	InduT0Status = iota
	InduT1Runs
	InduT2Activity
	InduT3Blueprint
	InduT4Facility
	InduT5Installer
	InduT6InstallDate
	InduT7EndDate
)
View Source
const (
	PERIOD_LAST_7_DAYS  = "last 7 days"
	PERIOD_LAST_30_DAYS = "last 30 days"
	PERIOD_LAST_60_DAYS = "last 60 days"
	PERIOD_LAST_90_DAYS = "last 90 days"
	PERIOD_THIS_MONTH   = "this month"
	PERIOD_LAST_MONTH   = "last month"
	PERIOD_THIS_YEAR    = "this year"
	FILTER_SIGN_PLUS    = "income"
	FILTER_SIGN_MINUS   = "expenses"
	FILTER_SIGN_ALL     = "all transactions"
)
View Source
const (
	KMDTCol0AltName = iota
	KMDTCol1TS
	KMDTCol2KValue
	KMDTCol3KLink
)
View Source
const (
	MDTCol0AltName = iota
	MDTCol1ObserverName
	MDTCol2DateString
	MDTCol3OreTypeStr
	MDTCol4OreAmount
	MDTCol5OreVolume
	MDTCol6IskValue
)
View Source
const (
	GROUP_SEL_CHAR = "Group By Char"
	GROUP_SEL_CORP = "Group By Corp"
	GRUP_SEL_ALLY  = "Group by Alliance"
)

Variables

This section is empty.

Functions

func IsImperium

func IsImperium(allianceID int) (retval bool)

func NewCTRTable

func NewCTRTable(gui *OmipGui, fullList []*model.DBContract, char *ctrl.EsiChar, isCorp bool) *ctrGuiTable

func NewCharTable

func NewCharTable(ctrlObj *ctrl.Ctrl, gui *OmipGui) *charGuiTable

func NewCorpTable

func NewCorpTable(ctrlObj *ctrl.Ctrl, gui *OmipGui) *charGuiTable

func NewCtrDT

func NewCtrDT(ctrl *ctrl.Ctrl) *ctrDetailTable

NewCtrDT Contract Detail Table

func NewInduTable

func NewInduTable(ctrl *ctrl.Ctrl, fullList []*model.DBJob) *induGuiTable

func NewKMDT

func NewKMDT(ctrl *ctrl.Ctrl) *kmDetailTable

func NewMDT added in v1.0.11

func NewMDT(ctrl *ctrl.Ctrl) *miningDetailTable

func NewMonthlyTable

func NewMonthlyTable(ctrl *ctrl.Ctrl, fullList *model.MonthlyTable, maxMonth int, filterMillions bool) *monthlyGuiTable

Types

type OmipGui

type OmipGui struct {
	Ctrl        *ctrl.Ctrl
	AppPtr      fyne.App
	WindowPtr   fyne.Window
	Progress    *widget.ProgressBar
	TabPtr      *container.AppTabs
	CharTabPtr  *container.DocTabs
	CorpTabPtr  *container.DocTabs
	NotifyEntry *widget.Entry
	NotifyText  string
	Version     string
}

func NewOmipGui

func NewOmipGui(ctrl *ctrl.Ctrl, app fyne.App, debug bool, version string) *OmipGui

func (*OmipGui) AddCharTab

func (obj *OmipGui) AddCharTab(char *ctrl.EsiChar) *container.TabItem

func (*OmipGui) AddCorpTab

func (obj *OmipGui) AddCorpTab(corp *ctrl.EsiCorp, director *ctrl.EsiChar) *container.TabItem

func (*OmipGui) AddEsiKey

func (obj *OmipGui) AddEsiKey(char *ctrl.EsiChar)

func (*OmipGui) AddLogEntry

func (obj *OmipGui) AddLogEntry(newEntry string)

func (*OmipGui) CorpUpdate

func (obj *OmipGui) CorpUpdate()

func (*OmipGui) CreateCharDebugTab

func (obj *OmipGui) CreateCharDebugTab(localchar *ctrl.EsiChar) fyne.CanvasObject

func (*OmipGui) CreateCharGui

func (obj *OmipGui) CreateCharGui(char *ctrl.EsiChar, isTab bool) fyne.CanvasObject

func (*OmipGui) CreateCorpDebugTab

func (obj *OmipGui) CreateCorpDebugTab(director *ctrl.EsiChar, corp *ctrl.EsiCorp) fyne.CanvasObject

func (*OmipGui) CreateCorpGui

func (obj *OmipGui) CreateCorpGui(corp *ctrl.EsiCorp, director *ctrl.EsiChar, isTab bool) fyne.CanvasObject

func (*OmipGui) CreateOverViewTable

func (obj *OmipGui) CreateOverViewTable(char *ctrl.EsiChar, corp bool) (fyne.CanvasObject, []*RefbutList)

func (*OmipGui) GetMaxPricedItem

func (obj *OmipGui) GetMaxPricedItem(items []*model.DBContrItem) (retval string)

func (*OmipGui) UpdateAllData

func (obj *OmipGui) UpdateAllData()

func (*OmipGui) UpdateGui

func (obj *OmipGui) UpdateGui()

type RefbutList

type RefbutList struct {
	RefID     string
	RefButton *widget.Button
}

type WindowList

type WindowList struct {
	Title string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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