equal
deleted
inserted
replaced
258 } |
258 } |
259 |
259 |
260 void DeleteWindowById(WindowClass cls, WindowNumber number) |
260 void DeleteWindowById(WindowClass cls, WindowNumber number) |
261 { |
261 { |
262 DeleteWindow(FindWindowById(cls, number)); |
262 DeleteWindow(FindWindowById(cls, number)); |
|
263 } |
|
264 |
|
265 void DeleteWindowByClass(WindowClass cls) |
|
266 { |
|
267 Window *w; |
|
268 for (w = _windows; w != _last_window;) { |
|
269 if (w->window_class == cls) { |
|
270 DeleteWindow(w); |
|
271 w = _windows; |
|
272 } else |
|
273 w++; |
|
274 } |
263 } |
275 } |
264 |
276 |
265 Window *BringWindowToFrontById(WindowClass cls, WindowNumber number) |
277 Window *BringWindowToFrontById(WindowClass cls, WindowNumber number) |
266 { |
278 { |
267 Window *w = FindWindowById(cls, number); |
279 Window *w = FindWindowById(cls, number); |