Iván Briano
140b0a9fca
Add function to get the length in characters of a string
...
SVN revision: 38158
2008-12-15 22:03:04 +00:00
Carsten Haitzler
7e6fb27b4c
make scale set apply immediately on objects that do scaling...
...
SVN revision: 37656
2008-11-15 10:39:46 +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
Davide Andreoli
6637117c95
* put all the verious objects (rect, image, text...) in a single macro category
...
SVN revision: 37384
2008-11-01 21:07:49 +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
Cedric BAIL
1cec65e922
Switch evas internal use of evas_stringshare to eina_stringshare.
...
SVN revision: 36674
2008-10-15 14:38:34 +00:00
Carsten Haitzler
0cf0cd8e15
ensure scaling multiplies are promoted to fp.
...
SVN revision: 35924
2008-09-10 06:40:54 +00:00
Carsten Haitzler
c1d838efa7
promote scale to fp.
...
SVN revision: 35920
2008-09-10 05:43:25 +00:00
Carsten Haitzler
d06c5e9efb
and add a scale factor per object. right now text and textblock use it.
...
that's about it. a bit hacky - but works and frankly.. the idea is that u'd
set a scale factor once really and not change it per obj... most likely.
SVN revision: 35896
2008-09-09 14:14:26 +00:00
Carsten Haitzler
d73b8c5d7b
updated patches from jose!
...
SVN revision: 35756
2008-08-31 02:04:31 +00:00
Carsten Haitzler
c1fe72d7e4
jose has some new gradient work - these are his patches. nice work joseg! yes
...
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).
SVN revision: 35677
2008-08-26 05:45:04 +00:00
Carsten Haitzler
3242217c16
cedric rect + arrays patch for reducing allocs
...
SVN revision: 35024
2008-07-07 21:29:29 +00:00
Gustavo Sverzut Barbieri
7a82a3e43d
Save 20 bytes moving smart data to its specific object struct.
...
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).
There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.
SVN revision: 34419
2008-05-01 05:48:03 +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
Gustavo Sverzut Barbieri
bbc9773a26
Add const to Evas api (part 2), still lacks objects.
...
SVN revision: 33713
2008-02-08 20:57:30 +00:00
tilman
1bd182b2f1
When we're drawing text objects, don't apply the horizontal bearing ourselves.
...
The font drawing code already takes care of that.
This fixes alignment problems most visible with monospaced fonts.
SVN revision: 31511
2007-08-26 11:06:34 +00:00
Carsten Haitzler
0c4af24a33
save a few bytes by packing structures better... simple savings :)
...
SVN revision: 30486
2007-06-28 23:22:20 +00:00
Carsten Haitzler
849e428e7f
documentation from brett... tiler can compiler again.
...
SVN revision: 30221
2007-06-04 09:48:28 +00:00
tilman
936b791547
a bunch of constness fixes
...
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Sebastian Dransfeld
6849defebf
Use cpp to remove code.
...
SVN revision: 27584
2006-12-28 12:23:13 +00:00
Carsten Haitzler
f80a02f999
a few things.
...
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h
SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler
8c93e825a8
same as previous commit.
...
SVN revision: 26236
2006-09-30 10:18:37 +00:00
sebastid
a17c875ddc
Add const.
...
Remove unused variables.
SVN revision: 23027
2006-05-31 18:33:46 +00:00
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