Commit Graph

123 Commits

Author SHA1 Message Date
Carsten Haitzler e14aa620c2 dont return null fi images doesnt exist.. obejct creation shoudl ALWAYs
succeed!


SVN revision: 3934
2000-11-29 04:49:22 +00:00
Carsten Haitzler 9d7f6187e0 woooop fix fix fix.. note to self... font caching in the gl engine REALLY
needs work.. but that can wait as an optmization/imporovement later. for now
it works and works pretty fast / ok if your hardware is good. i'll have to
make it better later.


SVN revision: 3932
2000-11-29 04:38:22 +00:00
Carsten Haitzler e21838f9f2 slightly cleaner code... :)
SVN revision: 3930
2000-11-28 00:51:22 +00:00
Joshua Deere f7a6c88618 Changed evas_add_image_from_file() to return NULL if the file could not be
loaded or did not exist


SVN revision: 3890
2000-11-15 21:31:14 +00:00
Carsten Haitzler 51f0972f8d return values in default cases where applicable
SVN revision: 3817
2000-11-07 20:43:05 +00:00
Carsten Haitzler acc7f88694 mouse out event - ay object mouse is in.... leave event... generate.
SVN revision: 3808
2000-11-04 19:17:57 +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 90c2286933 fix bug with gradient texture binding :)
SVN revision: 3762
2000-10-28 18:27:43 +00:00
Carsten Haitzler 92e9ebd222 fix "special case" for rectangles - property chnage parameter wasnt being set
in some cases.


SVN revision: 3761
2000-10-28 18:03:39 +00:00
Carsten Haitzler 2e06735388 fix a minor event bug with retaining the wrong coordinates fomr the last
event. never saw it because i was always feedingin mosue move events too


SVN revision: 3743
2000-10-26 22:47:33 +00:00
Term 96475fa637 I was wondering why it worked anyway...
SVN revision: 3722
2000-10-25 23:37:23 +00:00
Term 5416825108 typo
SVN revision: 3721
2000-10-25 23:36:44 +00:00
Carsten Haitzler 61f9e4f648 raster: special case optimization for retcangle objects... since they are a
solid color - if you move or resize a rect and it doesnt change color, or
stakcing or visability - it only changes size and/or location, i do an XOR on
the update rectangles (this is a logical geometric XOR) and only update those
rectangles... why do this? see efm with the selection rectangle? it re-renders
the entire rectangle area - even only the edges change while you drag it around
so this special casing in evas would handle that and optimize.


SVN revision: 3690
2000-10-22 19:14:22 +00:00
Carsten Haitzler f984e4ab77 make sure that make distcheck works
SVN revision: 3658
2000-10-19 23:27:54 +00:00
Carsten Haitzler 75c2ebe3e8 and only include render header if we have render....
SVN revision: 3656
2000-10-19 23:13:26 +00:00
Carsten Haitzler 261a868816 add some code ro render routines to hanbdle render extension... not much yet
SVN revision: 3654
2000-10-19 22:15:16 +00:00
Carsten Haitzler 8a740e5fa4 stubs for Xfree86 Render extension support. STUBS only now. will get filled in
as soon as i have this puppy installed and working


SVN revision: 3651
2000-10-18 00:48:25 +00:00
Carsten Haitzler cf7ca04c45 more event paranoia. should all be fixed now
SVN revision: 3641
2000-10-17 16:29:59 +00:00
Carsten Haitzler 871a300457 added event paranoia for when deleteing objects - makes damn sure the grabbed
mouse button object handle and mouse object handle are NULL if we're going off
freeing / deleting this object


SVN revision: 3640
2000-10-17 16:14:36 +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 3a11bc158a added save file flag for old evas test and fixe dimage buffer rendering to work
again


SVN revision: 3630
2000-10-15 19:54:36 +00:00
Carsten Haitzler 2779c6f133 image renderer works withotu needing display info
SVN revision: 3627
2000-10-15 18:51:38 +00:00
Carsten Haitzler 1249de5a4a make sure we bind AND then set th minand mag filters
SVN revision: 3623
2000-10-15 05:59:26 +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 a50730a3ee try indiect if direct dont work
SVN revision: 3611
2000-10-14 19:09:37 +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 d56f73d036 fix gl engine bug with text rendering... hmmm odd... :)
SVN revision: 3598
2000-10-14 01:10:53 +00:00
Carsten Haitzler aa911f3052 some new api calls :)
SVN revision: 3592
2000-10-13 18:00:48 +00:00
Carsten Haitzler 741da1d72e test program handles color alpha blended mouse pointer a little better now :)
SVN revision: 3590
2000-10-13 13:55:02 +00:00
Carsten Haitzler e04cb0b0f6 fix that
SVN revision: 3580
2000-10-12 21:04:13 +00:00
Carsten Haitzler 46b738ad78 attempts at making polys work all over - gl engine has problems though...
this is due to gl not handling complex (non convex) polys and glu's tesselator
doesnt work... for some reason...

well just need to make imlib2's polys anti-alias and that will get some handled
I need to fix the line rendering so it handles being clipped better.


SVN revision: 3575
2000-10-12 13:57:49 +00:00
Carsten Haitzler 53b3a6face start of polygon drawing support...
SVN revision: 3574
2000-10-12 00:26:34 +00:00
Carsten Haitzler 3a3ebbca58 i forgot what i did - but it's good whatever it is....
SVN revision: 3567
2000-10-06 13:29:30 +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 e5f8c61ec8 update functions in oepng-less empty prototypes
SVN revision: 3539
2000-09-23 15:03:39 +00:00
Carsten Haitzler 18a02a137c new test program started work on (old test is evas_test_old)
SVN revision: 3536
2000-09-22 01:12:52 +00:00
Carsten Haitzler c1e76e2244 fix mimpmap bug for wierd scalings.....
SVN revision: 3534
2000-09-20 23:24:52 +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 e7c086bd57 mo mo
SVN revision: 3518
2000-09-17 22:39:20 +00:00
Carsten Haitzler 7ac1ecc932 much better! dithe rpatterns match for eect updates - fix leak
SVN revision: 3514
2000-09-17 21:53:30 +00:00
Carsten Haitzler e2ee27d9f6 lines now work
SVN revision: 3512
2000-09-17 20:35:12 +00:00
Carsten Haitzler fc7f0b3908 fix that mask leak
SVN revision: 3511
2000-09-17 20:16:22 +00:00
Carsten Haitzler ff43dc6621 rectangles now work in the x11 engine
SVN revision: 3510
2000-09-17 20:07:23 +00:00
Carsten Haitzler 8641c36e33 ok - thats a litle better perfromance
SVN revision: 3506
2000-09-17 18:16:53 +00:00
Carsten Haitzler 240dc97f4c x11 engine code added - only partially works
SVN revision: 3503
2000-09-17 06:30:44 +00:00
Carsten Haitzler b57e34cc83 ok - that was screwy.. :) propt type problem - fixed :)
SVN revision: 3487
2000-09-16 00:24:38 +00:00
Carsten Haitzler b585b3006d comment added to evas_free - compiler bug? eh? really odd
SVN revision: 3486
2000-09-16 00:17:37 +00:00
Carsten Haitzler b155d7063a fix minor problem there.........
SVN revision: 3483
2000-09-15 23:49:25 +00:00