Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
aiks_playground.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
6#define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
7
8#include "flutter/fml/macros.h"
14#include "third_party/imgui/imgui.h"
15
16namespace impeller {
17
19 public:
21 std::function<std::optional<Picture>(AiksContext& renderer)>;
22
24
26
27 void TearDown() override;
28
30 std::shared_ptr<TypographerContext> typographer_context);
31
32 bool OpenPlaygroundHere(Picture picture);
33
35
36 static bool ImGuiBegin(const char* name,
37 bool* p_open,
38 ImGuiWindowFlags flags);
39
40 private:
41 std::shared_ptr<TypographerContext> typographer_context_;
42 AiksInspector inspector_;
43
44 AiksPlayground(const AiksPlayground&) = delete;
45
46 AiksPlayground& operator=(const AiksPlayground&) = delete;
47};
48
49} // namespace impeller
50
51#endif // FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
bool OpenPlaygroundHere(Picture picture)
static bool ImGuiBegin(const char *name, bool *p_open, ImGuiWindowFlags flags)
std::function< std::optional< Picture >(AiksContext &renderer)> AiksPlaygroundCallback
FlutterSemanticsFlag flags
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
const char * name
Definition fuchsia.cc:50