Added the beginning of a keyboard input test to be written. Also more TODOs.
This commit is contained in:
parent
12bc0dc440
commit
4a1d259f5c
File diff suppressed because it is too large
Load Diff
|
@ -139,7 +139,7 @@ func (a *areaHandler) Key(e KeyEvent) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
var doArea = flag.Bool("area", false, "run area test instead")
|
||||
var doArea = flag.Bool("area", false, "run area test instead (overrides -kb)")
|
||||
func areaTest() {
|
||||
/*
|
||||
img := [2]*image.NRGBA{}
|
||||
|
@ -204,6 +204,10 @@ func myMain() {
|
|||
areaTest()
|
||||
return
|
||||
}
|
||||
if *doKeyboard {
|
||||
kbTest()
|
||||
return
|
||||
}
|
||||
w := NewWindow("Main Window", 320, 240)
|
||||
b := NewButton("Click Me")
|
||||
b2 := NewButton("Or Me")
|
||||
|
|
1
todo.md
1
todo.md
|
@ -93,6 +93,7 @@ important things:
|
|||
- do this for the names of GTK+ helper functions (gtkXXX or gXXX)
|
||||
- on windows 7, progress bars seem to animate from 0 -> pos when you turn off marquee mode and set pos; see if that's documented or if I'm doing something wrong
|
||||
- clean up windows struct field names (holdover from when the intent was to make a wrapper lib first and then use it rather than using the windows API directly)
|
||||
- make all widths and heights parameters in constructors in the same place (or drop the ones in Window entirely?)
|
||||
|
||||
far off:
|
||||
- localization
|
||||
|
|
Loading…
Reference in New Issue