|
|
@@ -38,13 +38,15 @@ class Context;
|
|
|
namespace Debugger {
|
|
|
|
|
|
/// Initialises the debug plugin. The debugger will be loaded into the given context.
|
|
|
-/// @param[in] context The RmlUi context to load the debugger into. The debugging tools will be displayed on this context. If this context is destroyed, the debugger will be released.
|
|
|
+/// @param[in] host_context RmlUi context to load the debugger into. The debugging tools will be displayed on this context. If this context is
|
|
|
+/// destroyed, the debugger will be released.
|
|
|
/// @return True if the debugger was successfully initialised
|
|
|
-RMLUIDEBUGGER_API bool Initialise(Context* context);
|
|
|
+RMLUIDEBUGGER_API bool Initialise(Context* host_context);
|
|
|
|
|
|
/// Shuts down the debugger.
|
|
|
-/// @return True if the debugger was successfully shut down
|
|
|
-RMLUIDEBUGGER_API bool Shutdown();
|
|
|
+/// @note The debugger is automatically shutdown during the call to Rml::Shutdown(), calling this is only necessary to shutdown the debugger early
|
|
|
+/// or to re-initialize the debugger on another host context.
|
|
|
+RMLUIDEBUGGER_API void Shutdown();
|
|
|
|
|
|
/// Sets the context to be debugged.
|
|
|
/// @param[in] context The context to be debugged.
|