view

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply_colorlist_style

func Apply_colorlist_style(l *list.Model)
func Apply_footer(e bridge.Event, p bridge.Panel, width int) string

func Apply_helplist_style

func Apply_helplist_style(l *list.Model)

this is basically a copy of the color list, could refactor both

func Get_colormodal_height

func Get_colormodal_height(height int) int

func Get_colormodal_width

func Get_colormodal_width(width int) int

func Get_helpmodal_height

func Get_helpmodal_height(height int) int

func Get_helpmodal_width

func Get_helpmodal_width(width int) int

func Init_group_items

func Init_group_items(groups []bridge.Group) []bridge.Group

couldnt find a better spot for it

func Render_bri_modal

func Render_bri_modal(output, inputView string, valid bool, width, height int) string

func Render_bridge

func Render_bridge(b bridge.Bridge, p bridge.Panel, width, height int) string

func Render_bridge_details

func Render_bridge_details(b bridge.Bridge, width, height int) string

func Render_bridge_panel

func Render_bridge_panel(title string, selected bool, width, height int) string

func Render_bridge_title

func Render_bridge_title(title string, width, height int) string

func Render_color_modal

func Render_color_modal(output, listView string, width, height int) string

func Render_details

func Render_details(b bridge.Bridge, g bridge.Groups, l bridge.Lights, s bridge.Scenes, p bridge.Panel, width, height int) string

func Render_details_panel

func Render_details_panel(elems string, width, height int) string

func Render_group

func Render_group(g bridge.Groups, p bridge.Panel, width, height int) string

func Render_group_details

func Render_group_details(group bridge.Group, width, height int) string

func Render_group_panel

func Render_group_panel(elems []string, selected bool, cursor, width, height int) string

func Render_group_title

func Render_group_title(title string, bri float64, on, selected, isNone bool, width, height int) string

func Render_help_modal

func Render_help_modal(output, listView string, width, height int) string

func Render_light_details

func Render_light_details(l bridge.Light, width, height int) string

func Render_light_panel

func Render_light_panel(elems []string, selected bool, cursor, width, height int) string

func Render_light_title

func Render_light_title(title string, bri float64, on, connected, selected bool, width, height int) string

func Render_lights

func Render_lights(l bridge.Lights, g bridge.Groups, p bridge.Panel, width, height int) string

func Render_loading_text

func Render_loading_text(e bridge.Event) string

func Render_log_panel

func Render_log_panel(elem string, width, height int) string

func Render_log_title

func Render_log_title(elem string, width, height int) string

func Render_scene_details

func Render_scene_details(s bridge.Scene, width, height int) string

func Render_scene_panel

func Render_scene_panel(elems []string, selected bool, cursor, width, height int) string

func Render_scene_title

func Render_scene_title(title string, on, selected bool, width, height int) string

func Render_scenes

func Render_scenes(s bridge.Scenes, p bridge.Panel, width, height int) string

func Render_userpage

func Render_userpage(u bridge.UserPage) string

func Render_userpage_options

func Render_userpage_options(option string, selected bool) string

func Render_userpage_panel

func Render_userpage_panel(title, optQuit, optPress string) string

func Render_userpage_title

func Render_userpage_title(title string) string

func Update_colorlist_size

func Update_colorlist_size(l *list.Model, width, height int)

func Update_helplist_size

func Update_helplist_size(l *list.Model, width, height int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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