Commit Graph

242 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 1ab8266b77 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70718
2012-05-03 22:42:20 +00:00
Gustavo Lima Chaves a239210a0d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70717
2012-05-03 22:42:15 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 7f2ba3a399 [Elm] Set this call free again.
SVN revision: 70671
2012-05-02 17:07:36 +00:00
Gustavo Lima Chaves 60cc8e20a1 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70641
2012-05-02 16:59:01 +00:00
Gustavo Lima Chaves 5869e3bd8d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70640
2012-05-02 16:58:56 +00:00
Carsten Haitzler d76345fc8a use profate atof that fixes up locale issues for string -> float
conversion.



SVN revision: 70485
2012-04-26 03:32:18 +00:00
Christopher Michael 42865eba02 Elm: Update functions for moving/resizing elm_window (when a wayland
client).



SVN revision: 70448
2012-04-24 17:32:44 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
WooHyun Jung c9b889f338 elementary/elm_win : Patch from Rajeev. Thanks. - Removed the
unnecessary comparison for sub-object list not being NULL as it has
been done aleady earlier.


SVN revision: 69972
2012-04-09 10:56:42 +00:00
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00
ChunEon Park c35d5ac903 elementary/win - [E-devel] [Patch][Elementary] Patch for elm_win to fix the focus chain issue in case of a widget added as a normal sub-object, not a resizable object
Current Issue:
Currently when we add a widget to window as a sub-object, e.g.
elm_notify_add(win) which internally calls elm_widget_sub_object_add
then the focus chain using <TAB> includes only
the first focusable subitem of the widget, not all.
Whereas with elm_win_resize_object_add, it works fine and cycles to
all focusable sub-items of the widget.

Reason:
The reason is that we are appending sub-object to the list in
elm_win which is used for focus chain, only in case of
elm_win_resize_object_add.

Change Description:
Added a new API: EAPI Eina_List
*elm_widget_sub_object_list_get(const Evas_Object *obj);
This API returns the list of sub-objects of an elementary widget
(sd->subobjs) where sd is Smart_Data pointer obtainted using
elm_widget_smart_data_get(obj).
We have used this API in elm_win for focus_next_hook implementation.

Signed-Off-By: RAJEEV RANJAN<rajeev.r>@samsumg.com>



SVN revision: 69943
2012-04-06 06:19:16 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Carsten Haitzler 01994a641a use new ref_get func in object cleanup for windows.
SVN revision: 69723
2012-03-29 07:46:59 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Vincent Torri cbd838c174 Elm: typo in comment
SVN revision: 69515
2012-03-20 04:40:36 +00:00
Jiyoun Park fb217ce3a9 remove deprecated code related with
elm_win_transparent_XXX
function.


SVN revision: 69240
2012-03-12 10:03:38 +00:00
myoungwoon kim 41148d0c62 From: myoungwoon kim <myoungwoon@gmail.com>
Subject: [E-devel] [Patch] Ecore, Elementary: Supporting indicator
opacity mode

This is Myoungwoon Roy Kim.

This patches are for supporting the indicator's opacity mode and made by
Jeonhoon Park(jh1979.park@samsung.com) who is responsible for Indicator
application.

Requirements:
- In mobile device, Indicator area should be displayed as Opacity,
Transparency, or sometimes Translucency according to the UX
requirements.
This requirement can be applied in case of fullscreen based menu and
fullscreen applications like video player etc.

Functional requirements:
1. User can set indicator's opacity mode as opacity, transparency, and
translucency
2. User can get the current indicator's opacity mode.

Currently there are no APIs for supporting the upper functional
requirements.

Thus, he added support for indicator's opacity mode.
It is designed for EFL developers easily to set the indicator's opacity
like the existing indicator's mode.
He added a Elm_Win_Indicator_Opacity_Mode structure variable into
Elm_Win
structure.
Meanwhile, new two APIs are implemented independently from the existing
source code.

Anybody please review this and apply it to upstream code.



SVN revision: 68959
2012-03-07 14:27:36 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
Carsten Haitzler 7542e629d3 deprecate elm_win_transparent stuff
SVN revision: 68698
2012-03-05 12:03:40 +00:00
Carsten Haitzler 8a65fc1495 add a proper elm api to request a prefeered evas rendering engine.
SVN revision: 68553
2012-02-29 12:45:58 +00:00
Carsten Haitzler 307eb11c75 and now add/implement window icon too. awesome++!!!!!!!
that set of missing stuff that u needed ecore_x for is now done. ugh.
more stuff to do.



SVN revision: 68551
2012-02-29 12:06:12 +00:00
Daniel Juyung Seo 93981f37c3 elm win: Fixed typo. Patch by Jeremy Zurcher <jeremy@asynk.ch>
On Wed, Feb 29, 2012 at 5:10 PM, J??r??my Zurcher <jeremy@asynk.ch>
wrote:
elm_win_widthdrawn_get -> elm_win_withdrawn_get

Jeremy

SVN revision: 68541
2012-02-29 08:56:40 +00:00
Daniel Juyung Seo fd19596e5a elm win: Commented unused function.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68533
2012-02-29 05:05:50 +00:00
Christopher Michael bf0c4315fa Elm (wayland): Set frame clip. Fix maximize/unmaximize in wayland.
SVN revision: 68524
2012-02-28 22:52:34 +00:00
Christopher Michael 36f0bb5003 Elm (wayland): Update elm code to reflect recent efl wayland changes.
SVN revision: 68519
2012-02-28 21:58:34 +00:00
Carsten Haitzler f0433e3a5e add callbacks for knowing several states of a window and more api's to
control a windows properties



SVN revision: 68502
2012-02-28 11:20:35 +00:00
Carsten Haitzler 8b615e6dda actually on reflection - doyoun - indicator mode should be like this.
SVN revision: 68432
2012-02-25 05:14:19 +00:00
Doyoun Kang d15d98327f From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: Add feature for showing/hiding indicator

Hi, raster.
As we discussed about indicator, i added feature for indicator.
Please check attached patch files.

1. elementary
i added enumeration to Elm_Illume_Command as below.
- ELM_ILLUME_COMMAND_INDICATOR_SHOW
- ELM_ILLUME_COMMAND_INDICATOR_HIDE

2. ecore
i added atoms/enumerations/APIs as below.
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_ON;
- Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_OFF;

typedef enum _Ecore_X_Illume_Indicator_State
{
   ECORE_X_ILLUME_INDICATOR_STATE_UNKNOWN = 0,
   ECORE_X_ILLUME_INDICATOR_STATE_OFF,
   ECORE_X_ILLUME_INDICATOR_STATE_ON
} Ecore_X_Illume_Indicator_State;
         
EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);
EAPI Ecore_X_Illume_Indicator_State
ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
Ecore_X_Illume_Indicator_State state);



SVN revision: 68410
2012-02-24 12:33:11 +00:00
Cedric BAIL 9cc9235a0a elementary: oops revert.
SVN revision: 68396
2012-02-24 11:04:06 +00:00
Cedric BAIL 4c6f423481 elementary: avoid segv and don't duplicate call.
SVN revision: 68395
2012-02-24 11:02:55 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +00:00
cnook df26dee932 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_win] elm_win_title_set(); can make a
crash with NULL

Have ever try to call elm_win_title_set(win, NULL)? Then try... :-] It
makes "Segmentation Fault".
Yeah, we can add patch in the Ecore side, but we can prevent the
segmentation fault before go inside.
Please check the patch and give any feedbacks. Thanks a lot.



SVN revision: 68154
2012-02-20 11:48:31 +00:00
Christopher Michael a4b470eced Elm: Call function to set wayland mouse pointer.
SVN revision: 67817
2012-02-10 09:17:49 +00:00
Christopher Michael dcee2d3a6b Elm: Start on wayland pointer handling code. (draws but not complete
yet).



SVN revision: 67814
2012-02-10 08:37:16 +00:00
Michael BOUCHAUD 4f51d4593d elementary: add hooks text to elm_win, from Davide Andreoli. Thanks!
SVN revision: 67743
2012-02-07 23:39:19 +00:00
Daniel Juyung Seo 4d06eea2bd elm win.c: Removed unnecessary variable.
SVN revision: 67253
2012-01-17 00:02:02 +00:00
Jiyoun Park c54c6c1ae9 Add new widget for extn socket and plug.
application can use ecore extn socket easyily 
by using elm_window_add with ELM_WIN_SOCKET_IMAGE style. 
And new widget Elm plug is similar with Elm image. 
it can show socket's image using connect API. 
I add test code also(test_win_socket/plug). 



SVN revision: 67245
2012-01-16 17:18:20 +00:00
Christopher Michael 3e83e40a23 Elementary: Added Wayland_Egl backend support.
Modified elm_win to use generic wayland_resize function (for
ecore_evas).



SVN revision: 67134
2012-01-12 09:10:27 +00:00
Christopher Michael 4603acbf0f Elm (wayland): Handle frame resize via edje callbacks.
SVN revision: 66968
2012-01-08 11:23:59 +00:00
Christopher Michael c74314f98b Elm (wayland): Use edje signals for move/resize/close, etc, etc on
frame.
Implement 'close' on frame (works).



SVN revision: 66862
2012-01-04 09:30:05 +00:00
Christopher Michael 26127e35b9 Elm (wayland): Add ability to actually move windows around in wayland.
Remove __UNUSED__ on a variable that is actually used (in callback_show).



SVN revision: 66809
2012-01-03 20:41:49 +00:00
Mike Blumenkrantz ac529422ec more sprintfs
SVN revision: 66778
2012-01-03 05:30:13 +00:00
Christopher Michael 59e83e370e Elm: Add wayland_shm engine for Elm. Add config entries for the
Wayland Engine. Give elm window some 'framespace' and borders for
wayland_shm.

NB: This means that you can now build & run elm apps for Wayland :)



SVN revision: 66767
2012-01-03 01:45:22 +00:00
WooHyun Jung dbf9d0065b elementary/elm_win : when window is shonw at the first time, only
elm_win should be set as focused. not for child objects.


SVN revision: 66174
2011-12-14 00:43:15 +00:00
Mike Blumenkrantz 5b3283d6b5 <stefan_schmidt> discomfitor: successful commits are often just a compile away.
SVN revision: 65914
2011-12-05 16:05:11 +00:00
Mike Blumenkrantz 6a4c087750 better use of sub-object-del
SVN revision: 65911
2011-12-05 15:32:53 +00:00
Mike Blumenkrantz ba25d2754d use sub-object-del signal for win stuff
SVN revision: 65910
2011-12-05 15:27:32 +00:00
Mike Blumenkrantz c74f2f3db5 fix super annoying elm_win bug that went something like this:
win_resize_object_add(win, subobj);
object_content_set(otherobj, subobj);
object_del(win);


ERR<21326>:elm-externals elm_widget.c:978 elm_widget_sub_object_del() removing sub object 0xdeadbeef (some_stupid_widget) from parent 0xRRRRRRRR (win), but elm-parent is different 0xFUCKTHIS (NOT EVEN A WIDGET)!


SVN revision: 65884
2011-12-05 04:26:32 +00:00