Commit Graph

48 Commits

Author SHA1 Message Date
rephorm c475e48ead put this in HEAD too
SVN revision: 6099
2002-04-01 04:59:39 +00:00
Carsten Haitzler 0b08951cc8 inconsistent naming fo func... fix.. and fix docs.
SVN revision: 5386
2001-09-28 03:46:46 +00:00
Carsten Haitzler 9528534f0b fix soem routines that i found incosistent whilst writitng the docs... :)
SVN revision: 4826
2001-06-18 01:59:51 +00:00
Carsten Haitzler 3e9ca9ebfa add call to allow program to query if image object has alpha...
SVN revision: 4664
2001-04-20 01:58:57 +00:00
Carsten Haitzler 84d24d28da 1. optimize evas lists a bit by keeping a "last" pointer
2. fix rendering - forgot to scale output of primitives other than images when
viewport not 1:1 with window
3. up to 0.0.5


SVN revision: 4592
2001-04-12 17:54:51 +00:00
Carsten Haitzler ed56013f72 load_error now stored and retrievable for image objects :)
SVN revision: 4238
2001-02-17 20:26:57 +00:00
Carsten Haitzler 72a83a2724 fix that event problem... and errr.. some gfx optimizations :)
SVN revision: 4074
2001-01-02 23:09:32 +00:00
Carsten Haitzler ce2f4fe9f1 * rewrote GL engine for evas - vast speed improvements and cleanliness
improvements - MUCH better
* fixed imlib and x11 engines - much faster x11 engine. much better imlib
engine
* added clipping ability to evas (you can clip one object by another for now
only rectangles are supported)
* you will need to use cvs imlib2 - i fixed the clipping in it to apply to
images, text and gradients too.
* almost done with x11 engine - just fonts to go (mostly done)
* clipping rects rgba color modifies what they clip
* gl, imlib and x11 engines modified to do clipping
* still need to add border scaling supporty to gl engine
* maybe some other stuff i don't remember - i've been sick over christmas


SVN revision: 4039
2000-12-27 20:51:39 +00:00
Mandrake f6caa2df4d added two functions I needed in etox
int evas_get_text_height(Evas e, Evas_Object o)
int evas_get_text_width(Evas e, Evas_Object o)

very simple and straightforward.


SVN revision: 3990
2000-12-14 07:23:27 +00:00
Carsten Haitzler 9215204dcd evas_get_layer();
SVN revision: 3981
2000-12-12 21:13:32 +00:00
Carsten Haitzler 7badc56fdb add new render call that returns the updates that got rendered :)
SVN revision: 3940
2000-12-02 02:21:07 +00:00
Carsten Haitzler db9b37768c add ungrab call for ungrabbing the implicit grab when buttons go down....
SVN revision: 3796
2000-10-31 18:15:11 +00:00
Carsten Haitzler f0d30c41b1 commit pabs's fix for -ansi -pedantic compiling
SVN revision: 3637
2000-10-16 23:18:22 +00:00
Carsten Haitzler 28920da8b3 region obscuring code. this should provide for apps using evas to indicate
whihc retcangles of the evas are completely obsucred by covering windows
so evas doesn't render things it doesn't need to (ie they can't be seen).


SVN revision: 3619
2000-10-15 03:11:11 +00:00
Carsten Haitzler 90a89420b2 add ungrab call for when butotn is down on object but u want to have it
ugrabbed to events/callback can proceed as per normal


SVN revision: 3605
2000-10-14 03:41:11 +00:00
Carsten Haitzler aa911f3052 some new api calls :)
SVN revision: 3592
2000-10-13 18:00:48 +00:00
Carsten Haitzler 53b3a6face start of polygon drawing support...
SVN revision: 3574
2000-10-12 00:26:34 +00:00
Carsten Haitzler c6e5ed3a1d some basic start on documentation....what's happening to me? all this
documentation? :)


SVN revision: 3554
2000-09-27 15:14:06 +00:00
Carsten Haitzler 289117a952 privatise data structs for evas... much cleaner. all structs are now internal
so you cant look into them. all defines now become enums too - cleaner. no
more bypassing the api is possible :)

also added better checks and --with- stuff for imlib2, gl and ttf


SVN revision: 3548
2000-09-26 19:16:48 +00:00
Carsten Haitzler faa90fe44b more on the new evas test. add some more api calls.
SVN revision: 3544
2000-09-25 19:47:44 +00:00
Carsten Haitzler 8923422a2e add code to double check object type before doing anything to objects
SVN revision: 3523
2000-09-18 02:22:04 +00:00
Carsten Haitzler ff01c864a4 allow color allocation policy to be set in evas
SVN revision: 3473
2000-09-15 15:04:48 +00:00
Carsten Haitzler e2ffcf313c dissalow resizing for line and text objects - doesnt make sense -
change the font or string to resize text, and chnage line coords.

add ability for color settings to apply to image objects too (image colors get
multiplid by color set on image - 255, 255, 255, 255 is "normal" so it's fast
path rendering - all other colors go thru color modifiers in the imlib engines
and gl handles it int he gl engine. if alpha is 0 the object draw is aborted
immediately for fast path.


SVN revision: 3468
2000-09-15 13:49:14 +00:00
Carsten Haitzler a751ec1b21 we have a new rendering target for evas - an imlib image buffer.
it will render to a virtual image buffer just like it would to a window.
the logic works the exact same way as a window - it wil lonly render the rects
that changed. if a rect chnaged it expects that rect to have been cleared and
will blend the canvas ontop of the image - so you can use it to augment the
current image contents (though they will be permenantly modified). This is
specifically designed for doing things like rendering a canvas to be saved
to an image file.

WHEEEEEEEE :)


SVN revision: 3460
2000-09-13 22:36:46 +00:00
Carsten Haitzler 3a1fb0355c add the api routines to query the text objects
SVN revision: 3455
2000-09-13 17:19:38 +00:00
Carsten Haitzler d660812fe8 add font ascent/descent checking
SVN revision: 3442
2000-09-13 15:08:05 +00:00
Carsten Haitzler 0fb877cf9f add some more query calls.
SVN revision: 3226
2000-08-22 07:02:35 +00:00
Carsten Haitzler eb7ec35dbc fix line draw bug - add event pass through flag for objects
SVN revision: 3219
2000-08-22 03:45:58 +00:00
Carsten Haitzler e37fccc450 event system works - callbakcs happen.. WOOHOO :)
SVN revision: 3193
2000-08-20 21:49:41 +00:00
Carsten Haitzler cabfad7522 add that
SVN revision: 3187
2000-08-20 07:28:43 +00:00
Carsten Haitzler 056e350668 api filled out much better now........ infact... i'm almost done :)
SVN revision: 3186
2000-08-20 07:13:31 +00:00
Carsten Haitzler da571e5aac better gl lib/header checkign in configure
SVN revision: 3121
2000-08-14 21:49:03 +00:00
Carsten Haitzler aaf7e4ffb9 clean clean
SVN revision: 3117
2000-08-14 07:01:00 +00:00
Carsten Haitzler 0a73a07edf gradients added and work
SVN revision: 3114
2000-08-14 06:37:51 +00:00
Carsten Haitzler 842031ebaa lines and rectangles work. woop! :)
SVN revision: 3113
2000-08-14 05:41:56 +00:00
Carsten Haitzler c64671e765 text objects work! dude! like totally! :)
SVN revision: 3112
2000-08-14 03:23:46 +00:00
Carsten Haitzler bcb7bcea6c dont need bits code.. that will go in another lib - higher level than a canvas
item IMHO


SVN revision: 3110
2000-08-13 22:57:22 +00:00
Carsten Haitzler a5ba53be87 cleaner use func pointers for rendering backend funcs - too much copy & paste
SVN revision: 3096
2000-08-13 06:06:43 +00:00
Carsten Haitzler 73de169494 wooooo!
core bits of evas api actually do stuff now.. evas test it beginning to use them
if you want to have ann ide how easy it is to use evas as a rendeirng engine
just look at evas_test.. notice the evas setup is just a few calls (create,
set the output drawable, the output size of the window and the viewport into
the evas's virtual world - the its a mater of creating a few objects
and notice the main loo ONLy does 2 things - move the objects then call
render - evas will optimize to only render the bits that changed all for you.
there's a lot fo thank;less nasty state chekcing code just for this.
i'm going to have to write a lot fo it - image obejcts only done sofar.
you cant do anytign except move and resize them and add them and show and hide
them. freeing them wont work. layers dont work. no api to set performance cache
or to access it. fill modes for images dont work either nor is there an api
to set an images border scaling)


SVN revision: 3090
2000-08-11 07:47:52 +00:00
Carsten Haitzler fd578d9ec9 aaaaaaaaaah errrrrrr .... stuff!
SVN revision: 3068
2000-08-08 01:55:28 +00:00
Carsten Haitzler 7c0f7a6f9a '
split that up.....


SVN revision: 2956
2000-07-31 18:06:21 +00:00
Carsten Haitzler 3f4531de45 mo mo mo :)
SVN revision: 2955
2000-07-31 17:48:34 +00:00
Carsten Haitzler 67f86603a5 more meat
SVN revision: 2945
2000-07-30 22:50:53 +00:00
Carsten Haitzler cd75e0b1eb some more meat......
SVN revision: 2944
2000-07-30 22:42:55 +00:00
Carsten Haitzler 1c8ee0b297 i think data structs are almost done.......
SVN revision: 2943
2000-07-30 21:43:19 +00:00
Carsten Haitzler b4653f5d19 we have......... objects! :) some primitive inheritance too.
SVN revision: 2942
2000-07-30 21:38:57 +00:00
Carsten Haitzler 6d40404596 '
add somehting to ignore..... and some more meat in the headers


SVN revision: 2939
2000-07-30 20:39:43 +00:00
Carsten Haitzler 154f99de7f evas........
SVN revision: 2938
2000-07-30 20:21:14 +00:00