| 12345678910111213141516171819202122232425 |
- #include "ContextInstancerDefault.h"
- #include "../../Include/RmlUi/Core/Context.h"
- namespace Rml {
- ContextInstancerDefault::ContextInstancerDefault() {}
- ContextInstancerDefault::~ContextInstancerDefault() {}
- ContextPtr ContextInstancerDefault::InstanceContext(const String& name, RenderManager* render_manager, TextInputHandler* text_input_handler)
- {
- return ContextPtr(new Context(name, render_manager, text_input_handler));
- }
- void ContextInstancerDefault::ReleaseContext(Context* context)
- {
- delete context;
- }
- void ContextInstancerDefault::Release()
- {
- delete this;
- }
- } // namespace Rml
|