summaryrefslogtreecommitdiff
path: root/ivi-shell/ivi-shell.h
diff options
context:
space:
mode:
authorNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-11-27 13:25:34 +0900
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-12-04 17:25:50 +0200
commit0038b738abf6e61b1aacaf1a9026886acd0171f6 (patch)
tree4e8d665dc49c1f426c028944ccf0f8b7fe6f312d /ivi-shell/ivi-shell.h
parentb1d121d835d4bdf32a69583cf22d28305824ccc8 (diff)
downloadweston-0038b738abf6e61b1aacaf1a9026886acd0171f6.tar.gz
ivi-shell: reference implementation of input panel for ivi-shell
- introduces ivi-shell/input-panel-ivi.c which is basically copied from desktop shell. It shall be improvaded to remove duplicate implementation. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'ivi-shell/ivi-shell.h')
-rw-r--r--ivi-shell/ivi-shell.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ivi-shell/ivi-shell.h b/ivi-shell/ivi-shell.h
index 0b67319c..dd353c30 100644
--- a/ivi-shell/ivi-shell.h
+++ b/ivi-shell/ivi-shell.h
@@ -33,4 +33,32 @@ struct ivi_shell
struct wl_list ivi_surface_list; /* struct ivi_shell_surface::link */
struct ivi_layout_interface *ivi_layout;
+
+ struct wl_listener show_input_panel_listener;
+ struct wl_listener hide_input_panel_listener;
+ struct wl_listener update_input_panel_listener;
+
+ 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);