Flutter Engine
fl_renderer_x11.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_RENDERER_X11_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_X11_H_
7 
8 #include <gdk/gdk.h>
9 
10 #ifdef GDK_WINDOWING_X11
11 #include <gdk/gdkx.h>
12 
13 #include "flutter/shell/platform/linux/fl_renderer.h"
14 
15 G_BEGIN_DECLS
16 
17 G_DECLARE_FINAL_TYPE(FlRendererX11,
18  fl_renderer_x11,
19  FL,
20  RENDERER_X11,
21  FlRenderer)
22 
23 /**
24  * FlRendererX11:
25  *
26  * #FlRendererX11 is an implementation of #FlRenderer that renders to X11
27  * windows.
28  */
29 
30 /**
31  * fl_renderer_x11_new:
32  *
33  * Creates an object that allows Flutter to render to X11 windows.
34  *
35  * Returns: a new #FlRendererX11.
36  */
37 FlRendererX11* fl_renderer_x11_new();
38 
39 G_END_DECLS
40 
41 #endif // GDK_WINDOWING_X11
42 
43 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_RENDERER_X11_H_
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlKeyEventPlugin, fl_key_event_plugin, FL, KEY_EVENT_PLUGIN, GObject)
G_BEGIN_DECLS FL