#pragma once #include #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 typeface; float fRotationAngle = 0; std::shared_ptr keyWindow; std::unique_ptr skiaCtx; static Application* shared; bool runLoop(); void render(); }; }