Commit Graph

46 Commits

Author SHA1 Message Date
김지훈 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
Gustavo Sverzut Barbieri d7829ccd3c use EINA_LIST_FREE()
This macro helps releasing a list of elements in efficient and safe way.



SVN revision: 39217
2009-02-25 20:18:38 +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
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler abed93c48e fix hover best content location call
SVN revision: 38043
2008-12-09 06:07:11 +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
Carsten Haitzler 0fceb721f6 call clicked on delete of the hover so things can be shut down.
also a fixme - bad me. i used internal calls.



SVN revision: 37837
2008-11-27 23:36:21 +00:00
Carsten Haitzler 793b34f2f9 fix some dynamic object deletion for sub-objects. fix some theme stuff too
for popout hover.



SVN revision: 37818
2008-11-27 05:41:13 +00:00
Carsten Haitzler ee7131de29 and make elm auto-scale much better on the fly - not perfect... but not to
shabby. also in theory should cover theme changes on the fly... haven't tested.



SVN revision: 37662
2008-11-15 13:58:50 +00:00
Carsten Haitzler 6f493e0ee1 so much more - valgrind complaints fixed in many places, leaks
and anchorblock/view are working...



SVN revision: 37081
2008-10-25 02:11:06 +00:00
Cedric BAIL 2d9ac9118b Remove Evas list from elementary.
SVN revision: 36979
2008-10-22 14:11:59 +00:00
Carsten Haitzler 17feb3757b hover does styles now and popout style is animated.
SVN revision: 36541
2008-10-09 08:10:20 +00:00
Carsten Haitzler ad01d08412 ok icon too in hover test. looks nice. :)
SVN revision: 36529
2008-10-08 15:21:14 +00:00
Carsten Haitzler 39c45fe2ea clean up tracking
SVN revision: 36528
2008-10-08 15:09:00 +00:00
Carsten Haitzler a0fd0771f5 theme stuff is done properly now with a style (always default - onyl one
available for all widgets for now) and icons emit callback.



SVN revision: 36522
2008-10-08 09:33:05 +00:00
Carsten Haitzler eeb785ac88 and enable the 5 swallow regions (possibly limitless) of the hover and test
SVN revision: 36516
2008-10-08 08:14:25 +00:00
Carsten Haitzler c78abf03be 1. fix scale property fetch
2. add hover object - beginning to work. will be used to pop up menus/options
etc.



SVN revision: 36515
2008-10-08 06:38:20 +00:00