Files
2026-04-26 18:06:42 +02:00

31 lines
484 B
C++

#pragma once
#include <SDL_events.h>
#include "include/gpu/ganesh/GrDirectContext.h"
#include "tools/window/WindowContext.h"
#include "SkiaCtx.h"
#include "UIView.h"
namespace NXKit {
class Application {
public:
Application();
~Application();
private:
sk_sp<SkTypeface> typeface;
float fRotationAngle = 0;
std::shared_ptr<UIView> keyWindow;
std::unique_ptr<SkiaCtx> skiaCtx;
static Application* shared;
bool runLoop();
void render();
};
}