Legend#
Legend#
Constructor#
|
An imgui legend. |
Properties#
height of the window |
|
the items in this legend, in the order they are drawn |
|
location of the window |
|
edge or toolbar thickness in pixels, |
|
width of the window |
|
imgui window flags |
|
canvas x position of the window |
|
canvas y position of the window |
Methods#
|
Add an item to the legend. |
helps simplify using imgui by managing window creation & position, and pushing/popping the ID |
|
|
Remove an item from the legend, it can be added to a legend again later. |
Implement your GUI here and it will be drawn within the window. |