From 1cf4908a23dc5537be0bab1089ffcaa7079d5434 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 3 Oct 2021 08:27:08 -0400 Subject: implement most of device features --- source/code.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/code.cpp') diff --git a/source/code.cpp b/source/code.cpp index e53165c..2f10b90 100644 --- a/source/code.cpp +++ b/source/code.cpp @@ -24,12 +24,12 @@ #include #include -extern std::string tempFileName; extern stmdsp::device *m_device; extern void log(const std::string& str); TextEditor editor; // file.cpp +std::string tempFileName; // device.cpp static std::string editorCompiled; static std::string newTempFileName(); @@ -57,8 +57,6 @@ void codeRenderToolbar() { if (ImGui::Button("Compile")) compileEditorCode(); - ImGui::SameLine(); - ImGui::Button("Upload"); } void codeRenderWidgets() -- cgit v1.2.3