Skip to content

Commit

Permalink
Remove printfs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfranx committed Jul 12, 2020
1 parent 6779a01 commit 0fa7105
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/SHADERed/Objects/ThemeContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ namespace ed {
"FunctionArgument"
};

printf("test1\n");

INIReader ini(filename);
if (ini.ParseError() != 0) {
Logger::Get().Log("Failed to parse a theme from file " + filename, true);
Expand All @@ -138,25 +136,18 @@ namespace ed {
std::string editorTheme = ini.Get("general", "editor", "Dark");
int version = ini.GetInteger("general", "version", 1);

printf("test2\n");

CustomColors& custom = m_custom[name];
ImGuiStyle& style = m_ui[name];
ImGuiStyle& defaultStyle = ImGui::GetStyle();
TextEditor::Palette& palette = m_editor[name];

printf("test3\n");

for (int i = 0; i < ImGuiCol_COUNT; i++) {
std::string clr = ini.Get("colors", ColorNames[i], "0");

if (clr == "0")
style.Colors[(ImGuiCol_)i] = defaultStyle.Colors[(ImGuiCol_)i];
else
style.Colors[(ImGuiCol_)i] = m_parseColor(clr);

printf("%d %s\n", i, ColorNames[i].c_str());

}
custom.ComputePass = m_loadColor(ini, "ComputePass");
custom.ErrorMessage = m_loadColor(ini, "OutputError");
Expand Down

0 comments on commit 0fa7105

Please sign in to comment.