| 785 | } |
| 786 | |
| 787 | void draw_all(u16 window_width, u16 window_height) |
| 788 | { |
| 789 | #if CROWN_DEBUG |
| 790 | _lines->reset(); |
| 791 | |
| 792 | ListNode *cur; |
| 793 | list_for_each(cur, &_graphs) |
| 794 | { |
| 795 | Graph *graph = (Graph *)container_of(cur, Graph, _node); |
| 796 | graph->draw(*_lines, window_width, window_height); |
| 797 | } |
| 798 | #else |
| 799 | CE_UNUSED_2(window_width, window_height); |
| 800 | CE_NOOP(); |
| 801 | #endif |
| 802 | } |
| 803 | |
| 804 | } // namespace graph_globals |
| 805 |