cc: expand cc-type with name

Required for internal operations where it is useful to have object
names and for better debugging.
This commit is contained in:
2017-12-30 22:17:48 +01:00
parent 2a2872fcd6
commit fb5c943db4
26 changed files with 120 additions and 49 deletions

View File

@@ -51,7 +51,8 @@ CSignalBar::CSignalBar(const int& xpos, const int& ypos, const int& w, const int
void CSignalBar::initVarSigBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref, const std::string& sbname, CComponentsForm *parent)
{
cc_item_type = CC_ITEMTYPE_FRM_SIGNALBAR;
cc_item_type.id = CC_ITEMTYPE_FRM_SIGNALBAR;
cc_item_type.name = "cc_signal_bar";
corner_rad = 0;
corner_type = 0;