gui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gui provides the GUI for the IFF Master application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHexTableView

func NewHexTableView(appData *AppData) *widget.Table

NewHexTableView creates a new fyne table for the hexadecimal view.

func NewIsoTableView

func NewIsoTableView(appData *AppData) *widget.Table

NewIsoTableView creates a new fyne table for the ISO-8859-1 view.

func NewListView

func NewListView(appData *AppData) *widget.List

NewListView creates a new fyne list view. It creates a list widget with the chunk ID.

func NewStructTableView

func NewStructTableView(appData *AppData) *widget.Table

NewStructTableView creates a new fyne table for the structure view.

func OpenGUI

func OpenGUI()

OpenGUI layouts the main window and opens it

Types

type AppData

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

type ListEntry

type ListEntry struct {
	*chunks.IFFChunk // Embedding the IFFChunk struct
	// contains filtered or unexported fields
}

ListEntry is a struct to hold the data for the list view. It embeds the IFFChunk struct to hold the chunk data.

func ConvertIFFChunkToListNode

func ConvertIFFChunkToListNode(chunk *chunks.IFFChunk) []ListEntry

ConvertIFFChunkToListNode traverses to a IFF chunk nodes and appends data which is neede for ghe GUI.

Jump to

Keyboard shortcuts

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