#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.
|
FLUTTER_EXPORT bool | FlutterDesktopInit () |
|
FLUTTER_EXPORT void | FlutterDesktopTerminate () |
|
FLUTTER_EXPORT FlutterDesktopWindowControllerRef | FlutterDesktopCreateWindow (const FlutterDesktopWindowProperties &window_properties, const FlutterDesktopEngineProperties &engine_properties) |
|
FLUTTER_EXPORT void | FlutterDesktopDestroyWindow (FlutterDesktopWindowControllerRef controller) |
|
FLUTTER_EXPORT bool | FlutterDesktopRunWindowEventLoopWithTimeout (FlutterDesktopWindowControllerRef controller, uint32_t timeout_milliseconds) |
|
FLUTTER_EXPORT FlutterDesktopWindowRef | FlutterDesktopGetWindow (FlutterDesktopWindowControllerRef controller) |
|
FLUTTER_EXPORT FlutterDesktopEngineRef | FlutterDesktopGetEngine (FlutterDesktopWindowControllerRef controller) |
|
FLUTTER_EXPORT FlutterDesktopPluginRegistrarRef | FlutterDesktopGetPluginRegistrar (FlutterDesktopEngineRef engine, const char *plugin_name) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetHoverEnabled (FlutterDesktopWindowRef flutter_window, bool enabled) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetTitle (FlutterDesktopWindowRef flutter_window, const char *title) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetIcon (FlutterDesktopWindowRef flutter_window, uint8_t *pixel_data, int width, int height) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowGetFrame (FlutterDesktopWindowRef flutter_window, int *x, int *y, int *width, int *height) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetFrame (FlutterDesktopWindowRef flutter_window, int x, int y, int width, int height) |
|
FLUTTER_EXPORT double | FlutterDesktopWindowGetScaleFactor (FlutterDesktopWindowRef flutter_window) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetPixelRatioOverride (FlutterDesktopWindowRef flutter_window, double pixel_ratio) |
|
FLUTTER_EXPORT void | FlutterDesktopWindowSetSizeLimits (FlutterDesktopWindowRef flutter_window, FlutterDesktopSize minimum_size, FlutterDesktopSize maximum_size) |
|
FLUTTER_EXPORT FlutterDesktopEngineRef | FlutterDesktopRunEngine (const FlutterDesktopEngineProperties &properties) |
|
FLUTTER_EXPORT void | FlutterDesktopRunEngineEventLoopWithTimeout (FlutterDesktopEngineRef engine, uint32_t timeout_milliseconds) |
|
FLUTTER_EXPORT bool | FlutterDesktopShutDownEngine (FlutterDesktopEngineRef engine) |
|
FLUTTER_EXPORT FlutterDesktopWindowRef | FlutterDesktopPluginRegistrarGetWindow (FlutterDesktopPluginRegistrarRef registrar) |
|
FLUTTER_EXPORT void | FlutterDesktopPluginRegistrarEnableInputBlocking (FlutterDesktopPluginRegistrarRef registrar, const char *channel) |
|
◆ FlutterDesktopEngineRef
◆ FlutterDesktopWindowControllerRef
◆ FlutterDesktopWindowRef
◆ FlutterDesktopCreateWindow()
Definition at line 51 of file stub_flutter_glfw_api.cc.
53 {
56 engine_properties);
57 }
58 return nullptr;
59}
virtual FlutterDesktopWindowControllerRef CreateWindow(const FlutterDesktopWindowProperties &window_properties, const FlutterDesktopEngineProperties &engine_properties)
static flutter::testing::StubFlutterGlfwApi * s_stub_implementation
◆ FlutterDesktopDestroyWindow()
◆ FlutterDesktopGetEngine()
◆ FlutterDesktopGetPluginRegistrar()
◆ FlutterDesktopGetWindow()
◆ FlutterDesktopInit()
◆ FlutterDesktopPluginRegistrarEnableInputBlocking()
Definition at line 192 of file stub_flutter_glfw_api.cc.
194 {
197 }
198}
virtual void PluginRegistrarEnableInputBlocking(const char *channel)
◆ FlutterDesktopPluginRegistrarGetWindow()
◆ FlutterDesktopRunEngine()
Definition at line 144 of file stub_flutter_glfw_api.cc.
145 {
148 }
149 return nullptr;
150}
virtual FlutterDesktopEngineRef RunEngine(const FlutterDesktopEngineProperties &properties)
◆ FlutterDesktopRunEngineEventLoopWithTimeout()
Definition at line 152 of file stub_flutter_glfw_api.cc.
154 {
157 }
158}
virtual void RunEngineEventLoopWithTimeout(uint32_t millisecond_timeout)
◆ FlutterDesktopRunWindowEventLoopWithTimeout()
Definition at line 134 of file stub_flutter_glfw_api.cc.
136 {
139 millisecond_timeout);
140 }
141 return true;
142}
virtual bool RunWindowEventLoopWithTimeout(uint32_t millisecond_timeout)
◆ FlutterDesktopShutDownEngine()
◆ FlutterDesktopTerminate()
◆ FlutterDesktopWindowGetFrame()
Definition at line 90 of file stub_flutter_glfw_api.cc.
94 {
97 }
98}
virtual void GetWindowFrame(int *x, int *y, int *width, int *height)
◆ FlutterDesktopWindowGetScaleFactor()
◆ FlutterDesktopWindowSetFrame()
Definition at line 100 of file stub_flutter_glfw_api.cc.
104 {
107 }
108}
virtual void SetWindowFrame(int x, int y, int width, int height)
◆ FlutterDesktopWindowSetHoverEnabled()
◆ FlutterDesktopWindowSetIcon()
Definition at line 81 of file stub_flutter_glfw_api.cc.
84 {
87 }
88}
virtual void SetWindowIcon(uint8_t *pixel_data, int width, int height)
◆ FlutterDesktopWindowSetPixelRatioOverride()
◆ FlutterDesktopWindowSetSizeLimits()
Definition at line 110 of file stub_flutter_glfw_api.cc.
112 {
115 }
116}
virtual void SetSizeLimits(FlutterDesktopSize minimum_size, FlutterDesktopSize maximum_size)
◆ FlutterDesktopWindowSetTitle()
◆ kFlutterDesktopDontCare
const int32_t kFlutterDesktopDontCare |
|
extern |