Commit Graph

34 Commits

Author SHA1 Message Date
Daniel Kolesa c075f15d67 eo: sync with latest Eolian changes and introduce a harmless temporary hack 2015-05-12 16:27:09 +01:00
Vitor Sousa d9174d4bc0 elm_win: Move enums to elm_win.eo
Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.

Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.
2015-05-07 16:00:03 -03:00
Vitor Sousa 7d21b7beb1 elm_win: Replace elm_win_constructor by constructing properties
Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:

  eo_add(ELM_WIN_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC));

Also, the "title" property can be set at creation now.
2015-05-07 13:55:27 -03:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Vitor Sousa 7b74f29445 Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350
2015-05-06 15:46:46 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0b6bacd035 Elm widget+item: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Youngbok Shin b48ab5e101 widgets: Apply default return value according to description in .eo or add description too.
Summary:
1) According to description in .eo file,
some APIs return not 0 when the given object is NULL or not proper object.
But, several APIs are not implemented as those description.
Now, they will return a value as description.
2) If there is no description about the return value when the API fail,
put description according to pair API or old version of elementary.
@fix

Reviewers: woohyun, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1933
2015-02-09 13:09:05 +09:00
Youngbok Shin 82f1aebd01 win: Add default return value at elm_win_type_get API according to API description.
Summary: The API must return ELM_WIN_UNKNOWN (-1) when the given object is improper.

Test Plan: None.

Reviewers: woohyun, JackDanielZ, seoz

Differential Revision: https://phab.enlightenment.org/D1907
2015-01-30 11:04:24 +09:00
Tom Hacohen 12d383709d Elm win: Fix added internal parameter to the win constructor.
Internal hacks should not affect user facing API. This commit adds a new
API to do the internal hack. This is still bad, but it's much less than
what was there before.

This fixes the main issue introduced by commit:
63a5cdf0f8516c16a62233da0c2af0e10a13264b
2015-01-12 10:13:34 +00:00
Mike Blumenkrantz 28872897b5 +elm_win_fake(), ELM_WIN_FAKE type
this is a giant hack to provide widget parenting in e. do not use this function, do not use this type, do not even read the related documentation.

@feature
2015-01-10 00:36:17 -05:00
Daniel Juyung Seo 400e451f8f win: Add more description for automatic switch to alpha window by theme.
This is a documentation for e07061c5d5a9b1ec79278da82208ad486937b873.
2014-12-16 02:09:16 +09:00
Daniel Juyung Seo b1531e71c7 win: Support elm_win style change and runtime theme change.
@feature
2014-12-16 01:45:59 +09:00
Daniel Juyung Seo 4406302421 elm: Modify document for APIs.
Retrieve -> Get as the API says.
This is not a critical change but was done due to the consistency.
2014-11-19 19:51:57 +09:00
Adrien Nader bfd57b3d84 doc: fix mismatched variable names between prototypes and doxygen comments.
Several APIs are marked as not documented simply because the doxygen
documentation mentions a parameter named "foo" while the spelling in the
prototype is something like "fooh". An example correction is
  - * @param fsize Finger size
  + * @param sz Finger size

Nothing very complicated and there are also a couple typo fixes I noticed
while going over the files.
2014-10-20 18:42:21 +02:00
Tom Hacohen 8a1c279e16 Elm win: Rename duplicate eo property wm_manual_rotation_done.
This has to be renamed otherwise it clashes for bindings.
2014-10-09 12:28:34 +01:00
Mike Blumenkrantz 82c7788148 +elm_win_trap_data_get()
needed when using win traps to get the trap ctx at non-hookpoints
2014-09-23 17:38:22 -04:00
Daniel Kolesa 6a76c2e9da update according to latest eolian changes 2014-09-10 15:09:08 +01:00
Daniel Kolesa 05f0cdddb9 update as per latest eolian changes 2014-09-01 15:57:56 +01:00
Daniel Juyung Seo 9df412f9b8 elm: Added # for enum in the documenation. 2014-09-01 00:44:10 +09:00
Daniel Kolesa a30da9253e update according to latest eolian changes 2014-08-27 15:44:11 +01:00
Tom Hacohen d24479610b Win: Add an animator,tick event (not currently implemented).
This event will be used to replace ecore_animator.
2014-08-21 11:04:28 +01:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Lukasz Stanislawski 09b9ef0bc0 atspi: expose more actions through atspi bus.
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Carsten Haitzler 057611a7e4 elm win noblank property added - to disable screen blanking/saving
@feature

this adds a per-window property of "noblank". this implies turning
offf the screensaver whenever there is a window visible with this
property set on it. only x11 support atm.
2014-07-21 11:39:32 +09:00
Daniel Juyung Seo b0b527ab22 elm_win: added focused and unfocused smart callback descriptions.
This was removed by a commit 8519257.
The removal of redundant smart callback call was good but we need to
have these descriptions still.
2014-07-15 02:06:26 +09:00
Kateryna Fesyna 34e2c8ae8a Win: Delete "focused" and "unfocused" signals emission because they duplicate Widgets signals
Summary:
"focused" and "unfocused" signals are emitted from Win and Widget. This causes
signals duplication when window is unfocused. To avoid this duplication, emission of these
signals is deleted from the Win.

Reviewers: cedric, Hermet, seoz, raster, reutskiy.v.v

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1183
2014-07-14 19:30:25 +09:00
Daniel Kolesa 815acbc305 move all eo files to new builtin bool type 2014-07-11 14:44:47 +01:00
Tom Hacohen 1bcdadb52e Eolian classes: Fix according to namespace changes in efl. 2014-06-30 17:52:16 +01:00
Daniel Kolesa 26df495e67 change the type syntax in eo files according to latest eolian changes 2014-06-28 23:51:25 +01:00
Daniel Kolesa fb62fde68f move all eo files to new namespace syntax 2014-06-20 10:47:39 +01:00
Tom Hacohen efa41c7d75 Elm: Update code to use the new class names generated by eolian. 2014-06-03 11:54:44 +01:00
Lukasz Stanislawski c3b541bcda atspi: refactor atspi_object class into mixins.
Summary:
Allow to create ATSPI aware objects only by attaching Atspi interface to
Eo object. Apply protected rule to all methods, properties which should
not be available to app developer. Remove public atspi header from Elementary.h.
Make Elm_Widget inherit from Atspi interfaces, Elm_Win inherits additional
Atspi_Window interface.
Unified file names - all atspi related objects/interfaces can be found under
elm_atspi_*
and elm_interface_atspi_*.

Test Plan:
build&install, out-off tree example compilation with gcc and g++,
Orca screen reader tests on Ubuntu 12.04.

Reviewers: raster, seoz, tasn, JackDanielZ

Differential Revision: https://phab.enlightenment.org/D718
2014-04-21 12:46:12 +09:00
Daniel Zaoui ad6a078501 Eolian: Integration of Win 2014-03-31 10:23:51 +03:00