Commit Graph

20 Commits

Author SHA1 Message Date
6fc351d2e8 eekkey: Dropped in favor of Button
Each Button has a KeyState, which may be shared with other buttons. The list of pressed and locked buttons is used as a list of keys, causing a search for the button in the current view.
2019-08-18 13:22:18 +00:00
0c83101b3f container: Drop parent reference 2019-08-18 13:22:17 +00:00
fc683de434 keyboard: Pass the current view instead of level 2019-08-18 13:20:43 +00:00
f371b14e89 levelkeyboard: Use a layer for managing keyboard views 2019-08-08 19:26:21 +00:00
53b89aae45 symbol: Remove remains 2019-08-08 19:18:29 +00:00
077ca8fad2 level: Make keyboard the only source of level data 2019-08-08 19:18:29 +00:00
42b2b3b8f6 Replace the Eek theme support with GTK classes
This brings the appearance of the keyboard basically in line with what
was there before. The background and key borders still need to be fixed
and the text and icons should probably be drawn using the style context.
2019-08-02 17:04:16 +02:00
f7dd4c84b1 renderer: Render label directly 2019-08-02 09:21:38 +00:00
d0fa444a0e Honor the outputs scale factor 2019-07-15 13:13:34 +02:00
cd81aeb286 get_icon_surface: Add a scale argument
This will allow us to pass the output scale around
2019-07-15 13:13:34 +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
0772898b83 Improve icon rendering. 2011-08-24 17:05:41 +09:00
baae80fa41 Port st-theme-context.[ch] to eek-theme-context.[ch]. 2011-03-08 06:58:20 +09:00
f1b91c0223 Add border style configuration (WIP). 2011-03-07 19:01:10 +09:00
37c2579253 Merge theme handling code (WIP). 2011-03-04 18:52:25 +09:00
18f8e5b98b Draw key with icon if EekSymbol has "icon-name" property. 2011-03-01 11:57:07 +09:00
f094466d64 Add license text. 2011-01-25 11:10:53 +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
12550f4bc3 Re-implement Cairo-based rendering. 2011-01-22 11:42:56 +09:00