Commit Graph

69 Commits

Author SHA1 Message Date
eff0449b3a Redrawing key after press is happening directly 2019-06-19 16:51:57 +00:00
260ab42b9e Forward press timestamps 2019-06-19 15:56:19 +00:00
a3d745edd0 Moved key pressing from context to keyboard 2019-06-19 15:27:29 +00:00
40a92fe730 Ignoring section.key-pressed 2019-06-19 14:11:23 +00:00
5cc407986b Ignore multi-clicks and non-left-buttons 2019-04-06 18:35:06 +00:00
4a346211b8 Show tooltips. 2012-04-23 16:43:06 +09:00
ee0505c100 Add keyboard selection dialog to preferences. 2012-03-28 12:54:22 +09:00
1943749cb6 Drop GTK2 support. 2012-03-23 18:07:05 +09:00
f442733b33 Fix some mistakes.
* remove useless g_obect_{set,get}_property call.
* free GError on error.
2012-03-16 18:15:50 +09:00
668b974dd7 Improve border rendering without theme. 2011-10-14 10:04:16 +09:00
f72e9f5293 Copy pressed_keys list before sending released/cancelled signal (RHBZ#737396). 2011-09-12 11:06:52 +09:00
a6bde78168 Highlight locked modifiers. 2011-08-22 14:44:46 +09:00
6a7b256676 Remove unnecessary null initialization. 2011-08-18 11:31:01 +09:00
7af6bf13ed Support feedback sounds. 2011-08-18 11:18:27 +09:00
b6beeedc26 Improve key-repeat behavior. 2011-08-16 16:30:13 +09:00
55f7a0d0dc Make sure large key does not overlap with the small key. 2011-08-15 18:13:55 +09:00
7919cc191e Capture motion-notify event. 2011-08-15 18:10:57 +09:00
db0c5088b7 Apply active style to the key under the large key. 2011-08-15 17:49:02 +09:00
f4e33a4ad4 Make sure that large key bounds do not overflow the widget allocation. 2011-08-15 16:45:11 +09:00
57a072746e Release dragged key when unmap. 2011-08-15 12:16:44 +09:00
2d2aea009e Rewrite 15c0a9da using cairo_pattern_set_extend. 2011-08-12 16:25:56 +09:00
15c0a9dadf Blank background around a large key when key release. 2011-08-12 15:00:46 +09:00
163e005561 Simplify "blank background" code. 2011-03-08 06:04:41 +09:00
d8e691d3f5 Optimize redraw on key release. 2011-03-08 05:53:00 +09:00
37c2579253 Merge theme handling code (WIP). 2011-03-04 18:52:25 +09:00
23ab2a343f Fix coding style. 2011-03-04 14:28:20 +09:00
8b632356e9 Fix memleaks. 2011-03-03 15:05:59 +09:00
18f8e5b98b Draw key with icon if EekSymbol has "icon-name" property. 2011-03-01 11:57:07 +09:00
4440a2f1ac Release dragged key when gtk keyboard is disposed. 2011-02-25 18:17:05 +09:00
12cc310e38 Make sure that a key is not pressed when sending new "pressed" event of it. 2011-02-21 16:13:19 +09:00
aed12cd831 Make sure to disconnect signal handlers on dispose. 2011-02-01 12:25:34 +09:00
e6df7d90fe Use GObject instead of guint to represent keysyms. 2011-01-28 16:19:18 +09:00
880ba76bd8 Update copyright year. 2011-01-27 16:58:59 +09:00
20acd11425 Don't use floating object for EekElement. 2011-01-27 09:55:24 +09:00
c6aa173202 Add EekGtkKeyboard:keyboard property. 2011-01-25 14:41:57 +09:00
af8274f305 Fix GTK-Doc comment. 2011-01-25 11:06:03 +09:00
9e5fa977a5 Split eek_renderer_render_key to e_r_r_key_label and e_r_r_key_outline. 2011-01-25 10:38:56 +09:00
fe101ff0e8 Rename eek_renderer_set_preferred_size to e_r_s_allocation_size. 2011-01-23 17:29:10 +09:00
0ba067aa15 Fix memleak; fix eek_gtk_keyboard_new doc. 2011-01-23 16:59:05 +09:00
192cab67e9 Fix "keysym-index-changed" callback of EekGtkKeyboard. 2011-01-22 16:50:15 +09:00
6e978cae63 Move "blank background" code from EekGtkKeyboard to EekRenderer. 2011-01-22 16:13:53 +09:00
a0167c4cc2 Re-organize API.
EekGtkKeyboard is now a subclass of GtkWidget not EekKeyboard.  Widget
creation is done as follows:

layout = eek_xkl_layout_new (...);
keyboard = eek_keyboard_new (layout, 640, 480);
widget = eek_gtk_keyboard_new (keyboard);

Broken Clutter support is temporarily disabled.
2011-01-22 11:55:29 +09:00
dc4e802bd1 libeek/gtk: add compatibility macro for gdk_cairo_create (>= 2.91.5) 2011-01-13 15:20:44 +09:00
125fd4c65c libeek/gtk: fix scale and geometry calculation 2011-01-12 15:45:36 +09:00
384d43bb80 libeek: Fix gtk keyboard rendering. 2010-12-06 13:06:11 +09:00
29c55b6ca3 Suppress compiler warnings. 2010-12-06 12:12:52 +09:00
12bc18e1ba Add compatibility code for GTK2. 2010-11-15 12:01:17 +09:00
dfe06468ed Fix build against 2.91.5. 2010-11-12 15:12:56 +09:00
70f3bc5308 libeek: make GTK key event handling robuster. 2010-08-11 17:45:52 +09:00
8bc7b754bc eekboard: react to key events by default. 2010-08-11 17:36:33 +09:00