Cleaned up project settings window.cpp
This commit is contained in:
@@ -223,56 +223,6 @@ void ProjectSettingsModuleWindow::Draw()
|
||||
ImGui::Text(settingName);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto [id, func] : meta.func())
|
||||
{
|
||||
auto propDisplayName = func.prop(HashedName::DisplayName);
|
||||
|
||||
if (propDisplayName)
|
||||
{
|
||||
auto propVal = propDisplayName.value();
|
||||
const char* settingName = *propVal.try_cast<const char*>();
|
||||
|
||||
ImGui::Text(settingName);
|
||||
}
|
||||
|
||||
|
||||
// Setting
|
||||
//std::string funcName = "UnknownFunc";
|
||||
//if (propDisplayName)
|
||||
//{
|
||||
// funcName = std::string(*propDisplayName.value().try_cast<const char*>());
|
||||
//}
|
||||
//
|
||||
//std::string msg = std::string(returnType) + " " + std::string(funcName) + "(";
|
||||
//std::vector<std::string_view> args;
|
||||
//
|
||||
//if (func.arity() > 0)
|
||||
//{
|
||||
// auto propArgsName = func.prop(HashedName::ArgsName);
|
||||
// if (propArgsName)
|
||||
// {
|
||||
// std::vector<std::string> argsName = *propArgsName.value().try_cast<std::vector<std::string>>();
|
||||
// for (int i = 0; i < func.arity(); i++)
|
||||
// {
|
||||
// const std::string argType = std::string(func.arg(i).info().name());
|
||||
// args.push_back(argType);
|
||||
//
|
||||
// msg += argType + " " + argsName[i];
|
||||
//
|
||||
// if (i < func.arity() - 1)
|
||||
// {
|
||||
// msg += ", ";
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//
|
||||
//msg += ")";
|
||||
//
|
||||
//Logger::Log(msg, "", VERBOSE);
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectSettingsCategoryAudio::Draw()
|
||||
|
||||
Reference in New Issue
Block a user