Mercurial > hg > easaier-soundaccess
comparison layer/IntervalLayer.cpp @ 125:66af7c1b10d9
(none)
author | ivand_qmul |
---|---|
date | Mon, 22 Oct 2007 13:59:27 +0000 |
parents | d8e6709e9075 |
children |
comparison
equal
deleted
inserted
replaced
124:e795e4065870 | 125:66af7c1b10d9 |
---|---|
235 drawEnd = true; | 235 drawEnd = true; |
236 else | 236 else |
237 xE = x1; | 237 xE = x1; |
238 draw = drawText = drawStart = true; | 238 draw = drawText = drawStart = true; |
239 } | 239 } |
240 else if (ti->end() > frame0 && ti->end <= frame1) | 240 else if (ti->end() > frame0 && ti->end() <= frame1) |
241 { | 241 { |
242 xS = v->getXForFrame(ti->start()); | 242 xS = v->getXForFrame(ti->start()); |
243 if (xS < x0) | 243 if (xS < x0) |
244 xS = x0; | 244 xS = x0; |
245 xE = v->getXForFrame(ti->end()); | 245 xE = v->getXForFrame(ti->end()); |
246 draw = drawEnd = true; | 246 draw = drawEnd = true; |
247 } | 247 } |
248 else if (ti->start <= frame0 && ti->end >= frame1) | 248 else if (ti->start() <= frame0 && ti->end() >= frame1) |
249 { | 249 { |
250 xS = x0; | 250 xS = x0; |
251 xE = x1; | 251 xE = x1; |
252 draw = true; | 252 draw = true; |
253 } | 253 } |