controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

Package controllers implements Controllers of application Views, their logic and communication between them and Views.

Index

Constants

This section is empty.

Variables

View Source
var (
	//Party is a variable holding list of players and their levels
	Party *models.PartyModel
	//SavedParties is a variable to read the parties saved by the user to a file
	SavedParties *misc.DataFile
)

Functions

func MainWindow

func MainWindow(wv webview.WebView)

MainWindow is a controller function of Main View. It loads a view into existing WebView window

func PartyWindow

func PartyWindow(wv webview.WebView)

PartyWindow is a controller function of Party View. It loads a view into existing WebView window

func UpdateWindow

func UpdateWindow(currentVersion models.AppVersionModel, remoteVersion models.AppVersionModel)

UpdateWindow is a controller function of Update View (dialog). It creates a WebView window

Types

This section is empty.

Jump to

Keyboard shortcuts

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