timeline: implemented nudging #1692

This commit is contained in:
itsmattkc
2021-07-30 19:17:26 -07:00
parent 01d435d80d
commit 930d8309d3
14 changed files with 195 additions and 37 deletions
+7
View File
@@ -202,6 +202,13 @@ void TimeRangeList::remove(const TimeRange &remove)
util_remove(&array_, remove);
}
void TimeRangeList::remove(const TimeRangeList &list)
{
for (const TimeRange &r : list) {
remove(r);
}
}
bool TimeRangeList::contains(const TimeRange &range, bool in_inclusive, bool out_inclusive) const
{
for (int i=0;i<size();i++) {