| Flutter Linux Embedder |

fl_mouse_cursor_handler.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_SHELL_PLATFORM_LINUX_FL_MOUSE_CURSOR_HANDLER_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_MOUSE_CURSOR_HANDLER_H_
7
8 #include <gdk/gdk.h>
9
10 #include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
11 #include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"
12
13 G_BEGIN_DECLS
14
15 G_DECLARE_FINAL_TYPE(FlMouseCursorHandler,
16 fl_mouse_cursor_handler,
17 FL,
18 MOUSE_CURSOR_HANDLER,
19 GObject);
20
21 /**
22 * FlMouseCursorHandler:
23 *
24 * #FlMouseCursorHandler is a mouse_cursor channel that implements the shell
25 * side of SystemChannels.mouseCursor from the Flutter services library.
26 */
27
28 /**
29 * fl_mouse_cursor_handler_new:
30 * @messenger: an #FlBinaryMessenger.
31 * @view: an #FlView to control.
32 *
33 * Creates a new handler that implements SystemChannels.mouseCursor from the
34 * Flutter services library.
35 *
36 * Returns: a new #FlMouseCursorHandler.
37 */
38 FlMouseCursorHandler* fl_mouse_cursor_handler_new(FlBinaryMessenger* messenger,
39 FlView* view);
40
41 G_END_DECLS
42
43 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_MOUSE_CURSOR_HANDLER_H_
fl_binary_messenger.h
fl_mouse_cursor_handler_new
FlMouseCursorHandler * fl_mouse_cursor_handler_new(FlBinaryMessenger *messenger, FlView *view)
Definition: fl_mouse_cursor_handler.cc:164
FL
FL
Definition: fl_binary_messenger.cc:27
fl_view.h
view
FlView * view
Definition: fl_application.cc:35
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlMouseCursorHandler, fl_mouse_cursor_handler, FL, MOUSE_CURSOR_HANDLER, GObject)