#include <stddef.h>#include <stdint.h>#include "flutter_export.h"#include "flutter_messenger.h"#include "flutter_plugin_registrar.h"Go to the source code of this file.
Classes | |
| struct | FlutterDesktopSize |
| struct | FlutterDesktopEngineProperties |
| struct | FlutterDesktopWindowProperties |
Typedefs | |
| typedef struct FlutterDesktopWindowControllerState * | FlutterDesktopWindowControllerRef |
| typedef struct FlutterDesktopWindow * | FlutterDesktopWindowRef |
| typedef struct FlutterDesktopEngineState * | FlutterDesktopEngineRef |
Variables | |
| const int32_t | kFlutterDesktopDontCare |
| typedef struct FlutterDesktopEngineState* FlutterDesktopEngineRef |
Definition at line 30 of file flutter_glfw.h.
| typedef struct FlutterDesktopWindowControllerState* FlutterDesktopWindowControllerRef |
Definition at line 24 of file flutter_glfw.h.
| typedef struct FlutterDesktopWindow* FlutterDesktopWindowRef |
Definition at line 27 of file flutter_glfw.h.
| FLUTTER_EXPORT FlutterDesktopWindowControllerRef FlutterDesktopCreateWindow | ( | const FlutterDesktopWindowProperties & | window_properties, |
| const FlutterDesktopEngineProperties & | engine_properties | ||
| ) |
Definition at line 51 of file stub_flutter_glfw_api.cc.
References CreateShareWindowForWindow(), flutter::testing::StubFlutterGlfwApi::CreateWindow(), GLFW_FALSE, GLFWClearCanvas(), FlutterDesktopWindowProperties::height, FlutterDesktopWindowProperties::prevent_resize, s_stub_implementation, FlutterDesktopWindowProperties::title, FlutterDesktopWindowProperties::width, and window.
Referenced by flutter::FlutterWindowController::CreateWindow().
| FLUTTER_EXPORT void FlutterDesktopDestroyWindow | ( | FlutterDesktopWindowControllerRef | controller | ) |
Definition at line 61 of file stub_flutter_glfw_api.cc.
References flutter::testing::StubFlutterGlfwApi::DestroyWindow(), FlutterDesktopPluginRegistrar::destruction_handler, FlutterDesktopWindowControllerState::engine, FlutterEngineShutdown(), and s_stub_implementation.
Referenced by flutter::FlutterWindowController::DestroyWindow(), and flutter::FlutterWindowController::~FlutterWindowController().
| FLUTTER_EXPORT FlutterDesktopEngineRef FlutterDesktopGetEngine | ( | FlutterDesktopWindowControllerRef | controller | ) |
Definition at line 173 of file stub_flutter_glfw_api.cc.
References FlutterDesktopWindowControllerState::engine.
Referenced by flutter::FlutterWindowController::GetRegistrarForPlugin().
| FLUTTER_EXPORT FlutterDesktopPluginRegistrarRef FlutterDesktopGetPluginRegistrar | ( | FlutterDesktopEngineRef | engine, |
| const char * | plugin_name | ||
| ) |
Definition at line 179 of file stub_flutter_glfw_api.cc.
References engine.
Referenced by flutter::FlutterEngine::GetRegistrarForPlugin(), and flutter::FlutterWindowController::GetRegistrarForPlugin().
| FLUTTER_EXPORT FlutterDesktopWindowRef FlutterDesktopGetWindow | ( | FlutterDesktopWindowControllerRef | controller | ) |
Definition at line 167 of file stub_flutter_glfw_api.cc.
References FlutterDesktopWindowControllerState::window_wrapper.
Referenced by flutter::FlutterWindowController::CreateWindow().
| FLUTTER_EXPORT bool FlutterDesktopInit | ( | ) |
Definition at line 38 of file stub_flutter_glfw_api.cc.
References GLFWErrorCallback(), flutter::testing::StubFlutterGlfwApi::Init(), and s_stub_implementation.
Referenced by flutter::FlutterWindowController::FlutterWindowController().
| FLUTTER_EXPORT void FlutterDesktopPluginRegistrarEnableInputBlocking | ( | FlutterDesktopPluginRegistrarRef | registrar, |
| const char * | channel | ||
| ) |
Definition at line 192 of file stub_flutter_glfw_api.cc.
References channel, FlutterDesktopPluginRegistrar::engine, FlutterDesktopEngineState::message_dispatcher, flutter::testing::StubFlutterGlfwApi::PluginRegistrarEnableInputBlocking(), and s_stub_implementation.
Referenced by flutter::PluginRegistrarGlfw::EnableInputBlockingForChannel().
| FLUTTER_EXPORT FlutterDesktopWindowRef FlutterDesktopPluginRegistrarGetWindow | ( | FlutterDesktopPluginRegistrarRef | registrar | ) |
Definition at line 186 of file stub_flutter_glfw_api.cc.
References FlutterDesktopPluginRegistrar::engine, FlutterDesktopEngineState::window_controller, and FlutterDesktopWindowControllerState::window_wrapper.
Referenced by flutter::PluginRegistrarGlfw::PluginRegistrarGlfw().
| FLUTTER_EXPORT FlutterDesktopEngineRef FlutterDesktopRunEngine | ( | const FlutterDesktopEngineProperties & | properties | ) |
Definition at line 144 of file stub_flutter_glfw_api.cc.
References flutter::testing::StubFlutterGlfwApi::RunEngine(), and s_stub_implementation.
Referenced by flutter::FlutterEngine::Start().
| FLUTTER_EXPORT void FlutterDesktopRunEngineEventLoopWithTimeout | ( | FlutterDesktopEngineRef | engine, |
| uint32_t | timeout_milliseconds | ||
| ) |
Definition at line 152 of file stub_flutter_glfw_api.cc.
References engine, flutter::testing::StubFlutterGlfwApi::RunEngineEventLoopWithTimeout(), and s_stub_implementation.
Referenced by FlutterDesktopRunWindowEventLoopWithTimeout(), and flutter::FlutterEngine::RunEventLoopWithTimeout().
| FLUTTER_EXPORT bool FlutterDesktopRunWindowEventLoopWithTimeout | ( | FlutterDesktopWindowControllerRef | controller, |
| uint32_t | timeout_milliseconds | ||
| ) |
Definition at line 134 of file stub_flutter_glfw_api.cc.
References FlutterDesktopWindowControllerState::engine, FlutterDesktopRunEngineEventLoopWithTimeout(), flutter::testing::StubFlutterGlfwApi::RunWindowEventLoopWithTimeout(), s_stub_implementation, and FlutterDesktopWindowControllerState::window.
Referenced by flutter::FlutterWindowController::RunEventLoopWithTimeout().
| FLUTTER_EXPORT bool FlutterDesktopShutDownEngine | ( | FlutterDesktopEngineRef | engine | ) |
Definition at line 160 of file stub_flutter_glfw_api.cc.
References engine, FlutterEngineShutdown(), kSuccess, s_stub_implementation, and flutter::testing::StubFlutterGlfwApi::ShutDownEngine().
Referenced by flutter::FlutterEngine::Start().
| FLUTTER_EXPORT void FlutterDesktopTerminate | ( | ) |
Definition at line 45 of file stub_flutter_glfw_api.cc.
References s_stub_implementation, and flutter::testing::StubFlutterGlfwApi::Terminate().
Referenced by flutter::FlutterWindowController::~FlutterWindowController().
| FLUTTER_EXPORT void FlutterDesktopWindowGetFrame | ( | FlutterDesktopWindowRef | flutter_window, |
| int * | x, | ||
| int * | y, | ||
| int * | width, | ||
| int * | height | ||
| ) |
Definition at line 90 of file stub_flutter_glfw_api.cc.
References flutter::testing::StubFlutterGlfwApi::GetWindowFrame(), height, s_stub_implementation, width, FlutterDesktopWindow::window, x, and y.
Referenced by flutter::FlutterWindow::GetFrame().
| FLUTTER_EXPORT double FlutterDesktopWindowGetScaleFactor | ( | FlutterDesktopWindowRef | flutter_window | ) |
Definition at line 118 of file stub_flutter_glfw_api.cc.
References flutter::testing::StubFlutterGlfwApi::GetWindowScaleFactor(), FlutterDesktopWindow::pixels_per_screen_coordinate, and s_stub_implementation.
Referenced by flutter::FlutterWindow::GetScaleFactor().
| FLUTTER_EXPORT void FlutterDesktopWindowSetFrame | ( | FlutterDesktopWindowRef | flutter_window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 100 of file stub_flutter_glfw_api.cc.
References height, s_stub_implementation, flutter::testing::StubFlutterGlfwApi::SetWindowFrame(), width, FlutterDesktopWindow::window, x, and y.
Referenced by flutter::FlutterWindow::SetFrame().
| FLUTTER_EXPORT void FlutterDesktopWindowSetHoverEnabled | ( | FlutterDesktopWindowRef | flutter_window, |
| bool | enabled | ||
| ) |
Definition at line 67 of file stub_flutter_glfw_api.cc.
References FlutterDesktopWindow::hover_tracking_enabled, s_stub_implementation, SetHoverCallbacksEnabled(), flutter::testing::StubFlutterGlfwApi::SetHoverEnabled(), and FlutterDesktopWindow::window.
Referenced by flutter::FlutterWindow::SetHoverEnabled().
| FLUTTER_EXPORT void FlutterDesktopWindowSetIcon | ( | FlutterDesktopWindowRef | flutter_window, |
| uint8_t * | pixel_data, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 81 of file stub_flutter_glfw_api.cc.
References height, image, s_stub_implementation, flutter::testing::StubFlutterGlfwApi::SetWindowIcon(), width, and FlutterDesktopWindow::window.
Referenced by flutter::FlutterWindow::SetIcon().
| FLUTTER_EXPORT void FlutterDesktopWindowSetPixelRatioOverride | ( | FlutterDesktopWindowRef | flutter_window, |
| double | pixel_ratio | ||
| ) |
Definition at line 126 of file stub_flutter_glfw_api.cc.
References GetWindowController(), FlutterDesktopWindow::pixel_ratio_override, s_stub_implementation, SendWindowMetrics(), flutter::testing::StubFlutterGlfwApi::SetPixelRatioOverride(), and FlutterDesktopWindow::window.
Referenced by flutter::FlutterWindow::SetPixelRatioOverride().
| FLUTTER_EXPORT void FlutterDesktopWindowSetSizeLimits | ( | FlutterDesktopWindowRef | flutter_window, |
| FlutterDesktopSize | minimum_size, | ||
| FlutterDesktopSize | maximum_size | ||
| ) |
Definition at line 110 of file stub_flutter_glfw_api.cc.
References FlutterDesktopSize::height, s_stub_implementation, flutter::testing::StubFlutterGlfwApi::SetSizeLimits(), FlutterDesktopSize::width, and FlutterDesktopWindow::window.
Referenced by flutter::FlutterWindow::SetSizeLimits().
| FLUTTER_EXPORT void FlutterDesktopWindowSetTitle | ( | FlutterDesktopWindowRef | flutter_window, |
| const char * | title | ||
| ) |
Definition at line 74 of file stub_flutter_glfw_api.cc.
References s_stub_implementation, flutter::testing::StubFlutterGlfwApi::SetWindowTitle(), window, and FlutterDesktopWindow::window.
Referenced by flutter::FlutterWindow::SetTitle().
|
extern |
Definition at line 44 of file flutter_glfw.cc.