Overview
Comment: | initial imgui api ideas |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bc1a46b4d9b6dbb953fd5a23a99f7885 |
User & Date: | spaskalev on 2015-09-09 22:22:37 |
Other Links: | manifest | tags |
Context
2015-09-22
| ||
06:54 | added design notes for imgui check-in: 4d1ed64397 user: spaskalev tags: trunk | |
2015-09-09
| ||
22:22 | initial imgui api ideas check-in: bc1a46b4d9 user: spaskalev tags: trunk | |
2015-04-06
| ||
19:20 | sync tbd check-in: 87e5dc43ff user: spaskalev tags: trunk | |
Changes
Added src/0dev.org/imgui/imgui.go version [8340e5f08a].
> > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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. Next(Point) Point } // Groups UI drawing routines type Canvas interface { Layout // Draws a string Label(string) //Button() //TextArea() } |