From bfc9f7e339740da57bb9d1e4b4926c6641814cd9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 25 Feb 2014 00:13:47 -0500 Subject: Added portable parts of ProgressBar. --- sysdata.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdata.go') 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 ) -- cgit v1.2.3