newList creates and returns a pointer to a new list panel with the specified orientation and dimensions
(vert bool, width, height float32)
| 67 | // newList creates and returns a pointer to a new list panel |
| 68 | // with the specified orientation and dimensions |
| 69 | func newList(vert bool, width, height float32) *List { |
| 70 | |
| 71 | li := new(List) |
| 72 | li.initialize(vert, width, height) |
| 73 | return li |
| 74 | } |
| 75 | |
| 76 | func (li *List) initialize(vert bool, width, height float32) { |
| 77 |
no test coverage detected