Mike Blumenkrantz
f2f45428ff
+e_icon_edje_get()
2014-03-27 16:47:18 -04:00
Mike Blumenkrantz
ef0f3322ad
remove some weird gif hackaround in e_icon which breaks memfile gifs
2013-09-02 14:37:52 +01:00
Mike Blumenkrantz
287ef17734
undeprecate e_icon_object_set and rename to e_icon_image_object_set for clarity
2013-06-14 14:41:37 +01:00
Mike Blumenkrantz
d0310ee6de
fix e_icon animation when reusing evas object images
2013-06-14 14:41:37 +01:00
Mike Blumenkrantz
9e8e755cdf
formatting: all at once
...
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz
271f92f912
ahh never too late for an API/ABI break. e_icon_file_get now returns edje group, which fixes fileman border icons
...
ticket #rasternaggedme
SVN revision: 81387
2012-12-19 17:00:10 +00:00
Daniel Juyung Seo
206acb6eb6
e e_icon.c: also return false on null icon.
...
SVN revision: 80598
2012-12-10 11:33:45 +00:00
José Roberto de Souza
463617699c
From: José Roberto de Souza <zehortigoza@profusion.mobi>
...
Subject: [E-devel] [PATCH] e: Return EINA_FALSE if icon path was not
found
SVN revision: 80567
2012-12-10 06:58:58 +00:00
Carsten Haitzler
d1581b714f
group ptrs together.
...
SVN revision: 80407
2012-12-07 02:48:30 +00:00
Carsten Haitzler
2697a5f84d
delay fdo re-loads/hunts by 0.1 sec after any resize event for
...
smoother anim.
SVN revision: 79654
2012-11-25 12:30:09 +00:00
Mike Blumenkrantz
04d594af98
wherever cedric commits, b0rks will follow
...
SVN revision: 78422
2012-10-25 07:53:38 +00:00
Cedric BAIL
1d2b6034b0
e: don't drop cache if icon is animated.
...
We want to use the scale cache and drop the source icon
for all static icon on screen. But for the few of them that
do resize and animate, we need to keep that data or it will
slow a us down a lot. So now we play nicely with our SCALE_HINT.
SVN revision: 78419
2012-10-25 07:28:24 +00:00
Mike Blumenkrantz
a8beb0950c
fix usage of PATH_MAX when not working with files
...
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz
d199c58904
finally kill off the last of the e_icon_object_set uses;
...
this function was being abused in 100% of cases to do something other than the intended use of just setting an evas image into an e_icon. I've added e_icon_edje_object_set which is the edje version and will, hopefully, make things more clear and avoid confusion in the future
e_widget_image now calls the proper e_icon functions and is far less likely to trigger a magic failure
SVN revision: 74213
2012-07-20 07:52:53 +00:00
Mike Blumenkrantz
10907a3b10
set edje flag in e_icon for edje objects instead of always using strcmp to check
...
SVN revision: 74210
2012-07-20 07:26:16 +00:00
Mike Blumenkrantz
8e44f1d39b
add a really annoying and obvious warning for misuse of e_icon_object_set
...
SVN revision: 72076
2012-06-13 09:13:15 +00:00
Mike Blumenkrantz
ceea15f961
fix another magic failure in e_icon
...
SVN revision: 71983
2012-06-12 07:23:00 +00:00
Mike Blumenkrantz
b0079e53ad
formatting
...
SVN revision: 71982
2012-06-12 07:20:44 +00:00
Mike Blumenkrantz
f62441abf9
use edje error stuff here to fix magic fail
...
SVN revision: 71937
2012-06-11 08:36:13 +00:00
Carsten Haitzler
0078d30bdc
segv's waiting to happen wrong api calls on wrong object types - check
...
to protect.
SVN revision: 66707
2011-12-31 14:35:05 +00:00
Hannes Janetzek
5c26822c3f
e17: icon chache (still disabled): keep cache file open for a bit. this really speeds things up :)
...
SVN revision: 63239
2011-09-06 21:23:35 +00:00
Hannes Janetzek
c231278a4b
e17: e_icon cleanup
...
SVN revision: 62947
2011-08-29 14:02:20 +00:00
Hannes Janetzek
f6ce3f2b04
e17:e_icon: some safety checks for iconcache, cleanups
...
SVN revision: 62936
2011-08-29 08:30:23 +00:00
Hannes Janetzek
a29cf19398
e17: add icon cache for speeding up mainly svg icon load on slow devices. and make everything smooth :)
...
- need to be build with USE_ICON_CACHE defined
SVN revision: 62842
2011-08-26 00:44:45 +00:00
Carsten Haitzler
28d6049319
... allow non edj files as wallpapers... if u try. :)
...
SVN revision: 62340
2011-08-11 10:39:37 +00:00
Christopher Michael
bf0920a753
E17: When using edje icons, grab the current obj clip before we delete
...
it, and restore the previous clip after the image has been added.
(some formatting cleanups here too).
SVN revision: 59313
2011-05-11 04:56:42 +00:00
Christopher Michael
71b303235d
Actually, we need to return a Bool here.
...
SVN revision: 56060
2011-01-12 15:34:12 +00:00
Christopher Michael
bd2aa1b03d
Make sure we have a 'file' to set, else we crash trying to get strlen
...
of NULL.
SVN revision: 56059
2011-01-12 15:31:38 +00:00
Carsten Haitzler
afed13086e
ooh and ALSO handle files if .edj - if full path set.
...
SVN revision: 56050
2011-01-11 10:09:48 +00:00
Carsten Haitzler
7b9c5b9a74
fix e icon setting of fdo icon if fdo icon ends up being an edje file.
...
SVN revision: 55964
2011-01-07 04:31:47 +00:00
Sebastian Dransfeld
3d1a299e06
Let efreet icon return const
...
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.
A bit late to do an API break, but must be done.
SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld
1ba2fd77a0
Set fdo icon directly in e_icon
...
This makes it simple to find the right icon size for current view size
SVN revision: 54177
2010-11-05 13:11:31 +00:00
Lucas De Marchi
6638a10e20
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael
eea86e7714
Fix nasty formatting.
...
SVN revision: 49757
2010-06-19 01:19:01 +00:00
Tiago Rezende Campos Falcao
fa956101a7
Adding selection API to E_Icon
...
SVN revision: 49755
2010-06-18 22:39:00 +00:00
Gustavo Sverzut Barbieri
f7ec145316
Icons should get events, even if the loaded edje group does not.
...
This bug was exposed by e_widget_deskpreview, that uses native E
backgrounds as edje group. As backgrounds likely do not need mouse
events, or in the case of backgrounds converted from JPEG/PNG images,
the edje would never get an event, so as e_icon, then those that rely
on events on icon will never get called as no children get events.
SVN revision: 48515
2010-05-01 18:24:30 +00:00
Gustavo Sverzut Barbieri
78e5959bdf
cleanups, consts and return Eina_Bool for file setters.
...
okay, maybe too much for a single patch, but they are all pretty trivial:
- whitespace cleanups;
- simplify "sd" assignments;
- add const keyword to getters;
- return if file_set operation succeeded or not.
SVN revision: 47069
2010-03-09 02:45:14 +00:00
Vincent Torri
13807df5a3
'return' not needed here
...
SVN revision: 44058
2009-11-30 18:22:42 +00:00
Carsten Haitzler
88d2d262e5
1. for some reason the po's needed a lot of updates - msgmerge thiks so
...
2. use preload for icons a lot.
SVN revision: 43191
2009-10-22 06:47:02 +00:00
Carsten Haitzler
87842cb5e7
several patches from sergey etc.
...
SVN revision: 40668
2009-05-15 11:47:28 +00:00
Carsten Haitzler
cbe9342be3
for e_thumb.. use preload!
...
SVN revision: 39866
2009-04-05 03:49:16 +00:00
Gustavo Sverzut Barbieri
e5c4d62fd4
Set member_{add,del} to NULL.
...
SVN revision: 37091
2008-10-25 03:13:33 +00:00
Gustavo Sverzut Barbieri
18966c828b
Add calculate callback to Evas_Smart_Class.
...
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.
This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.
SVN revision: 35860
2008-09-07 01:25:49 +00:00
Carsten Haitzler
c0b57de9a9
add scale_up flag to limit upscaling beyond icon native size
...
SVN revision: 35169
2008-07-19 14:09:46 +00:00
Gustavo Sverzut Barbieri
746ea5f85a
Fix warnings.
...
SVN revision: 33717
2008-02-08 23:03:28 +00:00
Carsten Haitzler
5c2641e5dd
1. fix abort in tiff loader
...
2. slidesel theme garbage trailing. nuke
3. icon obj can have pre-scale set not. default is as before.
4. printf-- in slidesel
SVN revision: 33677
2008-02-05 12:00:19 +00:00
Carsten Haitzler
a960cd070b
move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
...
probably die as it's already got legacy funcion methods for layer etc. stuff.
SVN revision: 31161
2007-08-04 13:12:43 +00:00
Christopher Michael
0bb82307d8
Added trap for NULL sd->obj. Ref: Bug #92 .
...
SVN revision: 30837
2007-07-16 00:50:50 +00:00
Carsten Haitzler
bcd3c03b16
e_icon loads at 64x64 internally... to try speed things up.
...
SVN revision: 25397
2006-09-03 09:44:00 +00:00
Carsten Haitzler
4e697fefca
'mo fm work! :)
...
SVN revision: 23999
2006-07-17 19:51:37 +00:00