Commit Graph

75 Commits

Author SHA1 Message Date
Mike Blumenkrantz 49ab1fb009 clean up some of this horrific function pointer debacle
SVN revision: 62322
2011-08-10 23:43:50 +00:00
Daniel Juyung Seo b8e186dcad elm: Refactoring. Removed trailing whitespaces and fixed indentation.
SVN revision: 62281
2011-08-10 04:35:31 +00:00
WooHyun Jung bda792c39a elementary : elm_win didn't be focused/unfocused following the focus
state of its ecore_evas.


SVN revision: 62235
2011-08-09 08:36:02 +00:00
Carsten Haitzler 465ca66ed3 we really should focus when we release mouse AND on_hold is... NOT
set. happy happy joy joy.



SVN revision: 62197
2011-08-08 10:32:32 +00:00
Tom Hacohen 6c47d15666 Elm entry: Fixed 'Paste' to only show if there clipboard isn't empty.
SVN revision: 62193
2011-08-08 07:51:02 +00:00
WooHyun Jung 85351c10c5 elementary : Focus movement is possible with arrow keys. You can check
this feature in elementary_test -> focus. 


SVN revision: 62125
2011-08-05 08:25:07 +00:00
ChunEon Park 646f514d34 elementary/elm_widget - patched by hyoyoung.chang@samsung.com
[E-devel] [patch] elm_widget - elm_widget_type_unregister

Dear developers.

This patch is adding a api to elm_widget.
In elm_widget, there is an api to register widget type to elementary's own
list.
However it doesn't provide unregister api.
So I made this patch.

Most of case, it's not needed. But in some case, it's useful.
(such as elm objects in DSO, if a DSO unloaded, registered widtype is
invalidated)

Thank you



SVN revision: 62099
2011-08-04 17:10:17 +00:00
ChunEon Park c2736b1e8b elementary/elm_widget - removed white space.
SVN revision: 62096
2011-08-04 15:37:34 +00:00
ChunEon Park d16f2e9938 elementary/elm_widget - implemented elm_wiget_item_content_set_hook_set series.
SVN revision: 62095
2011-08-04 15:15:40 +00:00
ChunEon Park e97d8d28ff elementary/elm_widget - oops. recorvered a missing struct and added a macro to verify elm_object_item
SVN revision: 62084
2011-08-04 08:52:49 +00:00
ChunEon Park 44dd8c0765 elementary/elm_widget - added a casting macro
SVN revision: 62082
2011-08-04 08:15:12 +00:00
ChunEon Park 4f559a7cdb elementary/elm_widget_item - wrapped the elm_widget_item with elm_object_item
But wonder, is it really needed the auto casting macros?

Why user not just use the elm_widget_item directly
and make their item data structures dangled to elm_widget_item just like smart object?



SVN revision: 62079
2011-08-04 05:06:02 +00:00
ChunEon Park bcd5e510b7 elementary - just renamed paramenter names for consistency.
SVN revision: 62053
2011-08-03 12:27:57 +00:00
ChunEon Park f14c66d340 elementary/elm_object_item - modified for consistency (naming, macros)
SVN revision: 62050
2011-08-03 11:55:24 +00:00
ChunEon Park 1acea3d138 elementary/common - exported Elm_Object_Item type and a few common item APIs.
SVN revision: 62047
2011-08-03 09:34:00 +00:00
Carsten Haitzler 4f64dc8441 fix re-focusing of widgets once inlined window is focus. kind of
tricky requiring a 2nd shadowed parent.



SVN revision: 61989
2011-08-02 10:34:30 +00:00
WooHyun Jung 73057c35bd elementary/elm_main : Add elm_object_tree_unfocusable_set/get. This
API will set an object and its child objects to be
unfocusable/focusable.


SVN revision: 61838
2011-07-28 06:58:29 +00:00
ChunEon Park 2b8ae14cd2 elementary - added common APIs elm_object_content_set/get/unset
Now need to widgets use them. 



SVN revision: 61802
2011-07-27 09:49:14 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
WooHyun Jung 26d14e25c9 elementary/elm_widget : add focus_disabled_handle.
SVN revision: 61270
2011-07-12 08:22:16 +00:00
Daniel Juyung Seo a4ba91dd39 elm conform: Eina_Bool parameter is added to API
elm_widget_show_region_set to set the show region always. Earlier, the
API expects some change, to redo the job. Patch by Prince Kumar Dubey
<prince.dubey@samsung.com>

------- Original Message -------
Sender : PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Date : 2011-05-20 17:41 (GMT+09:00)
Title : [E-devel] [Patch] elm_conform patch

Hi Mr Seo,
Can you please send the attached patch of elm_conformant to EFL ope-src community.
Change Log:
Eina_Bool parameter is added to API elm_widget_show_region_set to set
the show region always. Earlier, the API expects some change, to redo the job.
This enhancement is already approved by raster in gerrit review.

Thank you.
Regards,

Prince


SVN revision: 61148
2011-07-08 07:50:36 +00:00
Tom Hacohen 4b0af66c91 Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
This name is better as it also applies for entries, and not just
for labels.

SVN revision: 60975
2011-07-04 09:18:16 +00:00
Mike McCormack 75b14b3c7f elementary: Add hooks to set label get/set functions
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60796
2011-06-29 06:41:10 +00:00
Mike McCormack 6488c3d956 elementary: Add generic label getter and setter
These need to be hooked into each widget, one by one.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60795
2011-06-29 06:40:59 +00:00
Daniel Juyung Seo 8c7b5da537 Elementary elm_widget: Use Eina_Bool instead of int for boolean type.
SVN revision: 58969
2011-04-27 16:12:56 +00:00
Carsten Haitzler 59f8230bb5 kbd input/fcosu works on inlined wins. wootsors
SVN revision: 58664
2011-04-14 12:47:16 +00:00
ChunEon Park cc5e358c45 elementary / widget - removed semicolon
SVN revision: 58556
2011-04-11 15:56:36 +00:00
Daniel Juyung Seo 8a108db5ab Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
SVN revision: 58283
2011-04-03 05:32:17 +00:00
Daniel Juyung Seo 3cc69929db Elementary elm_widget.h: Removed trailing whitespaces.
SVN revision: 58246
2011-04-01 08:05:24 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Daniel Juyung Seo 32778a770a Elementary magic key: Fixed typo.
SVN revision: 57001
2011-02-14 01:47:51 +00:00
Carsten Haitzler 66dbccf4c9 annoy people using elm's widget api!
SVN revision: 56987
2011-02-13 14:58:38 +00:00
Tom Hacohen 04c2eda677 Elementary ui-mirroring: move elm_widget_mirrored_* functions to elm_widget.h.
and created elm_object_mirrored wrappers for them.

SVN revision: 56893
2011-02-10 08:29:24 +00:00
Tom Hacohen 22fb070ad7 Elementary widget: Remove two functions from elm_widget.h. They are supposed to be only in Elementary.h no idea how it got to elm_widget.h
SVN revision: 56841
2011-02-09 14:41:12 +00:00
Tom Hacohen 689ff9abd5 Elementary: Added the infrastructure for ui-mirroring support.
* Added elm_mirrored_get/set to set the system mirrored mode
* Added elm_widget_mirrored/get/set to set each widget's mirrored mode.
* Added code to set the system mirrored mode from translations to elementary and added translations for all the rtl languages. (a trick to load according to locale).
* Future commits will include specific widgets mirrored mode handling.
Work by Aharon Hillel and Tom Hacohen.

SVN revision: 56673
2011-02-03 15:52:49 +00:00
Fabiano Fidêncio 0f2b624dc3 Fixed elementary/src/lib/elm_widget.h doxygen.
Fixed typos and removed unnecessary lines.

Patch by Daniel Juyung Seo (SeoZ)



SVN revision: 55787
2010-12-31 08:45:45 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
Tiago Rezende Campos Falcao 31152f038c RIP elm_widget_focus_jump
The last call to this method was removed. This method broke the focus
tree and we don't need it anymore.

SVN revision: 55410
2010-12-09 13:07:45 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00
Tiago Rezende Campos Falcao af5625cca4 Add test and checker to widget items
SVN revision: 54089
2010-11-02 11:26:44 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Tiago Rezende Campos Falcao ece2114120 Review type checkers in main and widget
SVN revision: 53732
2010-10-21 18:58:40 +00:00
Tiago Rezende Campos Falcao b8ac8c0e80 Added focus_direction_go entry in API.
Also, exported the focus_cycle.

SVN revision: 53659
2010-10-20 12:38:27 +00:00
Brett Nash 9b9dc594da elm_dnd: Add HTML encoding support: Callback only
SVN revision: 53559
2010-10-18 04:49:00 +00:00
Brett Nash 6bb0365d9c Add optional drop callback to elm_selection get.
SVN revision: 53557
2010-10-18 04:48:49 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00