| 881 | return false; |
| 882 | } |
| 883 | bool Element::IsLocationVisibleInFrames(const LocationInfo location, |
| 884 | const std::vector<LocationInfo> frame_locations) { |
| 885 | std::vector<LocationInfo>::const_iterator iterator = frame_locations.begin(); |
| 886 | for (; iterator != frame_locations.end(); ++iterator) { |
| 887 | if (location.x < iterator->x || |
| 888 | location.y < iterator->y || |
| 889 | location.x > iterator->x + iterator->width || |
| 890 | location.y > iterator->y + iterator->height) { |
| 891 | return false; |
| 892 | } |
| 893 | } |
| 894 | return true; |
| 895 | } |
| 896 | |
| 897 | bool Element::IsSelected() { |
| 898 | LOG(TRACE) << "Entering Element::IsSelected"; |
no test coverage detected