Commit Graph

93 Commits

Author SHA1 Message Date
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Cedric BAIL 6d9e3d69be elementary: check against NULL widget also.
SVN revision: 64175
2011-10-19 12:15:41 +00:00
ChunEon Park d946ca77cc elementary - removed ELM_CAST macro
SVN revision: 64138
2011-10-18 00:25:52 +00:00
ChunEon Park 0368cf0de6 Elementary/elm_widget - removed useless macros.
SVN revision: 63939
2011-10-10 06:10:34 +00:00
Daniel Juyung Seo 93eed9dd9a elm: Removed trailing whitespaces.
SVN revision: 63512
2011-09-21 10:37:23 +00:00
ChunEon Park 0e7f321153 elementary/widget - added one missing stuff.
SVN revision: 63467
2011-09-19 04:59:43 +00:00
ChunEon Park a1f1eb1689 elementary/elm_object_item - added signal emit func.
SVN revision: 63424
2011-09-16 02:10:07 +00:00
Mike Blumenkrantz c705290b44 make ELM_CHECK_WIDTYPE & co macros useful. would you believe this macro came from my first ever code patch :D
SVN revision: 63334
2011-09-12 02:06:27 +00:00
Tom Hacohen e36e207812 Elm tooltip: Added checks if the object passed is an elm object.
SVN revision: 62919
2011-08-28 14:12:38 +00:00
Carsten Haitzler 27d751a236 and now add custom access info for items too and clean up nicely.
SVN revision: 62734
2011-08-24 06:39:29 +00:00
Carsten Haitzler dbb4cbed93 and now do toolbar - showing how to add access stuff to items in a
widget



SVN revision: 62733
2011-08-24 06:29:13 +00:00
Carsten Haitzler 04cfa6a54f make access hilight follow object around and vanish it target is
hidden or deleted.



SVN revision: 62714
2011-08-23 08:46:01 +00:00
Carsten Haitzler ee218406b0 add visual feedback on accessibility mouseover too
SVN revision: 62713
2011-08-23 07:44:49 +00:00
Carsten Haitzler 3d52581f0e and start on allowing modified behavior when in access mode. ie turn
it on and off. just settable by env var and config file for now.



SVN revision: 62591
2011-08-19 14:39:27 +00:00
Carsten Haitzler a3592b4da6 and now add a "clicked" say... when u click.
SVN revision: 62587
2011-08-19 11:47:30 +00:00
Carsten Haitzler 430e7463f5 this is... the beginning of accessibility supportin elm. it's direct
as in elm manages it itself - all it needs is a module to send text
to. one is provided here that just execs espeak and handles a stream
of things for it to say. this is only a start and is still being
fleshed out.



SVN revision: 62585
2011-08-19 11:07:42 +00:00
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