Commit Graph

506 Commits

Author SHA1 Message Date
Carsten Haitzler 0f757ee21a edje_decc works properly with default theme (as long as u rememeber to pass
-DE17_PROFILE=SLOW_PC" so #defines get fixed


SVN revision: 22847
2006-05-23 03:23:31 +00:00
Carsten Haitzler 155dbbbae8 dont set drag val if user already dragging
SVN revision: 22395
2006-04-29 14:15:16 +00:00
Stafford Mitchell Horne 7ba307776d Edje textblock cleanups fixes
* Fix edje font order (source, size, font) . This is needed so that evas
   when parsing the style will only try to load the font once it sees the
   font name. otherwise, if we load before we know where the source is and
   fontconfig will takeover and load up all of its fallbacks.
 * Remove inheritance. This is covered by evas. This means the text_class
   will only modify style parameters which are already defined in the style.


SVN revision: 21533
2006-03-28 16:36:04 +00:00
Stafford Mitchell Horne 39c1195176 Add ability for text blocks to use text classes
* Classes are defined at the tag level
 * Tags whithout classes inherit the parent class
 * text class defined by putting text_class=<class name> in tag style


SVN revision: 21518
2006-03-28 07:45:54 +00:00
stffrdhrn 46a61a67b7 Edje bug fixes:
* Add some comments
 * Fixup some const char */stringshare related compile warnings
 * Fix text classes


SVN revision: 21392
2006-03-19 04:22:35 +00:00
Christopher Michael 44e09d9e74 Fix typo spotted by odium :)
SVN revision: 21189
2006-03-11 15:34:46 +00:00
tsauerbeck 0b74d51971 custom state: i think we should inherit the parent's text style, too
SVN revision: 20775
2006-02-25 09:57:55 +00:00
tsauerbeck 697f0a1600 the custom state code was still using strdup, but it needs to use the stringshare api
SVN revision: 20774
2006-02-25 09:56:09 +00:00
codewarrior 31b64ba77a after hours of work, discusisons with rephorm, and raster, I found this!
(13:05) <raster> BAD formie

(=


SVN revision: 20571
2006-02-19 11:14:49 +00:00
tsauerbeck 9f701ace3f support empty includes
SVN revision: 20438
2006-02-13 18:20:26 +00:00
rephorm 89d591573a one more place that NULLS out the shared color class on delete.
SVN revision: 20099
2006-01-29 17:04:41 +00:00
rephorm 803562a836 don't free color class stuff in text_on_del, it gets done in color_class_on_del...
also, it seems as though default descriptions at least are shared between objects of the same group, so when this set the color_class to NULL, all other objects lost their colors.


SVN revision: 20098
2006-01-29 16:50:30 +00:00
rephorm adb75e5097 Require that groups have a name.
SVN revision: 20094
2006-01-29 06:05:16 +00:00
Carsten Haitzler 8fbcb18c64 handle more returns with more info
SVN revision: 19988
2006-01-23 15:13:45 +00:00
Carsten Haitzler 1f5e929fd1 handle more returns with more info
SVN revision: 19987
2006-01-23 15:13:44 +00:00
rbdpngn ea9bfd7103 Stringshare free fix from David Stevenson.
SVN revision: 19954
2006-01-21 22:38:01 +00:00
Christopher Michael 50d3d7649f Fix typo
SVN revision: 19901
2006-01-19 12:12:46 +00:00
rephorm af09f73295 damn wacked out indent style :)
SVN revision: 19884
2006-01-18 01:01:05 +00:00
rephorm dc2a82223e mark edjes as dirty when their color class is deleted
SVN revision: 19882
2006-01-18 00:43:55 +00:00
rephorm 24b55bb6c2 Add edje_color_class_del(), edje_object_color_class_del() and edje_color_class_list().
Use stringshare for cc names.


SVN revision: 19862
2006-01-17 02:41:26 +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
sebastid e29d193d3e Unused func.
SVN revision: 19788
2006-01-14 15:30:00 +00:00
rephorm 702c78bb82 color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19708
2006-01-11 03:19:46 +00:00
rephorm 0b56671b3e color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19707
2006-01-11 03:19:45 +00:00
Carsten Haitzler 53b57f67a6 visibility -> off
SVN revision: 19682
2006-01-10 07:34:48 +00:00
sebastid 002bc72042 Fix EAPI warnings.
SVN revision: 19595
2006-01-07 08:54:30 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn 7d614c0570 Use the second updated patch for the cpp problem. Originally submitted by Romu
on #edevelop.


SVN revision: 19224
2005-12-22 04:20:42 +00:00
Carsten Haitzler 62799c9e70 different cpp invokation attempt
SVN revision: 19196
2005-12-21 04:29:16 +00:00
Carsten Haitzler ce35591227 dave's catch of null strings
SVN revision: 19086
2005-12-17 09:58:19 +00:00
Carsten Haitzler 6fbd81ed4c handle no name part.
SVN revision: 18995
2005-12-13 15:11:21 +00:00
Carsten Haitzler 929cc2d47d null ptr checks
SVN revision: 18846
2005-12-05 10:08:30 +00:00
Carsten Haitzler f9865e04da oops - using free() instead of stringshare_del(). fixed.
SVN revision: 18736
2005-12-01 01:01:04 +00:00
Carsten Haitzler bd0c83af10 make more use of stringshare and eet alloc methods
SVN revision: 18732
2005-11-30 15:36:34 +00:00
Carsten Haitzler 430b2a1901 use stringshare! :)
SVN revision: 18728
2005-11-30 09:56:15 +00:00
Carsten Haitzler 1c2dc52ae0 something is broken with text classes - disable for now.
SVN revision: 18723
2005-11-30 08:37:37 +00:00
Carsten Haitzler a976ce3d4e fix edje embryo scripts.
SVN revision: 18694
2005-11-29 07:27:57 +00:00
Carsten Haitzler e5856869df no need to alloc path and part strings if its cached and thus shared
anyway... so detect and re-cycle :)


SVN revision: 18677
2005-11-28 09:54:06 +00:00
Carsten Haitzler 0b90bc4c04 more fixes :)
SVN revision: 18651
2005-11-26 13:58:43 +00:00
Carsten Haitzler 2925b49159 noneed for offset since its inside the object now
SVN revision: 18649
2005-11-26 13:33:09 +00:00
rbdpngn ba901efc05 Use the style features available in evas text objects to avoid creating more
evas objects. This saves up to 25 text objects per text part for soft shadows.


SVN revision: 18645
2005-11-26 08:14:34 +00:00
Carsten Haitzler 7278f1d18b text badness fix
SVN revision: 18631
2005-11-24 08:10:22 +00:00
Carsten Haitzler 25ee716746 push/pop vm on the fly - saves a chunk of ram.
SVN revision: 18625
2005-11-24 03:23:01 +00:00
Carsten Haitzler 91eb081dd7 dont dup empty strings :)
SVN revision: 18621
2005-11-23 14:47:36 +00:00
Carsten Haitzler 3a6be732b9 clean up some null string stuff
SVN revision: 18620
2005-11-23 14:00:39 +00:00
Carsten Haitzler 22547970e9 more NULL string handling
SVN revision: 18619
2005-11-23 13:02:09 +00:00
Carsten Haitzler 725d212f48 handle NULL strings better - need to handle mroe NULLS though
SVN revision: 18617
2005-11-23 12:56:06 +00:00
Carsten Haitzler 41f9c95d96 no point disallowing sets.
SVN revision: 18515
2005-11-17 08:14:05 +00:00
Carsten Haitzler 1d9245b3f6 edje no longer needs imlib2.
SVN revision: 18425
2005-11-11 06:49:57 +00:00
Carsten Haitzler 081335eda4 we dont need no steenkin move signals
SVN revision: 18377
2005-11-08 10:06:59 +00:00