Home
last modified time | relevance | path

Searched defs:EditorApplication (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/experimental/sktext/editor/
DApp.cpp26 struct EditorApplication : public sk_app::Application { struct
27 std::unique_ptr<sk_app::Window> fWindow;
28 std::unique_ptr<Editor> fLayer;
29 double fNextTime = -DBL_MAX;
31 EditorApplication(std::unique_ptr<sk_app::Window> win) : fWindow(std::move(win)) {} in EditorApplication() function
33 bool init(const char* path) { in init()
68 …std::unique_ptr<skia::editor::EditorApplication> app(new skia::editor::EditorApplication(std::move… in Create()
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp381 struct EditorApplication : public sk_app::Application { struct
382 std::unique_ptr<sk_app::Window> fWindow;
383 EditorLayer fLayer;
384 double fNextTime = -DBL_MAX;
386 EditorApplication(std::unique_ptr<sk_app::Window> win) : fWindow(std::move(win)) {} in EditorApplication() function
388 bool init(const char* path) { in init()
402 ~EditorApplication() override { fWindow->detach(); } in ~EditorApplication()
404 void onIdle() override { in onIdle()