Commit Graph

67 Commits

Author SHA1 Message Date
ChunEon Park 3d40877da4 elementary/hover - deprecated elm_hover_content_set/get/unset
SVN revision: 66989
2012-01-09 08:37:29 +00:00
Mike Blumenkrantz 5292a1a487 add elm_hover_dismiss()
SVN revision: 66805
2012-01-03 18:02:56 +00:00
Jonas M. Gastal 113ed581c1 Elementary: hover documentation.
SVN revision: 61371
2011-07-14 14:37:53 +00:00
Carsten Haitzler 9d14156e2f fix hover doc -> no html tags. breaks latex docs.
SVN revision: 59726
2011-05-27 05:42:27 +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
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
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +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 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
Otávio Pontes 50a452b75e Cleans smart content when removing a child object in hover.
SVN revision: 55428
2010-12-09 18:04:23 +00:00
Otávio Pontes 4fdb6546c2 Swallowing 'smart' content in theme_hook
SVN revision: 55427
2010-12-09 18:04:19 +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
Gustavo Lima Chaves a012c4b511 Sentinel was never used and was wasting space for subs array.
SVN revision: 54080
2010-11-01 21:10:01 +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
Gustavo Lima Chaves 3e5a28fdf9 There you are. Appedix of last commit.
SVN revision: 53646
2010-10-20 00:21:34 +00:00
Gustavo Lima Chaves 559604aade Removing unecessary code.
SVN revision: 53645
2010-10-19 23:08:48 +00:00
Gustavo Lima Chaves c530774aaf Hooking elm_hover into signal_{emit,callback_add,callback_del}().
SVN revision: 53643
2010-10-19 20:21:03 +00:00
Gustavo Lima Chaves 770b0df365 New hover direction: "smart".
This injects some inteligence into hovers which can then be shared
between other composed hover widgets. Also introducing four new
swallow slots one can place content at: the diagonal corners. Just
gotta fill all the styles with those, but no time right now.



SVN revision: 53642
2010-10-19 20:20:28 +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
김지훈 d99918389f From: 김지훈 <imfine98@gmail.com>
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.



SVN revision: 52839
2010-09-28 04:28:14 +00:00
Tiago Rezende Campos Falcao 68c1638c16 Focus suport for some widgets
Widgets:
* check
* radio
* slider
* toggle
* spinner
* slideshow

Author:    Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52599
2010-09-22 17:45:46 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +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
Lucas De Marchi 6325ab86a3 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Brett Nash e8f8913a56 Fix return of hover check.
SVN revision: 49827
2010-06-24 03:02:18 +00:00
Iván Briano dc9ae7395b Avoid returning stack trash, thanks nash.
SVN revision: 49730
2010-06-17 16:09:23 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Mike Blumenkrantz 2c44eda4e0 kill off some unused variables, return values on some widtype check fails
SVN revision: 49222
2010-05-27 09:01:41 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Michael Blumenkrantz e571b14068 From: Michael Blumenkrantz <mike@zentific.com>
elm.diff is a patch which implements a number of convenience functions
for various widgets, as well as some new features for toolbar and panel.
With the panel widget, I've written a number of calls related to
toolbar items and the selected item in particular, allowing
manipulation of the selection and toolbar items more easily. These
functions are as follows:
+elm_toolbar_item_get_all() returns a Eina_List* of all the toolbar
items
+elm_toolbar_item_get_first() returns the first toolbar item
+elm_toolbar_item_get_last() returns the last toolbar item
+elm_toolbar_item_get_next() returns the item after the
currently selected item
+elm_toolbar_item_select_next() moves the selection to the next valid
item
+elm_toolbar_item_select_first() selects the first valid item
+elm_toolbar_item_select_last() selects the last valid item
+elm_toolbar_item_find_by_label() returns the first Elm_Toolbar_Item
matching "label"

The new panel functions I have written allow for control of the panel's
state from code, and are as follows:
+elm_panel_hidden_set() sets the panel's toggle state to a bool value
and runs the animation
+elm_panel_hidden_get() returns whether the panel is hidden
+elm_panel_toggle() toggles the panel to its other state

The remainder of the functions are just general wd->data returns which
were missing, the functionality of which may be of use to people.



SVN revision: 48355
2010-04-27 05:43:54 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Carsten Haitzler ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
Carsten Haitzler df611db335 more wanring-- and safety checks.
SVN revision: 47096
2010-03-10 00:31:54 +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 d32e700fe3 more warning fixes!
SVN revision: 47076
2010-03-09 11:42:53 +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
Daniel Kolesa 58e656d64b why that long?
SVN revision: 43461
2009-11-05 14:58:45 +00:00
Andreas Volz f93236d6b2 NULL check
SVN revision: 43456
2009-11-04 22:00:56 +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
Jonathan Atton d434116d77 Elm : delete some added callback. The callbacks associated to the parent by the hover was not deleted when the parent is deleted
SVN revision: 43102
2009-10-15 20:48:00 +00:00
Davide Andreoli bbb976c85a * Revert my previous commit, the correct way to set the style of a widget is to use elm_object_style_set.
* Mark all the remaining elm_*_style_set() as deprecated.
 * Some whitespaces
 

SVN revision: 43095
2009-10-15 13:18:11 +00:00
Carsten Haitzler 6643ff85ec 1. move orientation box call to after back- this makes the box do a calc
2. too keen on removing swallows. add back.



SVN revision: 42955
2009-10-08 06:18:51 +00:00
Carsten Haitzler a4996f90ae 1. remove excess swallows - now edje handles that itself
2. beforfe show.. calc first so initial windowis the right size!



SVN revision: 42953
2009-10-08 05:26:58 +00:00
Christopher Michael cab5886644 More formatting.
SVN revision: 42725
2009-09-26 18:39:09 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL d78cb6a54e * elementary: Remove use of deprecated evas_stringshare.
SVN revision: 40981
2009-06-09 15:29:41 +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
Carsten Haitzler 73f3de55f4 patch from victor to make styles generic - not all widgets support them
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.



SVN revision: 40317
2009-04-23 04:03:27 +00:00