summaryrefslogtreecommitdiff
path: root/ivi-shell/ivi-shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'ivi-shell/ivi-shell.h')
-rw-r--r--ivi-shell/ivi-shell.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ivi-shell/ivi-shell.h b/ivi-shell/ivi-shell.h
index 157c5aec..ad94f642 100644
--- a/ivi-shell/ivi-shell.h
+++ b/ivi-shell/ivi-shell.h
@@ -32,4 +32,33 @@ struct ivi_shell
struct weston_compositor *compositor;
struct wl_list ivi_surface_list; /* struct ivi_shell_surface::link */
+
+ struct wl_listener show_input_panel_listener;
+ struct wl_listener hide_input_panel_listener;
+ struct wl_listener update_input_panel_listener;
+
+ struct weston_layer panel_layer;
+ struct weston_layer input_panel_layer;
+
+ bool locked;
+ bool showing_input_panels;
+
+ struct {
+ struct weston_surface *surface;
+ pixman_box32_t cursor_rectangle;
+ } text_input;
+
+ struct {
+ struct wl_resource *binding;
+ struct wl_list surfaces;
+ } input_panel;
};
+
+struct weston_view *
+get_default_view(struct weston_surface *surface);
+
+int
+input_panel_setup(struct ivi_shell *shell);
+
+void
+input_panel_destroy(struct ivi_shell *shell);