| 100 | |
| 101 | |
| 102 | static void |
| 103 | DisplaySimGraph(ClientData clientData) |
| 104 | { |
| 105 | SimGraph *graph = (SimGraph *) clientData; |
| 106 | Tk_Window tkwin = graph->tkwin; |
| 107 | Pixmap pm = None; |
| 108 | Drawable d; |
| 109 | |
| 110 | graph->flags &= ~VIEW_REDRAW_PENDING; |
| 111 | |
| 112 | //fprintf(stderr, "DisplaySimGraph token %d\n", graph->draw_graph_token); |
| 113 | |
| 114 | assert(graph->draw_graph_token != 0); |
| 115 | |
| 116 | if (graph->draw_graph_token != 0) { |
| 117 | // Tk_DeleteTimerHandler(graph->draw_graph_token); |
| 118 | graph->draw_graph_token = 0; |
| 119 | } |
| 120 | |
| 121 | if (graph->visible && (tkwin != NULL) && Tk_IsMapped(tkwin)) { |
| 122 | DoUpdateGraph(graph); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | |
| 127 | void |
nothing calls this directly
no outgoing calls
no test coverage detected