Init appId.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-26 18:06:57 +03:00
parent 9edc1a39db
commit a1daf20d0f
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@ dx_iface::dx_iface(const std::string &file, VarMeasurement varMeasurement, VarIn
InitLTypes();
InitLayers();
InitTextstyles();
InitAppId();
}
dx_iface::~dx_iface()
@ -252,6 +253,13 @@ void dx_iface::InitTextstyles()
cData.textStyles.push_back(style);
}
void dx_iface::InitAppId()
{
DRW_AppId ai;
ai.name ="Valentina";
cData.appIds.push_back(ai);
}
void dx_iface::AddEntity(DRW_Entity *e)
{
cData.mBlock->ent.push_back(e);

View File

@ -94,6 +94,7 @@ public:
void InitLTypes();
void InitLayers();
void InitTextstyles();
void InitAppId();
void AddEntity(DRW_Entity* e);