You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
447B

  1. #pragma once
  2. #include "app.hpp"
  3. #include <GL/glew.h>
  4. #include <GLFW/glfw3.h>
  5. namespace rack {
  6. #ifdef ARCH_MAC
  7. #define MOD_KEY_NAME "Cmd"
  8. #else
  9. #define MOD_KEY_NAME "Ctrl"
  10. #endif
  11. extern GLFWwindow *gWindow;
  12. extern NVGcontext *gVg;
  13. extern std::shared_ptr<Font> gGuiFont;
  14. extern float gPixelRatio;
  15. void guiInit();
  16. void guiDestroy();
  17. void guiRun();
  18. void guiCursorLock();
  19. void guiCursorUnlock();
  20. bool guiIsModPressed();
  21. } // namespace rack