Commit Graph

54 Commits

Author SHA1 Message Date
3a945535f7 render: Remove trailing white space 2019-07-11 15:40:18 +02:00
1b59c4dad3 Use an icon for backspace 2019-07-10 14:36:19 +02:00
094aa872ce Cleanups: fix deprecated g_type_class_add_private()
- use G_DECLARE_ and G_DEFINE_ macros
- move all data into ClassNamePrivate
- use _get_instance_private()

This should not introduce any functional changes or breakage.

Skipped two classes (EekKeyboard and EekboardContextService) for now in
order not to break the build.

These two classes are used in some very funky WIP code that tries to
circumvent encapsulation.

(Funky code is in eekboard/key-emitter.c and eekboard/eekboard-context-service.c)
2019-07-08 08:44:05 +02:00
ae5eaeec93 Fix an uninitialized-variable warning, and fixes gradients 2019-07-07 18:45:56 +02:00
60250ca5e5 Merge branch 'font-size' into 'squeekboard'
hack: Adjust font size

See merge request Librem5/squeekboard!15
2019-07-01 15:41:10 +00:00
d729bb3a89 hack: Adjust font size 2019-07-01 15:27:06 +00:00
e46af41abf layouts: Fixed spacing 2019-07-01 12:57:52 +00:00
0809db9e32 Remove some rendering code with no effect and warnings 2019-06-22 12:56:33 +00:00
7eead1c1ff Fix some mistakes. 2012-03-23 18:07:05 +09:00
048e08b59a Factor out symbols from keyboard file. 2012-03-23 18:07:01 +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
74550d2424 Fix label alignment when the text is RTL. 2011-09-30 11:48:36 +09:00
0772898b83 Improve icon rendering. 2011-08-24 17:05:41 +09:00
a6bde78168 Highlight locked modifiers. 2011-08-22 14:44:46 +09:00
383c93a415 Fix fit-size calculation. 2011-08-18 18:06:52 +09:00
b6beeedc26 Improve key-repeat behavior. 2011-08-16 16:30:13 +09:00
2d2aea009e Rewrite 15c0a9da using cairo_pattern_set_extend. 2011-08-12 16:25:56 +09:00
ac8764b9b7 Fix compiler warnings. 2011-04-19 11:56:00 +09:00
c44ebecfb2 Improve font size computation. 2011-03-10 17:16:31 +09:00
ace4391b79 Use font from style. 2011-03-08 10:41:45 +09:00
627cbf2898 Pass base_font during size calculation. 2011-03-08 07:04:12 +09:00
baae80fa41 Port st-theme-context.[ch] to eek-theme-context.[ch]. 2011-03-08 06:58:20 +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
f1b91c0223 Add border style configuration (WIP). 2011-03-07 19:01:10 +09:00
cadb0f18a9 Fix gradient drawing. 2011-03-07 16:51:01 +09:00
dd86b132ce Set pseudo class "active" to EekKey if the key is pressed. 2011-03-07 12:38:32 +09:00
1db2a4aeea Use g_object_set_qdata() to attach theme-node to element. 2011-03-07 10:42:27 +09:00
d66318a031 Fix the last commit. 2011-03-04 19:04:39 +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
38b226b46f Clear allocation box when drawing keyboard. 2011-03-03 18:18:04 +09:00
8b632356e9 Fix memleaks. 2011-03-03 15:05:59 +09:00
cfd33921a1 Fix crash with clutter build. 2011-03-02 18:49:39 +09:00
64bc7cc955 Fix commit ab08955a. 2011-03-02 16:45:35 +09:00
ab08955a5f Make the return value of eek_symbol_get_label const. 2011-03-02 16:15:16 +09:00
18f8e5b98b Draw key with icon if EekSymbol has "icon-name" property. 2011-03-01 11:57:07 +09:00
22c70976db Remove unused get_keyboard function. 2011-02-24 10:37:48 +09:00
faa5d60bea Make the default border width to 1. 2011-02-23 05:45:46 +09:00
7916930160 Implement serialization to GVariant. 2011-02-14 14:13:02 +09:00
aed12cd831 Make sure to disconnect signal handlers on dispose. 2011-02-01 12:25:34 +09:00
6258476713 Don't ignore unknown keysym category. 2011-02-01 07:32:23 +09:00
a7b276c3c4 Use "M" to calculate font size if a keyboard has no letter key. 2011-01-29 10:59:34 +09:00
b004a92e8a Fix EEK_MODIFIER_BEHAVIOR_LATCH when pressing Shift twice. 2011-01-28 16:55:01 +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
70df392647 Avoid to use Clutter scaling feature. 2011-01-25 18:10:42 +09:00
f094466d64 Add license text. 2011-01-25 11:10:53 +09:00