hsmpqexplorer

package
v0.0.0-...-667d129 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package hsmpqexplorer contains an implementation of a MPQ archive explorer, which displays the archive contents as a tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MPQExplorer

type MPQExplorer struct {
	*hstoolwindow.ToolWindow
	// contains filtered or unexported fields
}

MPQExplorer represents a mpq explorer

func Create

func Create(fileSelectedCallback MPQExplorerFileSelectedCallback, config *hsconfig.Config, x, y float32) (*MPQExplorer, error)

Create creates a new explorer

func (*MPQExplorer) Build

func (m *MPQExplorer) Build()

Build builds an explorer

func (*MPQExplorer) GetMpqTreeNodes

func (m *MPQExplorer) GetMpqTreeNodes() []g.Widget

GetMpqTreeNodes returns mpq tree

func (*MPQExplorer) Reset

func (m *MPQExplorer) Reset()

Reset resets the explorer

func (*MPQExplorer) SetProject

func (m *MPQExplorer) SetProject(project *hsproject.Project)

SetProject sets explorer's project

type MPQExplorerFileSelectedCallback

type MPQExplorerFileSelectedCallback func(path *hscommon.PathEntry)

MPQExplorerFileSelectedCallback represents file selected callback

Jump to

Keyboard shortcuts

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