Commit Graph

168 Commits

Author SHA1 Message Date
Carsten Haitzler b6f51da478 allow individual objects to have differing scaling factors (object scale
overrides edje global scale)



SVN revision: 38908
2009-02-03 05:07:58 +00:00
Cedric BAIL 519296191d Return success or not for table API.
SVN revision: 38381
2008-12-31 11:49:42 +00:00
Gustavo Sverzut Barbieri b1f00aa9d5 edjeL convert error code to string.
SVN revision: 38268
2008-12-21 18:39:36 +00:00
Iván Briano 7f3dfc66f2 And finally, edje table goes in
SVN revision: 38204
2008-12-18 02:43:20 +00:00
Gustavo Sverzut Barbieri 2f8f874b20 Shut up a bunch of warnings and fix some real errors.
SVN revision: 37954
2008-12-06 03:08:17 +00:00
Iván Briano 0ee4d07727 Edje Box in. Have fun with it.
SVN revision: 37783
2008-11-24 05:15:15 +00:00
Carsten Haitzler d5bc0e8546 add calls to select all/none
SVN revision: 37700
2008-11-18 08:45:27 +00:00
Carsten Haitzler 1d8a7e4dd3 allow you to get geom of anchors.
SVN revision: 37039
2008-10-24 00:44:26 +00:00
Cedric BAIL fa66dbf40a Remove Evas list from Edje and use Eina instead.
SVN revision: 36961
2008-10-22 11:34:42 +00:00
Carsten Haitzler 7428272b25 and support anchors now. fix up other nigglies. very solid now.
SVN revision: 36741
2008-10-17 06:40:46 +00:00
Carsten Haitzler ab9c9c71d3 edje entry growing.
SVN revision: 36709
2008-10-16 09:17:44 +00:00
Carsten Haitzler 23e2c9e035 support an edje scaling factor. parts can selectively say "yes.. scale me!"
:)... this allows e etc. to adapt to massivelyt different dpi screens with
slickness that even svg can't get to... why? you scale just what NEEDS
scaling (text, button sizes, and other limiting elements). other bits like
borders, padding etc. can remain pixel-perfect and thus the look is amazing.
pixel-perfect drawing with scalable adapting.



SVN revision: 35895
2008-09-09 14:13:34 +00:00
Gustavo Sverzut Barbieri d428d6ec1d Add some consts to Edje's API.
Some methods do no change object internal state and can be marked as
read only. In parallel have infamous edje_object_part_object_get() to
return a read-only object, so it's even more clear that one should not
touch this object state (either a cast or a compiler warning if you do
that!)


SVN revision: 35485
2008-08-14 18:21:27 +00:00
Gustavo Sverzut Barbieri a85c8a5f2b Fix name incoherency: rename Edje->part to group.
It is very confusing to have "part" there and in the methods call,
because we want the group name, not part.


SVN revision: 35483
2008-08-14 18:04:43 +00:00
doursse 653692fa28 fix autotools stuff for Windows
SVN revision: 34712
2008-05-31 06:15:41 +00:00
Carsten Haitzler dde62f1882 add another constraint-aware min calc
SVN revision: 34297
2008-04-17 10:22:57 +00:00
doursse 2e7692e45e make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces
SVN revision: 31517
2007-08-26 12:54:51 +00:00
Carsten Haitzler 24b62d0683 constness patches from cedric
SVN revision: 30848
2007-07-16 07:31:06 +00:00
rephorm d4a055585b Add GROUP Parts to edje.
These can be used to automatically swallow in another group from the same file.

Parts within child groups can be referred to by a ':' separated 'full path' of
part names. Any API functions that take a part name will now accept a full path
also.

Signals emitted by child objects will be repeated up to the parents with the
source changed to be the path relative to the receiving object.  E.g in the
example below, a mouse moving over the lower light green rectangle would result
in the parent object recieving a "mouse,move" signal with source "bot:inner".

**** NEW RESTRICTION ****  part names should no longer include a ':' character.
This is not yet enforced by edje_cc, but will cause the part to be inaccessible
from the API.

Example EDC:

collections {
  group {
    name: "parent";
    parts {
      part {
        name: "top";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel2.relative: 1 0.5;
        }
      }
      part {
        name: "bot";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel1.relative: 0 0.5;
        }
      }
    }
  }
  group {
    name: "child";
    parts {
      part {
        name: "base";
        type: RECT;
        description {
          state: "default" 0.0;
          color: 160 208 8 255;
        }
      }
      part {
        name: "inner";
        type: RECT;
        description {
          state: "default" 0.0;
          rel1.offset: 10 10;
          rel2.offset: -11 -11;
          color: 210 228 76 255;
        }
      }
    }
  }
}


SVN revision: 30087
2007-05-27 05:28:07 +00:00
Viktor Kojouharov 06ea50650b text_class_del/list functions
SVN revision: 27558
2006-12-24 10:29:16 +00:00
rephorm d01355b139 convenience function for testing if groups are in an edje
SVN revision: 25327
2006-09-02 05:10:17 +00:00
moom 5014c11f2e * Add edje_object_part_object_get() to get the 'Evas_Object *'
corresponding to a given part.


SVN revision: 24912
2006-08-19 18:22:01 +00:00
Carsten Haitzler 3ea84d923f more external aspect support - all working nicely now
SVN revision: 24148
2006-07-23 19:33:27 +00:00
Carsten Haitzler 5de5999b5a allow code to specify an aspect for swallowed objects
SVN revision: 24145
2006-07-23 13:50:02 +00:00
rephorm a58af07dd7 Add edje_color_class_del(), edje_object_color_class_del() and edje_color_class_list().
Use stringshare for cc names.


SVN revision: 19861
2006-01-17 02:41:25 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn ccc8f7236f Set load errors in more cases.
SVN revision: 17617
2005-10-16 20:36:20 +00:00
Carsten Haitzler c3d08acb8b file and collection cache - this should remove a lot of file io... :)
SVN revision: 14081
2005-04-03 11:43:00 +00:00
Carsten Haitzler 6938a5eb5f suport fontset appends
SVN revision: 13808
2005-03-20 16:49:10 +00:00
Carsten Haitzler 64f8d970a8 able to force a calc if we want to...
SVN revision: 12288
2004-11-28 14:52:01 +00:00
Carsten Haitzler feb5571092 hidden symbol support
SVN revision: 12252
2004-11-25 05:18:31 +00:00
Carsten Haitzler 674c783cdf more message queue calls
SVN revision: 11607
2004-09-11 02:59:23 +00:00
Carsten Haitzler 4648c06858 expose the ability to process the message queue any time :)
SVN revision: 11606
2004-09-11 02:41:23 +00:00
Carsten Haitzler 908b595357 more container stubs...
SVN revision: 11061
2004-07-27 19:05:46 +00:00
rbdpngn 6b9f49e51f Make the enum typedef seperate to appease some annoying compilers.
SVN revision: 10871
2004-07-16 23:34:26 +00:00
Carsten Haitzler 5ff4a5b272 fully supported message queues now. that was a chunk of work!
SVN revision: 10663
2004-07-02 10:17:25 +00:00
Carsten Haitzler 6393094fb7 werd up to ma homies yo... err - i mean - message queue now uses more
standard structs for messages, and i allow the message queue to fee itsel for
up to 8 iterations before forcing us to rever to normal loop processing
again. this shoudl cover most soignal emit/respond cases in normal usage
without forcing more loop to run and possibly a render.


SVN revision: 10662
2004-07-02 03:24:56 +00:00
Carsten Haitzler 4c90cb8d2a example of message handler in test.edc... a start.
SVN revision: 10657
2004-07-01 06:38:36 +00:00
Carsten Haitzler 5b506efe2c 1. fix a leak. i was naughty. spank spank
2. message queue is in - i am currently not surer if i shoudl go with this
varags api internally ot move to a more manual "build a list" thing... but the
message queue does work - i've moved signals to use it.


SVN revision: 10653
2004-07-01 03:46:05 +00:00
Carsten Haitzler 9fb09cae7a edje arlo patches
SVN revision: 10443
2004-06-06 04:42:17 +00:00
Carsten Haitzler 8c5069a658 add stuff for evoak... and edje list vars... :)
SVN revision: 10424
2004-06-03 09:14:55 +00:00
Carsten Haitzler d22c821b4a timers and animators are now supported from the embryo scripts - WOOO!
examples in e_logo.edc

errr - the animators may have problems if somehow aan animator is deleted or
object deleteded or file changed while running thru the list...


SVN revision: 9567
2004-04-02 09:16:53 +00:00
Carsten Haitzler 92b6f79c2e fixed a leak... patches from trill... need to go thru my mail....
SVN revision: 9281
2004-03-08 02:43:48 +00:00
Carsten Haitzler b2102064ed cleanies
SVN revision: 8574
2004-01-20 01:04:16 +00:00
tsauerbeck aa22ce4442 more memory management improvements. applications should call edje_shutdown() now.
SVN revision: 8355
2004-01-12 17:41:48 +00:00
rbdpngn 17678212d6 Global text and color class manipulation. Settings on individual edje's will
override the global values.


SVN revision: 7795
2003-11-04 06:15:19 +00:00
Carsten Haitzler c2ce9b7c48 load error fetching
SVN revision: 7674
2003-10-20 06:10:09 +00:00
Carsten Haitzler 00d83df7eb match changes made to evas.
SVN revision: 7645
2003-10-18 03:34:54 +00:00
rephorm 7e7a3e88b4 edje_object_file_set() now returns 1 on success and 0 on failure.
SVN revision: 7493
2003-09-29 20:43:37 +00:00
Carsten Haitzler df683295dd dragables are about complete now.. with new actions, page and step values....
all happy & smelly.


SVN revision: 7395
2003-09-01 02:53:08 +00:00
Carsten Haitzler d3ad6fedd9 the basics of dragables work. signals are generated properly. there's calls
to set/get dragable size relative to its confie and is value relative to its
cofine, query what directiosn a dragable can be dragged. you shoudl be able
to do scrollbars - except scroll arrows internally in edje making the
scrollbar move.


SVN revision: 7324
2003-08-15 13:35:25 +00:00
Carsten Haitzler 516e43fc09 you can add arbitary key/value pair strings to either 1 the edje file .eet as
a whole and/or to each collection in the edje .eet file (different
namespoaces with each collection having its own namespace) :) this shoudl
make Rbdpngn happy :)


SVN revision: 7288
2003-08-05 14:33:35 +00:00
Carsten Haitzler a8ed74dc0b more features... working on fixme list.
SVN revision: 7249
2003-07-27 13:16:51 +00:00
Carsten Haitzler 3d128a9cdc min.max size properties now per edje collection can be specified in the edje
.edc file and can be accessed. the min_size_get has become a min_size_calc
since it does actually calculate it.

also swallowed edjes will be queried for their own min/max size and that will
be used to further limit the part that swallows. also you can attach
properties to any old evas object so it will have min/max size properties
(maybe one day this can go into evas itself?). also swallowed objects if
deleted before the parent edje will "unswallow" themselves properly :)


SVN revision: 7195
2003-07-20 12:37:49 +00:00
Carsten Haitzler a7282b534b you can query the state of a part now
SVN revision: 7180
2003-07-16 13:50:28 +00:00
Carsten Haitzler fa42fa6de5 global freeze/thaw. much more optimial for COMPLEX edjed that take a fair bit
of grunt to re-calculate. avoid caclulations until idle time by freezing and
thawing appropriately pre/post render


SVN revision: 7178
2003-07-16 05:15:15 +00:00
Carsten Haitzler 565c76645a 1. types declared as int, not uchar. thansk rbdpgn! :)
2. you can query the REAL minimum size of an edje too.


SVN revision: 7168
2003-07-15 08:26:06 +00:00
Carsten Haitzler 395743c598 edje can now swallow other evas objects... including... other EDJES! :)
SVN revision: 7166
2003-07-13 06:19:09 +00:00
Carsten Haitzler a23287c9fe tect & colorclasses - in theory, work. must test!
SVN revision: 7164
2003-07-13 02:06:46 +00:00
Carsten Haitzler 426a67340f build cross-compiled version. edje on ipaq's :)
SVN revision: 7126
2003-07-10 13:34:04 +00:00
Carsten Haitzler 073e9b47c6 api change... yes i know. sorry! but it's early days. this is much cleaner
using better namespacing.


SVN revision: 7119
2003-07-08 10:08:15 +00:00
Carsten Haitzler 1b587fd598 work has been done while i've been away. i just need to put this in cvs. many
fixem's have been fixed. text parts work fully now, ALONG with all their
respective effect modes, fits, alignments and "chopping". a few more api
calls have been added and cleaned up. you'll need to update eet too for this
to work.


SVN revision: 7113
2003-07-07 07:55:18 +00:00
Carsten Haitzler 626d2b9981 lets keep geometry of objects in the canvas in canvas units (double's) :)
(and handle incorrect inputs too) :)


SVN revision: 7101
2003-06-26 23:58:58 +00:00
rephorm c22eea281c Edje part geometry querying added.
Only does something if part geom has been calculated.

Maybe this should return an int as to whether or not its actually giving the geometry values?


SVN revision: 7099
2003-06-26 21:14:48 +00:00
Carsten Haitzler e863599780 more fixme's added, more fixed up. external callbakcs are now in. calling
application can emit signals now too.


SVN revision: 7051
2003-06-21 02:51:01 +00:00
Carsten Haitzler 5427be918c Adding code to handle programs, signals, emissions, loops, animation, timers
and the whole lot. it WORKS! :) just re-run the e_logo.sh to rebuild an edje
.eet file that has animation built in... you'll see.


SVN revision: 7044
2003-06-19 14:43:49 +00:00
Carsten Haitzler 8cb638f08f the edje test program displays an edje .eet file now! build it all then:
cd data
./e_logo.sh
cd ..
./src/bin/edje

you can resize the window to watch the edje "bit" resize. this is just held
togetehr with sitckytape right now... its not done right.. it's only a
bootstrap - but it works. it needs to be cleaned up. definitely. will be
working on that.


SVN revision: 7041
2003-06-17 08:15:06 +00:00
Carsten Haitzler 664d811ff9 in we go edje... no it doesnt do anything useful at the moment...
SVN revision: 6968
2003-06-02 23:49:56 +00:00