mpqexplorer

package
v0.0.0-...-165de30 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package mpqexplorer 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 FileSelectedCallback

type FileSelectedCallback func(path *common.PathEntry)

FileSelectedCallback represents file selected callback

type MPQExplorer

type MPQExplorer struct {
	*toolwindow.ToolWindowBase
	// contains filtered or unexported fields
}

MPQExplorer represents a mpq explorer

func Create

func Create(fileSelectedCallback FileSelectedCallback, cfg *config.Config, x, y float32) (*MPQExplorer, error)

Create creates a new explorer

func (*MPQExplorer) Build

func (m *MPQExplorer) Build()

Build builds an explorer

func (*MPQExplorer) GetLayout

func (m *MPQExplorer) GetLayout() g.Widget

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

Jump to

Keyboard shortcuts

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