boolean SessionRep::check(Event& e) { DisplayList& list = *displays_; long n = list.count(); for (long i = 0; i < n; i++) { Display* d = list.item(i); if (d->get(e)) { return true; } } return false; }
/** Shows this dialog on the given display. @param display display to show the dialog onto. @return true on success. */ bool show(Display &display) { return al_show_native_file_dialog(display.get(), get()); }