Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#include "tln_abstract_event_item.h"
|
||||
#include "tln_abstract_event_factory.h"
|
||||
|
||||
|
||||
namespace Timeline
|
||||
{
|
||||
|
||||
int AbstractEventItem::s_defaultWidth = 12;
|
||||
|
||||
int AbstractEventItem::s_defaultHeight = 18;
|
||||
|
||||
|
||||
AbstractEventItem::AbstractEventItem(
|
||||
AbstractEventFactory *factory, qint64 startTime, int duration, const QJsonObject &properties, const QColor &color, EventType type,const LtsUtils::QPoint3D &position
|
||||
)
|
||||
: LtsTimeline::Item(startTime, duration < -1 ? 0 : duration, color, false) // NOTE: database partially has negative durations, prevent mad mathematical failures here
|
||||
, m_factory(factory)
|
||||
, m_position(position)
|
||||
, m_properties(properties)
|
||||
, m_type(type)
|
||||
{}
|
||||
|
||||
} // namespace Timeline
|
||||
Reference in new issue
Block a user