mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
exp/textinput: fix comments
This commit is contained in:
parent
8ce6772b59
commit
d6bfca30e2
@ -43,8 +43,6 @@ type State struct {
|
|||||||
// Start returns a channel to send the state repeatedly, and a function to end the text inputting.
|
// Start returns a channel to send the state repeatedly, and a function to end the text inputting.
|
||||||
//
|
//
|
||||||
// Start returns nil and nil if the current environment doesn't support this package.
|
// Start returns nil and nil if the current environment doesn't support this package.
|
||||||
//
|
|
||||||
// (x, y) is in device-independent pixels.
|
|
||||||
func Start(x, y int) (states chan State, close func()) {
|
func Start(x, y int) (states chan State, close func()) {
|
||||||
cx, cy := ui.LogicalPositionToClientPosition(float64(x), float64(y))
|
cx, cy := ui.LogicalPositionToClientPosition(float64(x), float64(y))
|
||||||
return theTextInput.Start(int(cx), int(cy))
|
return theTextInput.Start(int(cx), int(cy))
|
||||||
|
Loading…
Reference in New Issue
Block a user