summaryrefslogtreecommitdiff
path: root/sysdata.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-25 00:13:47 -0500
committerPietro Gagliardi <[email protected]>2014-02-25 00:13:47 -0500
commitbfc9f7e339740da57bb9d1e4b4926c6641814cd9 (patch)
treecfb02100c418f722d96988927a3e37af10523353 /sysdata.go
parent7039e1c0257336988696df80efe0fefc0d995340 (diff)
Added portable parts of ProgressBar.
Diffstat (limited to 'sysdata.go')
-rw-r--r--sysdata.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdata.go b/sysdata.go
index 9659a1e..51f1d5e 100644
--- a/sysdata.go
+++ b/sysdata.go
@@ -64,6 +64,9 @@ func (c *cSysData) delete(int) error {
func (c *cSysData) preferredSize() (int, int) {
panic(runtime.GOOS + " sysData does not define preferredSize()")
}
+func (c *cSysData) setProgress(int) {
+ panic(runtime.GOOS + " sysData does not define setProgress()")
+}
// signal sends the event signal. This raise is done asynchronously to avoid deadlocking the UI task.
// Thanks skelterjohn for this techinque: if we can't queue any more events, drop them
@@ -86,6 +89,7 @@ const (
c_lineedit
c_label
c_listbox
+ c_progressbar
nctypes
)