#pragma once #include "app.hpp" #include #include namespace rack { #ifdef ARCH_MAC #define MOD_KEY_NAME "Cmd" #else #define MOD_KEY_NAME "Ctrl" #endif extern GLFWwindow *gWindow; extern NVGcontext *gVg; extern std::shared_ptr gGuiFont; extern float gPixelRatio; extern bool gAllowCursorLock; void guiInit(); void guiDestroy(); void guiRun(); void guiClose(); void guiCursorLock(); void guiCursorUnlock(); bool guiIsModPressed(); bool guiIsShiftPressed(); } // namespace rack