Differences From Artifact [8340e5f08a]:
- File src/0dev.org/imgui/imgui.go — part of check-in [bc1a46b4d9] at 2015-09-09 22:22:37 on branch trunk — initial imgui api ideas (user: spaskalev, size: 421) [annotate] [blame] [check-ins using]
To Artifact [6ffb33222b]:
- File src/0dev.org/imgui/imgui.go — part of check-in [1e328bcd88] at 2015-09-22 09:14:47 on branch trunk — imgui design notes additions (user: spaskalev, size: 426) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + |
package imgui
// Defines a point in a top-left coordinate system
type Point struct {
X, Y uint16 // might revisit type for bigger resolutions
}
type Layout interface {
// Advances the layout and returns a starting point
// for an element based on the last ending point.
|
| ︙ |