Daniel Juyung Seo
480c61f20a
elm: Formatting. No spacing after casting.
...
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 68807
2012-03-06 11:51:42 +00:00
Jiyoun Park
f1ef54cc87
remove deprecated code related elm_hoversel_item_XXX
...
SVN revision: 68769
2012-03-06 04:49:59 +00:00
WooHyun Jung
6009652735
[elementary] change API name from _scale_set to _resizable_set in
...
elm_image + elm_icon.
SVN revision: 68719
2012-03-05 13:36:01 +00:00
Jiyoun Park
6920a5c1ab
modify code related elm_hoversel_label and icon(deprecated function)
...
SVN revision: 68689
2012-03-05 10:04:53 +00:00
ChunEon Park
c5232c4741
elementary - removed unnecessary checkings
...
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park
fcc6192848
elementary - modified item_del_pre_hook function prototype.
...
Now it returns the bool value to free the widget item.
Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.
SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park
56a881bd35
elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
...
But instead, made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.
SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park
3d40877da4
elementary/hover - deprecated elm_hover_content_set/get/unset
...
SVN revision: 66989
2012-01-09 08:37:29 +00:00
ChunEon Park
569e56e904
elementary - Added 1 more API elm_object_item_del_cb_set()
...
also deprecated below APIs
elm_hoversel_item_del_cb_set()
elm_diskselector_item_del_cb_set()
elm_toolbar_item_del_cb_set()
elm_index_item_del_cb_set()
elm_menu_item_del_cb_set()
SVN revision: 66748
2012-01-02 11:46:32 +00:00
Daniel Juyung Seo
a2d5107e60
elm hoversel: Fixed icon_get/icon_unset API.
...
SVN revision: 66356
2011-12-20 04:51:44 +00:00
ChunEon Park
b62129c878
elemenatry/hoversel - updated doc. deprecated APIs
...
elm_hoversel_icon_set
elm_hoversel_icon_get
elm_hoversel_icon_unset
elm_hoversel_item_data_get
elm_hoversel_item_label_get
SVN revision: 66350
2011-12-20 02:44:46 +00:00
ChunEon Park
49fa96affe
elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
...
**This may break your application compilation**
SVN revision: 66343
2011-12-20 01:03:17 +00:00
Boris Faure
1112d30a41
elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
...
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park
236192cd9a
elementary - modified content_set/get/unset part names to be simple names.
...
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.
i.e for button
elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);
SVN revision: 65295
2011-11-16 12:51:53 +00:00
Daniel Juyung Seo
bafe9c7426
elm: Use appropriate add/del_full for evas event callbacks.
...
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park
8d85b136bf
elementary/button -> use elm_object_content_set/get/unset
...
SVN revision: 64370
2011-10-25 01:23:25 +00:00
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
Jonas M. Gastal
8231e7d76e
Elementary: Hoversel documentation.
...
SVN revision: 61400
2011-07-15 13:54:39 +00:00
Tom Hacohen
fc6c3c3fc8
Elm: Make all the widgets accept "default" as the default.
...
SVN revision: 61002
2011-07-04 10:52:23 +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
Tom Hacohen
666e82caf6
elm hoversel: add the elm_object_text_set/get hooks.
...
deprecate: elm_hoversel_label_set/get
SVN revision: 60860
2011-06-30 05:43:56 +00:00
Tom Hacohen
2d498587d4
Elm: Fix a couple more deprecation warnings and use elm_object_text_set/get.
...
SVN revision: 60809
2011-06-29 09:31:01 +00:00
Daniel Juyung Seo
04b491da11
Elementary: Changed homogenous to homogeneous.
...
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.
SVN revision: 59160
2011-05-04 04:53:39 +00:00
ChunEon Park
86df49c4da
elementary / actionslider, calendar, colorselector, bubble, hoversel, clock
...
- updated them for using common signal callback table.
SVN revision: 58692
2011-04-15 17:01:39 +00:00
ChunEon Park
c7c99ddea6
elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
...
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector
updated signal callback list in the doxygen.
should update genlist, progressbar ...
SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park
0b74203480
elementary - fileselecto, actionslider, anchorview, fileselector_button, anchorblock, fileselector_entry, hoversel, scrolled_entry
...
SVN revision: 58254
2011-04-01 11:51:11 +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
Tom Hacohen
f55a3f4cfc
Elementary: fixed on-the-fly UI-mirroring in elc objects.
...
All sub-objects have auto-ui-mirroring flag turned off now
By Aharon Hillel.
SVN revision: 56922
2011-02-10 15:13:05 +00:00
Tom Hacohen
c04d8990f0
Elementary: Added on-the-fly UI-mirroing support to all of the widgets
...
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen
99da5b6541
Elementary: Added ui-mirroring support for all the widgets.
...
SVN revision: 56803
2011-02-08 12:08:28 +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
helen
030b697366
EINA_SAFETY_ON_NULL_RETURN
...
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary
SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao
a6183287d3
Add checkers to hoversel items
...
SVN revision: 54091
2010-11-02 11:26:50 +00:00
Tiago Rezende Campos Falcao
15d0643b10
Getters should received const pointers
...
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.
* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.
SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao
0e436c7431
Clean hoversel_add
...
SVN revision: 53621
2010-10-19 14:17:11 +00:00
Tiago Rezende Campos Falcao
738bfaa747
Review of content setters, getters and unsetters
...
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.
SVN revision: 53425
2010-10-14 18:54:42 +00:00
Carsten Haitzler
4f3090af01
and handle disables for everything else that has disable hooks.
...
SVN revision: 53138
2010-10-07 07:44:50 +00:00
Tiago Rezende Campos Falcao
7710ab14f0
Hoversel can have focus
...
SVN revision: 53072
2010-10-05 19:09:52 +00:00
Tiago Rezende Campos Falcao
fc4ca8dfe4
Removing event_hook from hoversel
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
Event hook in hoversel is not needed, because the center of the hoversel
is a button that gets the event and calls the activate of the hoversel.
SVN revision: 52889
2010-09-29 12:22:35 +00:00
Tiago Rezende Campos Falcao
8ca4d18a0b
Fixing can_focus to the widgets
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
widgets:
anchorblock: can_focus = EINA_TRUE
anchorview: can_focus = EINA_TRUE
fileselector: can_focus = EINA_FALSE
hoversel: can_focus = EINA_FALSE
notepad: can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble: can_focus = EINA_FALSE
calendar: can_focus = EINA_TRUE
clock: can_focus = EINA_TRUE
conformant: can_focus = EINA_FALSE
flip: can_focus = EINA_FALSE
frame: can_focus = EINA_FALSE
gengrid: can_focus = EINA_TRUE
genlist: can_focus = EINA_TRUE
index: can_focus = EINA_FALSE
list: can_focus = EINA_TRUE
layout: can_focus = EINA_FALSE
map: can_focus = EINA_TRUE
mapbuf: can_focus = EINA_FALSE
menu: can_focus = EINA_FALSE
notify: can_focus = EINA_FALSE
pager: can_focus = EINA_FALSE
panes: can_focus = EINA_FALSE
progressbar: can_focus = EINA_FALSE
photocam: can_focus = EINA_TRUE
scroller: can_focus = EINA_TRUE
table: can_focus = EINA_FALSE
thumb: can_focus = EINA_FALSE
win: can_focus = EINA_FALSE
SVN revision: 52888
2010-09-29 12:22:30 +00:00
Tiago Rezende Campos Falcao
fc4a19b171
Listen Space/Return in some widgets
...
widgets:
* button
* check
* file selector button
* hoversel
* radio
* toggle
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 52600
2010-09-22 17:45:49 +00:00
Tiago Rezende Campos Falcao
2bc6b517c3
Complete some widgets with activate_hook
...
widgets:
* button
* check
* file selector button
* hoversel
* radio
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 52598
2010-09-22 17:45:43 +00:00
김지훈
d5b8d09591
From: 김지훈 <imfine98@gmail.com>
...
Subject: patch for indentation and using enum in elementary
I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.
SVN revision: 52447
2010-09-19 02:30:14 +00:00
Gustavo Sverzut Barbieri
9ed8bf92be
Use elm_widget_item common base.
...
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!
It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.
Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.
SVN revision: 52118
2010-09-10 02:05:45 +00:00
Jonathan Atton
56079f7819
elm_hover/hoversel: set a default parent in the constructor. With the edje external type we can not set a parent currently but with this patch we can use theses widgets in specifics conditions (the parent will be the edje group)
...
SVN revision: 50303
2010-07-17 08:54:51 +00:00
Boris Faure
97dfb904e9
add doc, thanks to Mike Blumenkrantz (zmike)
...
SVN revision: 47801
2010-04-07 07:37:49 +00:00
Carsten Haitzler
0e56acdbcb
patch from disco-man! :)
...
SVN revision: 47799
2010-04-07 01:31:36 +00:00
Tiago Rezende Campos Falcao
5dd010bb26
Hoversel External
...
SVN revision: 47607
2010-03-30 20:41:56 +00:00
Gustavo Sverzut Barbieri
06d14ed245
const and -Wextra, come on guys! :-/
...
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Gustavo Sverzut Barbieri
abe1f4275a
Typedefs to help bindings, type less and make things easier to identify.
...
SVN revision: 47292
2010-03-16 15:31:38 +00:00
Gustavo Sverzut Barbieri
e01d72fe26
Use eina_stringshare_replace to avoid crashes.
...
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler
310810413c
and some more warning--
...
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Vincent Torri
b07e49d435
remove unused parameter in the library.
...
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler
91e01aa86e
patch from discomfitor <- check type of widget on api call and return if not
...
the right type
SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler
568b955c1c
move horizontal context menu option to data item - and fix some hoversel
...
style stuff that has been broken for ages and i just neever noticed!
SVN revision: 45282
2010-01-18 10:28:00 +00:00
Iván Briano
4d2464ccbc
Set theme hook for hoversel so style changes are applied.
...
SVN revision: 45121
2010-01-14 20:06:41 +00:00
Carsten Haitzler
658583e309
patch from <jihoon48.kim@samsung.com> - horizontal context menu option.
...
SVN revision: 45105
2010-01-14 03:47:28 +00:00
Gustavo Sverzut Barbieri
24d6072ecc
fix valgrind reported problems.
...
GENERAL WARNING:
do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.
Fixed all occurrences I've spotted with valgrind. Please do not add more :-)
SVN revision: 43682
2009-11-13 22:22:05 +00:00
Boris Faure
b2c4f81501
elementary: add del_cb to hoversel items
...
SVN revision: 43550
2009-11-08 22:20:46 +00:00
Jonathan Atton
7be1d94aa2
Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
...
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Christopher Michael
5dc064a4fd
Don't use depreciated function for setting style. Use elm_object_style_set
...
SVN revision: 43143
2009-10-18 05:52:20 +00:00
Christopher Michael
551018cc0f
Don't use depreciated *style_set functions. Use elm_object_style_set
...
SVN revision: 43142
2009-10-18 05:49:23 +00:00
Jonathan Atton
ba714b567c
elm notify : some fix. hoversel :add items_get()
...
SVN revision: 42879
2009-10-04 23:05:50 +00:00
Christopher Michael
15382d4092
Formatting.
...
SVN revision: 42745
2009-09-27 20:10:03 +00:00
Iván Briano
fb7a90d7a4
Get icon info from hoversel item.
...
Patch by billiob
SVN revision: 42522
2009-09-16 19:13:55 +00:00
Carsten Haitzler
4686255022
1. scroller uses event timestamps for momentum chrecks
...
2. fixed paged scrollin to work better
3. entry hoveresel is themable separately
4. entry hofersel is extenstible
5. test improvings
SVN revision: 42181
2009-09-02 12:48:00 +00:00
Viktor Kojouharov
91dcee72db
add disabled state for the hoversel widget
...
SVN revision: 42020
2009-08-26 16:43:17 +00:00
Davide Andreoli
87e362f839
* Hoversel: add 2 new API calls:
...
EAPI void elm_hoversel_clear(Evas_Object *obj)
To remove all the items from the hoversel.
EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type)
To set the icon of the item, also from an edje file!!
SVN revision: 41757
2009-08-14 11:17:06 +00:00
Davide Andreoli
d69a56c1e8
* Add the *_icon_get() API calls for all the widgets that have the *_icon_set() corresponding func.
...
SVN revision: 41721
2009-08-12 22:37:48 +00:00
Davide Andreoli
1e91fe20be
* add another _label_get() function
...
This also fix ticket #294 on trac :)
SVN revision: 41700
2009-08-12 11:18:08 +00:00
Davide Andreoli
bf16de5092
Implement all the *_label_get() functions for widgets that have a *_label_set() function.
...
SVN revision: 41684
2009-08-11 10:44:49 +00:00
Vincent Torri
e2be9d2b24
remove trailing spaces
...
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Carsten Haitzler
d7a3bd786d
more... DOCS!
...
SVN revision: 40868
2009-05-31 21:59:31 +00:00
Carsten Haitzler
26b4f340b6
actually give widgets type name strings and set parent by default
...
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Viktor Kojouharov
4e41c03059
From: Viktor Kojouharov <vkojouharov@gmail.com>
...
This patch tries to fix some warnings I noticed using valgrind.
SVN revision: 40315
2009-04-23 03:51:50 +00:00
Carsten Haitzler
42853697f8
add data get call for convenience.
...
SVN revision: 39815
2009-03-31 11:58:56 +00:00
Carsten Haitzler
16a328cba1
and make entry work nicely by freezing/holding scrolling (hold == different
...
scroll mode).
SVN revision: 39601
2009-03-20 15:08:33 +00:00
Carsten Haitzler
e5298074e7
work on bettre touchscreen text selection support. not 100% done yet. been
...
playing with ideas. this one seems best.
SVN revision: 39579
2009-03-19 13:36:46 +00:00
Gustavo Sverzut Barbieri
d1d91b99df
Move eina list iterations to EINA_LIST_FOREACH variants.
...
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.
SVN revision: 39216
2009-02-25 19:50:45 +00:00
Carsten Haitzler
f382576f6a
more list work - also some minimal safety stuff.
...
SVN revision: 38503
2009-01-08 14:29:13 +00:00
Carsten Haitzler
59fbfb0f02
event_info in func passes the item
...
SVN revision: 38495
2009-01-07 21:08:36 +00:00
Carsten Haitzler
381d0d2e23
beginning of the list widget - includes a scroller and items inside. not
...
meant for long long long lists of lots of items. not complete yet.
SVN revision: 38488
2009-01-07 13:49:08 +00:00
Carsten Haitzler
b3be933103
remove some aborts
...
SVN revision: 38315
2008-12-24 05:04:33 +00:00
Carsten Haitzler
ba18110513
tests for hoversel (and photo) and toolbar and more complete toolbar.
...
SVN revision: 38222
2008-12-19 04:26:24 +00:00
Carsten Haitzler
9f035a7912
implement icon in hoversel - clean up todo's a bit.
...
SVN revision: 38202
2008-12-18 02:01:36 +00:00
Carsten Haitzler
70f4e87999
hoversel working.
...
SVN revision: 38161
2008-12-16 00:15:34 +00:00
Carsten Haitzler
2a41db988e
be able to build without x - so it should work on the fb.. and it does... at
...
leats my mouse and keyboard do - and windows are fullscreen of course... and
really you have a technical limit of 1 window... but hey! that's the fb!
SVN revision: 38077
2008-12-10 06:33:24 +00:00
Carsten Haitzler
614421e098
working on nuts and bolts to do a multi-sel widget (hoversel).
...
SVN revision: 38012
2008-12-08 09:24:46 +00:00