Commit Graph

108 Commits

Author SHA1 Message Date
Carsten Haitzler c05284ea5f fix sizing problem when u set style after setting text/font
SVN revision: 22873
2006-05-25 02:40:09 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
Stafford Mitchell Horne 3a6d184758 Add API for getting the available fonts
SVN revision: 22416
2006-04-30 11:39:44 +00:00
stffrdhrn ec8cd4cc08 Add fontconfig to evas for finding fonts
* This can be disabled with --enable-fontconfig=no
 * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
 * This is just the beginning: TODO: style searching, language reorder bypass


SVN revision: 21394
2006-03-19 04:29:57 +00:00
Carsten Haitzler 986bc3b7d0 rehinting works on the fly now
SVN revision: 20857
2006-03-01 03:48:02 +00:00
Carsten Haitzler e8bf4cdcbb make hinting an engine api thnig - engine apis need to be mroe easily updated
SVN revision: 20850
2006-02-28 04:07:49 +00:00
Carsten Haitzler c26850d809 text objects never drew with offsets to account for style padding - done now :)
SVN revision: 20509
2006-02-16 02:06:55 +00:00
Carsten Haitzler bc59e998b7 patch from al catching nasty oops
SVN revision: 19765
2006-01-14 09:26:22 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler 3621124677 stringshare works! :)
SVN revision: 18724
2005-11-30 08:45:20 +00:00
Carsten Haitzler 7ea7bdf610 disable stringshare... something fishy.
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler aaf6e303bd use stringshare. saves a few hundred allocs... if we start doing lots of text
:)


SVN revision: 18679
2005-11-28 15:18:01 +00:00
rbdpngn ebfeef8e19 Avoid allocations on "".
SVN revision: 18656
2005-11-27 07:02:34 +00:00
Carsten Haitzler ca12b981bb clip colors apply to style colors now too
SVN revision: 18652
2005-11-26 15:56:51 +00:00
Carsten Haitzler 18f311a137 typo fix
SVN revision: 18650
2005-11-26 13:58:33 +00:00
rbdpngn 74dc468be3 Create a shared style type enum and padding mapping function.
Implement styles for the text object.
Add soft outline text style to text and textblock.


SVN revision: 18644
2005-11-26 08:04:20 +00:00
Carsten Haitzler 54af68f9c7 oops - fix freeze stuff.
SVN revision: 16836
2005-09-22 02:52:53 +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
Carsten Haitzler acc0701e10 1. id3 album cover loader patches
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17  u can literally maintain multiple
config profiles and choose which one at any time etc.


SVN revision: 15864
2005-07-22 10:28:11 +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 75ae92333a warnigns cleanups + fb 32bpp transparency support for evas from celement
SVN revision: 14893
2005-05-22 03:02:15 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler cb54bb2e60 optimisipoos. (e17's menus should be more responsive now)
SVN revision: 14084
2005-04-03 14:22:17 +00:00
Carsten Haitzler f047113949 dont realod ye demons of evil slowness! FIX FIX! cache you biotch! cache!
SVN revision: 14055
2005-04-01 07:14:16 +00:00
Carsten Haitzler 0f39910d92 get font sizes right even if text object is NULL string..
SVN revision: 13212
2005-02-07 02:25:27 +00:00
Carsten Haitzler ed98ed1746 and in one foul swoop i merged font loading code betwene text block and text
objects... wherd!


SVN revision: 13152
2005-01-31 15:03:38 +00:00
Carsten Haitzler a09df78344 and name the fn better
SVN revision: 12826
2005-01-08 10:39:09 +00:00
Carsten Haitzler ee2346b2c8 1. move font dir to its own
2. textblokc object stub. this is for an etxo-style text object. nothing much
there yet.


SVN revision: 12825
2005-01-08 10:02:18 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler a27188129c valgrind problems... valgrind told me so! :)
SVN revision: 11406
2004-08-28 01:38:31 +00:00
Carsten Haitzler 1131ec1e34 and here are the stubs of a cairo engine
SVN revision: 11248
2004-08-17 06:03:39 +00:00
tsauerbeck 7cde671ea0 don't try to get the previous character to position 0
SVN revision: 11208
2004-08-12 18:59:03 +00:00
ncn 1ac05630b8 Some new docs, some cleanup, some more groups.
SVN revision: 11203
2004-08-12 12:14:01 +00:00
Carsten Haitzler 59419c9aa4 propogate pass_events to sub-objects of smart objects...
SVN revision: 10503
2004-06-14 06:04:22 +00:00
Carsten Haitzler a3f6222d01 and check there
SVN revision: 10084
2004-05-06 02:19:15 +00:00
Carsten Haitzler b5d9bf4dd0 extra paranoid checks for text ptr
SVN revision: 10083
2004-05-06 02:12:21 +00:00
Carsten Haitzler 329fcd6494 and dont leave stale fonthandles around...
SVN revision: 8631
2004-01-23 07:53:08 +00:00
Carsten Haitzler 8523421b7c added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.


SVN revision: 8625
2004-01-23 02:14:45 +00:00
Carsten Haitzler dca0de96c2 till's shutdown patch - this is good (tm). :)
SVN revision: 8371
2004-01-13 02:24:03 +00:00
Carsten Haitzler 83ca13924e dont segv if font wasnt loaded and we query
SVN revision: 7756
2003-10-29 00:22:46 +00:00
Carsten Haitzler 1bf34243f6 move co-ordinates to be their own type. this is a good thing, because ti
allows me to be able to virtualize he canvas co-ordinate system. right now
it's doubles. i can now move to floats, int's etc. with a recompile (and well
recompile all depending apps too). it's still ACTUALLY doubles, just all
typedef'ed now. i've also changed booleans to actual boolean types (not an
int), all code will keep working - but i'd highly suggest moving your code to
use these types if interacting with evas.


SVN revision: 7644
2003-10-18 03:34:00 +00:00
Carsten Haitzler 2b3b2ff8ca ooooops. evas bug1 fix fix fix
SVN revision: 7213
2003-07-22 05:16:47 +00:00
Carsten Haitzler 368cac9350 also if text itself changes...
SVN revision: 7185
2003-07-18 01:46:12 +00:00
Carsten Haitzler 310f0bda19 valgrindy goodness
SVN revision: 7184
2003-07-17 10:35:13 +00:00
Carsten Haitzler 583791b12e optimize text object state change.. much better!
SVN revision: 7177
2003-07-16 05:12:46 +00:00
Carsten Haitzler d2aadd94b2 optimize font searching... fixed that fixme.
SVN revision: 7176
2003-07-16 04:00:47 +00:00
Carsten Haitzler bfe9b1fa8e fixing minor arithmeic stuff in text queries. all happy now.
SVN revision: 6986
2003-06-07 02:32:30 +00:00
Carsten Haitzler 0495a7540b new calls to help string processing for programs - these walk up and down 1
utf8 character (sicne thats evas's standard string format). this lets apps do
character processing AND still be utf8-safe.


SVN revision: 6976
2003-06-05 06:08:43 +00:00
Carsten Haitzler 5ca397ff69 fonts.dir fonts.alias support... so u can point evas at x's font
directories... as long as the fonts are ttf's it will work. you can use
x-style font definition. ie.
-*-helmet-medium-r-*-*-*-*-*-*-*-*-*-*
:)
(fonts.alias is also supported!). the old style is still supported too.


SVN revision: 6870
2003-04-20 08:26:32 +00:00
Carsten Haitzler 4947646c07 accept NULLS for font queries
SVN revision: 6865
2003-04-16 02:04:30 +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 9854af242d i've been leaning mem usage down... save 30% on all evas_objects now! :)
SVN revision: 6678
2003-02-09 04:22:45 +00:00
Carsten Haitzler fcc61494df fear the changes... api breakage... everyone.. errr... fix yer proggies! :)
SVN revision: 6618
2003-01-22 22:24:36 +00:00
Carsten Haitzler 3f207b8c08 const-ify lots of things...
SVN revision: 6558
2003-01-10 04:58:51 +00:00
Carsten Haitzler 47280739ac oh my wordy lordy me.. too accurate for its own good soi've had to fidge to
overlap parts as the positioning is done in 24.8 space not integer space


SVN revision: 6553
2003-01-08 06:39:38 +00:00
Carsten Haitzler d1d3b62ebe hmm. forgot to translate text coords form queries.. and some glyph vs char
pos bugs


SVN revision: 6526
2002-12-29 02:09:34 +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