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
462B

  1. #include "app.hpp"
  2. namespace rack {
  3. std::string gApplicationName = "VCV Rack";
  4. std::string gApplicationVersion =
  5. #ifdef VERSION
  6. TOSTRING(VERSION);
  7. #else
  8. "";
  9. #endif
  10. std::string gApiHost = "http://api.vcvrack.com";
  11. RackWidget *gRackWidget = NULL;
  12. Toolbar *gToolbar = NULL;
  13. RackScene *gRackScene = NULL;
  14. void sceneInit() {
  15. gRackScene = new RackScene();
  16. gScene = gRackScene;
  17. }
  18. void sceneDestroy() {
  19. delete gScene;
  20. gScene = NULL;
  21. }
  22. } // namespace rack