Basic GUI client, login dialog, various comments fixes after copypaste.
Some checks failed
Linting and tests / Linting (push) Failing after 6s

This commit is contained in:
2025-09-13 09:23:47 +05:00
parent 91bc3acb08
commit 0c37f46b53
24 changed files with 507 additions and 56 deletions

View File

@@ -0,0 +1,23 @@
package widgets
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/widget"
)
// ToolbarProgressBar is a progressbar widget for toolbar.
type ToolbarProgressBar struct {
*widget.ProgressBar
}
// NewToolbarProgressBarWithBar creates new progressbar for toolbar with provided progressbar.
func NewToolbarProgressBarWithBar(bar *widget.ProgressBar) *ToolbarProgressBar {
return &ToolbarProgressBar{
bar,
}
}
// ToolbarObject returns toolbar item.
func (tl *ToolbarProgressBar) ToolbarObject() fyne.CanvasObject {
return tl
}