2022-03-08 21:19:19 +03:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <d3d11.h>
|
2025-07-10 13:29:03 +03:30
|
|
|
#include <ui/ui.hpp>
|
2022-03-08 21:19:19 +03:30
|
|
|
#include <wrl.h>
|
|
|
|
|
|
|
|
struct GLFWwindow;
|
|
|
|
|
2025-07-11 00:05:48 +03:30
|
|
|
namespace lt {
|
2022-03-08 21:19:19 +03:30
|
|
|
|
|
|
|
class dxSharedContext;
|
|
|
|
|
|
|
|
class dxUserInterface: public UserInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
dxUserInterface() = default;
|
2025-07-05 16:07:51 +03:30
|
|
|
|
2022-03-08 21:19:19 +03:30
|
|
|
~dxUserInterface();
|
|
|
|
|
2025-07-11 14:05:59 +03:30
|
|
|
void platform_implementation(
|
|
|
|
GLFWwindow *windowHandle,
|
|
|
|
Ref<SharedContext> sharedContext
|
|
|
|
) override;
|
2022-03-08 21:19:19 +03:30
|
|
|
|
2025-07-05 15:36:53 +03:30
|
|
|
void begin() override;
|
2025-07-05 16:07:51 +03:30
|
|
|
|
2025-07-05 15:36:53 +03:30
|
|
|
void end() override;
|
2022-03-08 21:19:19 +03:30
|
|
|
|
2025-07-05 15:36:53 +03:30
|
|
|
void log_debug_data() override;
|
2022-03-08 21:19:19 +03:30
|
|
|
};
|
|
|
|
|
2025-07-11 00:05:48 +03:30
|
|
|
} // namespace lt
|