Skip to content

File ParamControl.cpp

File List > layer > ParamControl.cpp

Go to the documentation of this file

#include "ParamControl.h"

ParamControl::ParamControl()
{

}

ParamControl::ParamControl(const std::string& name)
{
    uly_name = name;
    uly_type = PARAS_UILAYER;
}


ParamControl::~ParamControl()
{

}

void ParamControl::RenderLayer(const Context& ctx, EventPool& evt)
{
    for (const auto& item : item_list) {
        uly_show_type ? item->EnableTagName() : item->DisableTagName();
        item->RenderItem();
    }
}