summaryrefslogtreecommitdiff
path: root/windowRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 06:52:40 -0600
committerJeff Carr <[email protected]>2025-02-22 06:52:40 -0600
commitba514f7827865b8503c50f8a3dde35433798bfb5 (patch)
tree9f0ae185a01d4fc9beb2dbbbe12ee73bc6997a93 /windowRepos.go
parent3d58bc1c327a84f38516bce7da029493cb8beb4a (diff)
better instructions
Diffstat (limited to 'windowRepos.go')
-rw-r--r--windowRepos.go66
1 files changed, 0 insertions, 66 deletions
diff --git a/windowRepos.go b/windowRepos.go
deleted file mode 100644
index a7a3018..0000000
--- a/windowRepos.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
-// Use of this source code is governed by the GPL 3.0
-
-package main
-
-import (
- "go.wit.com/lib/gadgets"
-
- "go.wit.com/gui"
-)
-
-type repoWindow struct {
- win *gadgets.BasicWindow // the window widget itself
- box *gui.Node // notsure
- topbox *gui.Node // the top box of the repolist window
-}
-
-func (r *repoWindow) Hidden() bool {
- if r == nil {
- return true
- }
- if r.win == nil {
- return true
- }
- return r.win.Hidden()
-}
-
-func (r *repoWindow) Show() {
- if r == nil {
- return
- }
- if r.win == nil {
- return
- }
- r.win.Show()
-}
-
-func (r *repoWindow) Hide() {
- if r == nil {
- return
- }
- if r.win == nil {
- return
- }
- r.win.Hide()
-}
-
-func (r *repoWindow) Disable() {
- if r == nil {
- return
- }
- if r.box == nil {
- return
- }
- r.box.Disable()
-}
-
-func (r *repoWindow) Enable() {
- if r == nil {
- return
- }
- if r.box == nil {
- return
- }
- r.box.Enable()
-}