| Flutter Linux Embedder |

fl_view_private.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_VIEW_PRIVATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_VIEW_PRIVATE_H_
7
8 #include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"
9
10 #include "flutter/shell/platform/linux/fl_gl_area.h"
11
12 /**
13 * fl_view_set_textures:
14 * @view: an #FlView.
15 * @context: a #GdkGLContext, for #FlGLArea to render.
16 * @textures: (transfer none) (element-type FlBackingStoreProvider): a list of
17 * #FlBackingStoreProvider.
18 *
19 * Set the textures for this view to render.
20 */
21 void fl_view_set_textures(FlView* view,
22 GdkGLContext* context,
23 GPtrArray* textures);
24
25 /**
26 * fl_view_get_keyboard_state:
27 * @view: an #FlView.
28 *
29 * Returns the keyboard pressed state. The hash table contains one entry per
30 * pressed keys, mapping from the logical key to the physical key.*
31 */
32 GHashTable* fl_view_get_keyboard_state(FlView* view);
33
34 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_VIEW_PRIVATE_H_
fl_view_set_textures
void fl_view_set_textures(FlView *view, GdkGLContext *context, GPtrArray *textures)
Definition: fl_view.cc:775
fl_gl_area.h
fl_view.h
fl_view_get_keyboard_state
GHashTable * fl_view_get_keyboard_state(FlView *view)
Definition: fl_view.cc:790