22 lines
252 B
C++
22 lines
252 B
C++
#include "dl_ui_window.h"
|
|
|
|
#ifndef DL_DISABLE_RENDER
|
|
#include "dl_ui_manager.h"
|
|
|
|
namespace dl::UI
|
|
{
|
|
|
|
void Window::_init()
|
|
{
|
|
_panel = g_ui->CreatePanel();
|
|
_panel->SetAutoRun(false);
|
|
}
|
|
|
|
Window::~Window()
|
|
{
|
|
g_ui->DeletePanel(_panel, true);
|
|
}
|
|
|
|
}
|
|
|
|
#endif |