Commit Graph

57 Commits

Author SHA1 Message Date
Gustavo Lima Chaves a348f6a8f2 [elm] Revive file=NULL path on elm_photo_file_set().
Thanks, Tom, for pointing this out.



SVN revision: 71686
2012-06-04 16:23:31 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Stefan Schmidt 1eb70c0498 elementary: But var also into ifdefs for people without ethumb in elm
SVN revision: 71458
2012-05-28 13:08:48 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Carsten Haitzler 1b1489da31 elm_thumb_ethumb_client_connected ->
elm_thumb_ethumb_client_connected_get()

more consistent name.



SVN revision: 68001
2012-02-16 05:58:23 +00:00
Mike Blumenkrantz 8638957866 aspect_ratio_retained -> aspect_fixed
SVN revision: 66926
2012-01-06 05:55:51 +00:00
Hyoyoung Chang 781a6ab4db From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_photo - add aspect_ratio_retained_{set/get}
Date: Fri, 6 Jan 2012 12:20:33 +0900

Dear all.

elm_photo doesn't have resizing functions which are not follow
original photo file ratio (vertical/horizontal).
so i copied aspect_ration_reatined functions from elm_image.
also it fixes photo menu bug in elementary_test.
currently photo window has a bug which cannot display non-square
images correctly.

Thanks


SVN revision: 66924
2012-01-06 05:50:33 +00:00
Mike Blumenkrantz 378c5828f4 me no likey sprintf
SVN revision: 66774
2012-01-03 04:52:03 +00:00
Hyoyoung Chang 5e0f5b8960 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - bugfix duplicated drag objs
Date: Tue, 3 Jan 2012 13:41:09 +0900

Dear all.

Currently, dragging is only supported in elm_photo.
Normally it works well but in overlapped region, elm_photo makes
multiple drag events.
However multiple objs dragging isn't supported by elm_cnp_helper(also
in xdnd specs)
It better to block multiple dragging events.

Also I fixed dragdonecb's data argument position.

Thank you.


SVN revision: 66773
2012-01-03 04:44:48 +00:00
Cedric BAIL f950fe64b3 elementary: reorder ethumb callback parameters.
SVN revision: 66609
2011-12-28 16:27:45 +00:00
Hyoyoung Chang 84554addb8 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - change elm_cnp_selection_set and code cleanup
Date: Tue, 27 Dec 2011 20:15:14 +0900

Dear all.

As discomfitor suggested, I cleanup some codes.
elm_cnp_selection_set : add buffer length argument and check for image type.
(i think it's urgent issue before elm_cnp_selection_set api is widely used.)
enum defines : add 'type' prefix.

Thanks


SVN revision: 66566
2011-12-27 11:24:13 +00:00
Cedric BAIL f7e4327955 ethumb: cleanup API.
SVN revision: 65660
2011-11-28 23:24:32 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

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

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Nicolas Aguirre a644a29aee elementary: Privide a new api to elm_photo : elm_photo_thumb_set.
It works like elm_icon_thumb_set : it generates the thumb of the file passed as argument.


SVN revision: 63063
2011-09-01 19:14:32 +00:00
Gustavo Lima Chaves 31a3e6180a [elementary] All docs to elm's header, as Raster wishes.
Discomfitor, now it's time to split the header and/or write another novel.



SVN revision: 62315
2011-08-10 21:03:21 +00:00
Daniel Juyung Seo 0349ab98ce elm: Fixed wrong vim formatting.
SVN revision: 60714
2011-06-27 02:54:41 +00:00
ChunEon Park 9420b44918 elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
made them use signal callbacks description table. 
removed never-called signals
updated doxygen. 




SVN revision: 58816
2011-04-22 00:42:32 +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 711b428aae elementary / slider, radio, separator, photocam, photo, store, scroller, slideshow, spinner, progressbar - removed white spacesw
SVN revision: 58250
2011-04-01 11:24:15 +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
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 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Christopher Michael 2b34e155b2 Add UNUSED where missing.
Only calculate scale once here and reuse it.
Fix formatting.



SVN revision: 53286
2010-10-12 03:53:03 +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
Brett Nash af8097a963 Elm photo stops scrolling events when dragging now.
SVN revision: 52129
2010-09-10 08:24:29 +00:00
Brett Nash 506e380a6e Use hold flag for detecting drags.
SVN revision: 52128
2010-09-10 08:24:25 +00:00
Brett Nash 26efdd12c2 elm photo: Long press now tracks mouse movements.
SVN revision: 52125
2010-09-10 07:24:07 +00:00
Brett Nash afa4f05976 Use file urls for files (hack hack hack).
SVN revision: 52124
2010-09-10 07:24:03 +00:00
Gustavo Sverzut Barbieri 833ba3362e some -Wall -Wextra warning cleanups.
elm_cnp_helper.c warnings were not fixed as they look like
implementation nash will do soon.



SVN revision: 52102
2010-09-09 19:39:30 +00:00
Brett Nash d2c67592bc Fix typo from cut & paste
SVN revision: 52037
2010-09-09 09:12:08 +00:00
Brett Nash 67c9425063 Hooks for dragging: not working, just so I can push.
SVN revision: 52036
2010-09-09 08:59:42 +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
Brett Nash 9640443824 Add 'drop' callback when objects are dropped.
SVN revision: 51977
2010-09-08 06:20:05 +00:00
Brett Nash d342ca5976 Elm: photo doco ++
SVN revision: 51976
2010-09-08 06:20:01 +00:00
Brett Nash 308e09effd editiable flags to allow drag dests for photso and images.
SVN revision: 51973
2010-09-08 04:55:20 +00:00
Brett Nash 0713be0e14 Elm: Simplify elm photo size handling.
Also don't carry around a negative size when it's not used.

SVN revision: 51967
2010-09-08 04:54:46 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Jonathan Atton a05015145d Elm_Photo:
- Add a way to display a photo by keeping the ratio AND the theme can display something around the photo (border ...). The way I use is maybe a bit crappy (embryo, offset ...) but I do not know a better way.
 - Add a new style (with a shadow). The default style has no changes
 If you do not like my way, revert the commit and commit your way :)
 
Elm_Slideshow:
 - Use elm_photo in the test
 - Add a black background

SVN revision: 50248
2010-07-14 14:48:21 +00:00
Fabiano Fidêncio 7746e8b514 From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...



SVN revision: 49470
2010-06-05 13:12:45 +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
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
Carsten Haitzler c3ccf673e8 1. add signal emits for scrolling in photocam
2. standardise all callback names to be x,y,z etc. if they have multiple words.
3. add cal to get the region viewed
4. test photocams signals and new call



SVN revision: 43069
2009-10-14 08:41:36 +00:00
Iván Briano e8bf64d566 Improve documentation for Evas, Ecore, Edje and Elementary.
Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima


SVN revision: 42553
2009-09-17 22:39:18 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00