@@ -15,8 +15,7 @@ struct Module; | |||||
} // namespace engine | } // namespace engine | ||||
/** Handles common path locations. | |||||
*/ | |||||
/** Handles common path locations */ | |||||
namespace asset { | namespace asset { | ||||
@@ -8,10 +8,7 @@ | |||||
#include <context.hpp> | #include <context.hpp> | ||||
namespace rack { | namespace rack { | ||||
/** Abstraction for all audio drivers in Rack | |||||
*/ | |||||
/** Abstraction for all audio drivers in Rack */ | |||||
namespace audio { | namespace audio { | ||||
@@ -6,9 +6,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Utilities for `NVGcolor` | |||||
*/ | |||||
/** Utilities for `NVGcolor` */ | |||||
namespace color { | namespace color { | ||||
@@ -161,8 +161,7 @@ namespace std { | |||||
#endif | #endif | ||||
/** Root namespace for the Rack API | |||||
*/ | |||||
/** Root namespace for the Rack API */ | |||||
namespace rack { | namespace rack { | ||||
@@ -1,10 +1,9 @@ | |||||
#pragma once | #pragma once | ||||
#include <common.hpp> | #include <common.hpp> | ||||
namespace rack { | |||||
/** Updates Discord "now playing" status with IPC | |||||
*/ | |||||
namespace rack { | |||||
/** Updates Discord "now playing" status with IPC */ | |||||
namespace discord { | namespace discord { | ||||
@@ -3,10 +3,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Gamepad/joystick/controller MIDI driver | |||||
*/ | |||||
/** Gamepad/joystick/controller MIDI driver */ | |||||
namespace gamepad { | namespace gamepad { | ||||
@@ -19,8 +19,7 @@ struct CableWidget; | |||||
} // namespace app | } // namespace app | ||||
/** Action history for UI undo/redo | |||||
*/ | |||||
/** Action history for UI undo/redo */ | |||||
namespace history { | namespace history { | ||||
@@ -4,10 +4,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Computer keyboard MIDI driver | |||||
*/ | |||||
/** Computer keyboard MIDI driver */ | |||||
namespace keyboard { | namespace keyboard { | ||||
@@ -5,10 +5,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Synchronizes plugins with the VCV Library and handles VCV accounts with the vcvrack.com API | |||||
*/ | |||||
/** Synchronizes plugins with the VCV Library and handles VCV accounts with the vcvrack.com API */ | |||||
namespace library { | namespace library { | ||||
@@ -16,10 +16,7 @@ will print something like | |||||
namespace rack { | namespace rack { | ||||
/** Logs messages to a file or the terminal | |||||
*/ | |||||
/** Logs messages to a file or the terminal */ | |||||
namespace logger { | namespace logger { | ||||
@@ -6,10 +6,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Extends `<cmath>` with extra functions and types | |||||
*/ | |||||
/** Extends `<cmath>` with extra functions and types */ | |||||
namespace math { | namespace math { | ||||
@@ -9,10 +9,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Abstraction for all MIDI drivers in Rack | |||||
*/ | |||||
/** Abstraction for all MIDI drivers in Rack */ | |||||
namespace midi { | namespace midi { | ||||
@@ -7,10 +7,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Networking functions for HTTP requests, downloads, and URLs | |||||
*/ | |||||
/** Networking functions for HTTP requests, downloads, and URLs */ | |||||
namespace network { | namespace network { | ||||
@@ -5,6 +5,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Handles the Rack patch file state */ | |||||
namespace patch { | namespace patch { | ||||
@@ -7,10 +7,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Loads and manages Rack plugins | |||||
*/ | |||||
/** Loads and manages Rack plugins */ | |||||
namespace plugin { | namespace plugin { | ||||
@@ -5,10 +5,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Random number generation | |||||
*/ | |||||
/** Random number generation */ | |||||
namespace random { | namespace random { | ||||
@@ -13,10 +13,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Process-scope globals, most of which are persisted to a file | |||||
*/ | |||||
/** Process-scope globals, most of which are persisted across launches */ | |||||
namespace settings { | namespace settings { | ||||
@@ -6,10 +6,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Supplemental `std::string` functions | |||||
*/ | |||||
/** Supplemental `std::string` functions */ | |||||
namespace string { | namespace string { | ||||
@@ -5,10 +5,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Cross-platform functions for operating system, file path, and filesystem routines | |||||
*/ | |||||
/** Cross-platform functions for OS, file path, and filesystem routines */ | |||||
namespace system { | namespace system { | ||||
@@ -5,8 +5,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Tags describing the functions of modules | |||||
*/ | |||||
/** Tags describing the function(s) of modules */ | |||||
namespace tag { | namespace tag { | ||||
@@ -12,8 +12,7 @@ struct WeakHandle { | |||||
}; | }; | ||||
/** Base class for classes that allow `WeakPtr`s to be used. | |||||
*/ | |||||
/** Base class for classes that allow `WeakPtr`s to be used. */ | |||||
struct WeakBase { | struct WeakBase { | ||||
WeakHandle* weakHandle = nullptr; | WeakHandle* weakHandle = nullptr; | ||||
@@ -6,7 +6,7 @@ namespace rack { | |||||
namespace widget { | namespace widget { | ||||
/** Draws an Svg */ | |||||
/** Owns and draws a window::Svg */ | |||||
struct SvgWidget : Widget { | struct SvgWidget : Widget { | ||||
std::shared_ptr<window::Svg> svg; | std::shared_ptr<window::Svg> svg; | ||||
@@ -10,10 +10,7 @@ | |||||
namespace rack { | namespace rack { | ||||
/** Basic UI widget types | |||||
*/ | |||||
/** Base UI widget types */ | |||||
namespace widget { | namespace widget { | ||||
@@ -469,7 +466,7 @@ struct Widget : WeakBase { | |||||
recurseEvent(&Widget::onHide, e); | recurseEvent(&Widget::onHide, e); | ||||
} | } | ||||
/** Occurs after the Window, OpenGL context, and Nanovg are created. | |||||
/** Occurs after the Window (including OpenGL and NanoVG contexts) are created. | |||||
Recurses. | Recurses. | ||||
*/ | */ | ||||
struct ContextCreateEvent : BaseEvent { | struct ContextCreateEvent : BaseEvent { | ||||
@@ -479,7 +476,7 @@ struct Widget : WeakBase { | |||||
recurseEvent(&Widget::onContextCreate, e); | recurseEvent(&Widget::onContextCreate, e); | ||||
} | } | ||||
/** Occurs before the Window, OpenGL context, and Nanovg are destroyed. | |||||
/** Occurs before the Window (including OpenGL and NanoVG contexts) are destroyed. | |||||
Recurses. | Recurses. | ||||
*/ | */ | ||||
struct ContextDestroyEvent : BaseEvent { | struct ContextDestroyEvent : BaseEvent { | ||||
@@ -36,6 +36,7 @@ inline math::Vec mm2px(math::Vec mm) { | |||||
} | } | ||||
/** Scalable Vector Graphics document */ | |||||
struct Svg { | struct Svg { | ||||
NSVGimage* handle = NULL; | NSVGimage* handle = NULL; | ||||