Andrii
Andrii
@LC-Zorg Also don't place it to the right of the graph, place it below, or to the left, or wherever you want, but there is no need to put it...
Ready for review
@2TallTyler, The Manhattan comment is meant to be a description of the dist_min variable on the next line, I didn't want to use `///
@2TallTyler About the keys being open longer then they should, this is how the previous implementation did it, so I didn't want to mess with it, but I find something...
I used the destructor and constructors of the graph windows to count the windows dependent on every graph window Edit: I used the destructors and constructors of the graph window...
So a quick explainer of the pointer "magic": The graph class has 2 types of child instances, both of which depend on different types of the legend window. I could...
@2TallTyler It's not terribly inefficient, but not that good either, your call ```c++ Window *FindWindowById(WindowClass cls, WindowNumber number) { for (Window *w : Window::Iterate()) { if (w->window_class == cls &&...
@stormcone Mb I should try opening the legend window before the graph window, mb that way it will appear on the left and won't be as much of an issue,...
@2TallTyler I just also realized why you might be confused, the `(*some_int_ptr)++` syntax means increment the value the pointer is pointing to, `some_int_ptr++` would increment the pointer wich would move...
The last change one might consider is spawning the legend before the graph window so it appears on the left most of the time