gui

package
v0.0.0-...-2c26ee9 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// POLAR NIGHT
	NORD0 = 0x2e3440 // dark
	NORD1 = 0x3b4252 // brighter dark
	NORD2 = 0x434c5e // brigther brighter dark
	NORD3 = 0x4c566a // birghtest dark

	// SNOW STORM
	NORD4 = 0xd8dee9 // white
	NORD5 = 0xe5e9f0 // brighter white
	NORD6 = 0xeceff4 // brightest white

	// FROST
	NORD7  = 0x8fbcbb // turquoise
	NORD8  = 0x88c0d0 // lightblue
	NORD9  = 0x81a1c1 // semi darkblue
	NORD10 = 0x5e81ac // darkblue

	// AURORA
	NORD11 = 0xbf616a // red
	NORD12 = 0xd08770 // orange
	NORD13 = 0xebcb8b // yellow
	NORD14 = 0xa3be8c // green
	NORD15 = 0xb48ead // purple
)
View Source
const (
	RECEIVED_MESSAGES_TEXT string = `Connected. Use ^n and ^p to cycle through UI elements.`

	EMAIL    string = "client"
	PASSWORD string = "client"

	EMAIL2    string = "server"
	PASSWORD2 string = "server"

	BASE_HEIGHT int = 3
)

Variables

This section is empty.

Functions

func BuildApp

func BuildApp() (a *tview.Application, rp *tview.Pages)

Generates the application and the root primitive to return to main

Types

type ScreenSize

type ScreenSize struct {
	// contains filtered or unexported fields
}

type SendTextAreaParams

type SendTextAreaParams struct {
	// contains filtered or unexported fields
}

func NewSendTextAreaParams

func NewSendTextAreaParams(mwl int) *SendTextAreaParams

Jump to

Keyboard shortcuts

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