package editor_cache
import "kaiju/editor/cache/editor_cache"
Constants
CacheFolder
"Kaiju"
MainWindow
"main"
LogWindow
"log"
ContentWindow
"content"
HierarchyWindow
"hierarchy"
Functions
AddProject
func AddProject(project string) error
EditorConfigValue
func EditorConfigValue(key string) (any, bool)
ListProjects
func ListProjects() ([]string, error)
RemoveProject
func RemoveProject(project string) error
SaveWindowCache
func SaveWindowCache() error
SetEditorConfigValue
func SetEditorConfigValue(key string, value any)
SetWindow
func SetWindow(key string, x, y, w, h int, isOpen bool)
WindowWasOpen
func WindowWasOpen(key string) bool
Types
WindowInfo
struct
type WindowInfo struct {
X int
Y int
Width int
Height int
Open bool
}
Window
func Window(key string) (WindowInfo, error)