Commit Graph

172 Commits

Author SHA1 Message Date
Jean-Philippe Andre 2065aedc44 win: Remove font & image cache functions
Those actually belong to elm_config, or rather Efl.Config:
  efl_config_int_set("cache_image_cache_size", 42);
  efl_config_int_set("cache_font_cache_size", 1337);
2016-06-30 14:34:59 +09:00
Jean-Philippe Andre 50ff649c1d win: Change type of composite interface for Efl.Config
Use Efl.Config.Global instead, since it's what the window will
expose, and it provides access to the "profile" config options.
2016-06-29 11:08:51 +09:00
Jean-Philippe Andre 47a1fae200 efl: Introduce general Efl.Config API
This is to port elm_config to EO APIs.

The current implementation relies on the legacy API, by
simply forwarding calls.

The new API is simply efl_config_set("config_name", value)
where value is an Eina_Value (aka. generic_value).
The C interface proposes a few helpers like config_int_set,
config_double_set, etc...

Unfortunately at the moment, not all config options are
supported, as some rely on more complex types:
- lists
- color class and multiple arguments
- unset functions
- enums

Profiles are also not handled at this point.

@feature
2016-06-24 16:57:04 +09:00
Jean-Philippe Andre 17c531658f win: Add property accel_preference
It supports the same syntax as the config value, but
overrides it. This provides a more convenient way to select
the acceleration for a single window.

Its get() value should be what was effective when the window was
created. So it can depend on the config or a previous call
to set().

@feature
2016-06-23 17:44:37 +09:00
Jean-Philippe Andre 7bf8da2baa evas: Rename Evas.Object to Efl.Canvas.Object
One step closer to make the EO inheritance tree look like
it's all Efl.
2016-06-21 14:35:19 +09:00
Jean-Philippe Andre 52f9220b3f Evas: Rename smart object into Efl.Canvas.Group 2016-06-17 19:32:43 +09:00
Jean-Philippe Andre 42b63f5507 Evas: Add smart_ prefix to all smart functions (eo)
This is a first step at separating legacy smart
object features away from standard efl interfaces.
2016-06-17 19:25:48 +09:00
Ji-Youn Park 1f127fe45a efl_ui_win: move some APIs get the object's list in special location to efl_ui_win.
The apis to get the object or object list in special location is useful.
like game app.
so move these APIs from evas canvas to efl_canvas.
2016-06-17 16:06:26 +08:30
Ji-Youn Park 76d2778177 efl_ui_win: add some evas feature(pointer, cache ) to efl.canvas and efl_ui_win
evas will be internal, so APIs need to open public are moved efl.canvas eo
and efl_ui_win.
2016-06-17 10:30:22 +08:30
Jean-Philippe Andre 8a0e74afa8 evas: Move canvas events to a common interface
This merges window and evas events into a single name.
Some events are marked as @beta as they shouldn't really be
part of our EO API.
2016-06-14 16:27:42 +09:00
Jean-Philippe Andre dd24c588fa win: Add event device,changed 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre 4bb8a6bd21 win: Add focus events (in, out, object in/out) 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre be82f4f0fd win: Add event render,pre 2016-06-13 20:33:29 +09:00
Jean-Philippe Andre 3bee499503 win: Add new API win_name_get (EO and legacy)
I see no reason to have a set and no get.

@feature
2016-06-10 13:21:16 +09:00
Jean-Philippe Andre 29132d3c25 win: Add legacy elm_win_type_get
This was present in earlier releases.
2016-06-10 13:06:34 +09:00
Jean-Philippe Andre 62c5ebc784 Efl: Add screen_ prefix to all Efl.Screen apis
This will resolve conflicts between Gfx.size and Screen.size.
2016-06-08 17:25:06 +09:00
Jean-Philippe Andre 5542d6dc48 Efl: Add hint_ prefix to all size hints
This covers:
- base
- step
- aspect

The prefix hint_ is useful for bindings, and does not change
the generated C API.
2016-06-08 17:20:44 +09:00
Jean-Philippe Andre cfa739fbf6 win: Implement aspect control with Efl.Gfx.Size.Hint
This changes the API from a double to int, int.
Still not sure which API variant is the best (int,int or double).
2016-06-08 17:09:01 +09:00
Jean-Philippe Andre c5663ddb84 win: Forward render_post events from evas to window
To do: optimize event forward when no one is listening.
2016-06-08 13:59:08 +09:00
Ji-Youn Park 41aa19447c efl_ui_win: Disable legacy for name and type set
Those are only valid during eo_add, before finalize.
Both of these are constructors.
Add again jp's code.
2016-06-08 09:01:53 +08:30
Ji-Youn Park 54f88b0368 efl_ui_win: Add back title_set as text.set
add jp's code again.
2016-06-08 08:56:39 +08:30
Ji-Youn Park 8cf9ee67bd efl_ui_win: rename elm_win to efl_ui_win 2016-06-07 23:11:48 +08:30