More go fmt.

This commit is contained in:
Pietro Gagliardi 2014-06-10 14:59:39 -04:00
parent ad8a90ec7e
commit 1e66637cd2
9 changed files with 96 additions and 104 deletions

View File

@ -4,9 +4,9 @@ package ui
import ( import (
"fmt" "fmt"
"io/ioutil"
"syscall" "syscall"
"unsafe" "unsafe"
"io/ioutil"
) )
// pretty much every constant here except _WM_USER is from commctrl.h, except where noted // pretty much every constant here except _WM_USER is from commctrl.h, except where noted

View File

@ -2,10 +2,6 @@
package ui package ui
import (
// ...
)
// A Control represents an UI control. Note that Control contains unexported members; this has the consequence that you can't build custom controls that interface directly with the system-specific code (fo rinstance, to import an unsupported control), or at least not without some hackery. If you want to make your own controls, create an Area and provide an AreaHandler that does what you need. // A Control represents an UI control. Note that Control contains unexported members; this has the consequence that you can't build custom controls that interface directly with the system-specific code (fo rinstance, to import an unsupported control), or at least not without some hackery. If you want to make your own controls, create an Area and provide an AreaHandler that does what you need.
type Control interface { type Control interface {
make(window *sysData) error make(window *sysData) error

View File

@ -2,10 +2,6 @@
package ui package ui
import (
// ...
)
/* /*
This creates a class goAppDelegate that will be used as the delegate for /everything/. Specifically, it: This creates a class goAppDelegate that will be used as the delegate for /everything/. Specifically, it:
- runs uitask requests (uitask:) - runs uitask requests (uitask:)