Skip to content

package content_workspace

import "kaiju/editor/editor_workspace/content_workspace"

Functions

ShouldShowContent

func ShouldShowContent(query, id string, typeFilters, tagFilters []string, cdb *content_database.Cache) bool

Types

ContentAudioView

struct

type ContentAudioView struct {
    // Has unexported fields.
}

ContentWorkspace

struct

type ContentWorkspace struct {
    common_workspace.CommonWorkspace

    // Has unexported fields.
}

ContentWorkspace.Close

func (w *ContentWorkspace) Close()

ContentWorkspace.Hotkeys

func (w *ContentWorkspace) Hotkeys() []common_workspace.HotKey

ContentWorkspace.Initialize

func (w *ContentWorkspace) Initialize(host *engine.Host, editor ContentWorkspaceEditorInterface)

ContentWorkspace.Open

func (w *ContentWorkspace) Open()

ContentWorkspaceEditorInterface

interface

type ContentWorkspaceEditorInterface interface {
    Events() *editor_events.EditorEvents
    ProjectFileSystem() *project_file_system.FileSystem
    Cache() *content_database.Cache
    ShowReferences(id string)
    FocusInterface()
    BlurInterface()
    ViewHtmlUi(id string)
}

WorkspaceUIData

struct

type WorkspaceUIData struct {
    Filters []string
    Tags    []string
}

WorkspaceUIData.SetupUIData

func (w *WorkspaceUIData) SetupUIData(cdb *content_database.Cache) []string