mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Common parent class Element for Paint and Mapping, with appropriate QProperties.
This commit is contained in:
@@ -19,8 +19,11 @@
|
||||
|
||||
#include "Element.h"
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
Element::Element(uid id, UidAllocator* allocator) : _name(""), _isLocked(false), _opacity(1.0f), _allocator(allocator)
|
||||
{
|
||||
qDebug() << "Trying to create Element with allocator " << allocator << " and id " << id << endl;
|
||||
if (id == NULL_UID)
|
||||
id = allocator->allocate();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user