Commit Graph

35 Commits

Author SHA1 Message Date
Carsten Haitzler a3d66cfed3 fix long standing layer set bug
SVN revision: 74342
2012-07-24 04:59:22 +00:00
Carsten Haitzler 122a51f16a warning--
SVN revision: 64390
2011-10-25 12:25:15 +00:00
ChunEon Park a76601e123 evas_layer.c - fixed indenation and removed white spaces
SVN revision: 60472
2011-06-18 09:16:22 +00:00
ChunEon Park 8a6f620675 evas/evas_layer.c - added some missed exception handlings.
SVN revision: 60471
2011-06-18 09:08:33 +00:00
Carsten Haitzler 09069b6172 doxy move to header.
SVN revision: 58477
2011-04-08 07:26:20 +00:00
Lucas De Marchi 85815e306c Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
achive->achieve
beacuse->because
caluclate->calculate
cant->can't
carefull->careful
convertion->conversion
dependancy->dependency
dependant->dependent
doesnt->doesn't
existant->existent
extention->extension
fucntion->function
impliment->implement
inital->initial
lenght->length
occured->occurred
occuring->occurring
onyl->only
positon->position
possibilty->possibility
postion->position
proccessing->processing
proccess->process
propogate->propagate
recieve->receive
sucessive->successive
teh->the
ther->there
throught->through
thsi->this
wasnt->wasn't
whcih->which
wheras->whereas




SVN revision: 51965
2010-09-08 03:51:24 +00:00
Gustavo Sverzut Barbieri fd2659c572 evas: mega documentation improving commit.
This commit moves Evas.h contents a lot, but it should not change code
(some conts were added, some function attributes were changed).

The purpose of such is to define the order that doxygen show modules
in its documentation.

I also splitted documentation a bit more, and added a src/examples to
list useful example code. Right now it is just a pure-evas
draw-and-save using buffer engine.

NOTE: there is lots to document, and the @todo list is quite long but
      I guess lots of things there were done already. Raster, could
      you review this list?




SVN revision: 47308
2010-03-18 04:57:40 +00:00
Gustavo Sverzut Barbieri 1c0ca5dfbb fix memory leak introduced with recent layer destruction.
also rename evas_layer_free() to evas_layer_free_objects() as what it
do now, make _evas_layer_free() as static and use it both cases.



SVN revision: 41123
2009-06-20 07:17:40 +00:00
Cedric BAIL 14693fd070 * evas: Fix SEGV when smart object's child come from another layer than
the parent.

	When we insert object inside a smart object, they could be attached to
	another layer. As long as ref counting work, nothing wrong will happen.
	But during destruction of an Evas, we were just looping over all layers,
	destroying each of them, without checking for refcounting. This could
	cause SEGV.
	      This patch introduce a third loop for wiping out all layers after
	destroying all Evas_Object. So no more SEGV, and no performance
	regression.

	Note: Do not rely on evas_object_layer_get on smart object's child, it
	could give you the wrong answer.


SVN revision: 41046
2009-06-15 14:25:21 +00:00
Davide Andreoli f38e74e550 * remove \'too small\' categories
SVN revision: 37387
2008-11-01 22:21:10 +00:00
Davide Andreoli f526e28ac0 * More better cats\'
* remove some @ingroup in favor of @addtogroup

SVN revision: 37386
2008-11-01 21:50:36 +00:00
Cedric BAIL 465b76a017 Remove Evas_List from Evas.
SVN revision: 36942
2008-10-21 16:31:05 +00:00
Cedric BAIL 68d377afe6 Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.



SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL c99824328f Move from Evas_Object_List to Eina_Inlist and completly remove Evas_Object_List.
SVN revision: 36750
2008-10-17 11:23:18 +00:00
Gustavo Sverzut Barbieri 27437c83cf Make layer number a short and Save 8 bytes.
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.

Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.

Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.


SVN revision: 34420
2008-05-01 06:18:21 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Brett Nash f30bb5ed4a Make layer get work correctly for smart members.
Currently works fine until you change the smart objects layer.


SVN revision: 33117
2007-12-12 23:52:18 +00:00
Carsten Haitzler da64700f13 fix from brett
SVN revision: 30677
2007-07-09 10:39:49 +00:00
Carsten Haitzler 9604530f2f slight cleanups
SVN revision: 26615
2006-10-15 14:39:16 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler 69cc1760ef i think this will fix the layer thing nathan found
SVN revision: 18380
2005-11-08 11:59:21 +00:00
Carsten Haitzler 2264c5cc58 burn witch... BURN!
SVN revision: 18032
2005-10-27 10:33:47 +00:00
Carsten Haitzler 208de4897a the first wave of evas smart object modes. commit hell #1. :) other things
still need updating in cvs - but i am sure others can do that :)


SVN revision: 18001
2005-10-27 02:44:36 +00:00
Carsten Haitzler a1a07c06c3 one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
sebastid 3f776d358a Cleanup some headers.
Remove duplicate typedefs and declerations.


SVN revision: 15407
2005-06-18 01:00:32 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
ncn c7b724474c Just some more docs. A few todos inserted, to be fixed soon.
SVN revision: 11330
2004-08-23 23:04:34 +00:00
Carsten Haitzler b3c6078785 get rid of useless shm check.... and other things (cant remember)
SVN revision: 7519
2003-10-09 03:05:17 +00:00
Carsten Haitzler 84544019f0 oops. on evas_free nested smart objects might just not clean up right.. fix
SVN revision: 7263
2003-07-30 02:58:10 +00:00
Carsten Haitzler 42219cdca3 Evas doc update... at least all api calls are now listed
SVN revision: 6742
2003-03-05 02:30:20 +00:00
Carsten Haitzler 7c80fa9a3e logic problem on evas_free(). shoudl be fixed now... :)
SVN revision: 6559
2003-01-10 05:38:47 +00:00
Carsten Haitzler f837c83cc7 informers now are just event callbacks. makes for a simpler api. interceptors
are done now too - when an interceptor is set it takes over from the actual
call it intercepts and now that call is responsible for doing the
move/resize/raise/lower etc. (method overriding)


SVN revision: 6490
2002-12-15 00:33:57 +00:00
Carsten Haitzler 72b9af03de informers & interceptors... meant to "inform" callbacks of when an object
has been show, hidden, moved, resized or restacked :) handy for making
widgets (ie child widget got resized.. parent can adjust to fit child widget).

also interceptors.. designed to allow callbacks to intercept move, resize,
show, hide and restacking calls and modiy behavior (handy for widget sets
too!)


SVN revision: 6488
2002-12-10 06:45:18 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00