File: implicit-functions.patch

package info (click to toggle)
matchbox-keyboard 0.2%2Bgit20231024-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 992 kB
  • sloc: ansic: 5,810; xml: 1,438; makefile: 201; sh: 2
file content (47 lines) | stat: -rw-r--r-- 1,310 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- a/src/matchbox-keyboard-ui-xft-backend.h
+++ b/src/matchbox-keyboard-ui-xft-backend.h
@@ -27,6 +27,9 @@
 MBKeyboardUIBackend*
 mb_kbd_ui_xft_init(MBKeyboardUI *ui);
 
+void
+mb_kbd_ui_xft_destroy (MBKeyboardUI *ui);
+
 #define MB_KBD_UI_BACKEND_INIT_FUNC(ui)  mb_kbd_ui_xft_init((ui))
 #define MB_KBD_UI_BACKEND_DESTROY_FUNC(ui)  mb_kbd_ui_xft_destroy((ui))
 
--- a/src/matchbox-keyboard.h
+++ b/src/matchbox-keyboard.h
@@ -332,6 +332,12 @@
 void
 mb_kbd_ui_handle_widget_xevent (MBKeyboardUI *ui, XEvent *xev);
 
+void
+mb_kbd_ui_handle_configure(MBKeyboardUI *ui, int width, int height);
+
+void
+mb_kbd_ui_update_display_size(MBKeyboardUI *ui);
+
 #ifdef WANT_CAIRO
 #define mb_kbd_image_width(x) cairo_image_surface_get_width (x)
 #define mb_kbd_image_height(x) cairo_image_surface_get_height (x)
@@ -379,6 +385,9 @@
             int x, int y, int w, int h);
 #endif
 
+void
+mb_kbd_destroy (MBKeyboard *kb);
+
 int
 mb_kbd_row_spacing(MBKeyboard *kb);
 
@@ -647,6 +656,9 @@
 void
 mb_kbd_key_dump_key(MBKeyboardKey *key);
 
+MBKeyboardKeyActionType
+mb_kbd_key_get_action_type(MBKeyboardKey *key, MBKeyboardKeyStateType state);
+
 #define mb_kdb_key_foreach_state(k,s)                     \
        for((s)=0; (s) < N_MBKeyboardKeyStateTypes; (s)++) \
             if (mb_kdb_key_has_state((k), (s)))