Documentation ¶
Index ¶
Constants ¶
View Source
const ( PowerOff command = iota PowerOn PowerToggle SetBrightness SetColorTemperature )
PowerOff etc. are valid commands sent via App.ctrlChan, as controlCommand.command
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(ctrl *huecontroller.Controller, selectLight int, selectGroup int, ctrlSingle bool, lightFilter, groupFilter string)
Main is called by cmd/root.go if huego-fe is invoked without command line arguments
Types ¶
type App ¶ added in v0.0.10
type App struct {
// contains filtered or unexported fields
}
App holds a huego-fe GUI instance's state and provides channels for decoupled UI->hueCtrl communication.
type D ¶
type D = layout.Dimensions
D is used as shorthand for layout.Dimensions in layout functions below
Click to show internal directories.
Click to hide internal directories.