Commit Graph

364 Commits

Author SHA1 Message Date
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
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
Carsten Haitzler 8fbcb18c64 handle more returns with more info
SVN revision: 19988
2006-01-23 15:13:45 +00:00
rbdpngn ea9bfd7103 Stringshare free fix from David Stevenson.
SVN revision: 19954
2006-01-21 22:38:01 +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
Carsten Haitzler ce35591227 dave's catch of null strings
SVN revision: 19086
2005-12-17 09:58:19 +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 081335eda4 we dont need no steenkin move signals
SVN revision: 18377
2005-11-08 10:06:59 +00:00
Carsten Haitzler 36db7b296f add elipsis direct control
SVN revision: 18326
2005-11-06 03:32:01 +00:00
sebastid 0cad0c7b33 Don't use strlen to check if a string is empty.
SVN revision: 18269
2005-11-04 07:56:13 +00:00
Carsten Haitzler bcab625b79 fix det leeek
SVN revision: 18209
2005-11-02 08:13:56 +00:00
Carsten Haitzler b10d8cce4a dragables are back (broken them accidentally)
SVN revision: 18189
2005-11-01 09:53:16 +00:00
Carsten Haitzler a080215a72 remove excess calcs.
add faster missed job reaper timer


SVN revision: 18183
2005-11-01 04:10:01 +00:00
Carsten Haitzler 3b20105112 minor leak--
SVN revision: 18142
2005-10-30 09:06:45 +00:00
Carsten Haitzler 83f010591d no more old textblock - gone. completely. tb2 renamed (as threatened) to
textblock. updated edje and e17.


SVN revision: 18054
2005-10-28 02:56:27 +00:00
Carsten Haitzler 208de4897a the first wave of evas smart object modes. commit hell #1. :) other things
still need updating in cvs - but i am sure others can do that :)


SVN revision: 18001
2005-10-27 02:44:36 +00:00
stffrdhrn c45a3f58b5 - If its not really edj, or if its corrupt dont crash
- Collect the error message now. should we just check for NULL when setting?


SVN revision: 17777
2005-10-23 00:15:45 +00:00
rbdpngn ccc8f7236f Set load errors in more cases.
SVN revision: 17617
2005-10-16 20:36:20 +00:00
Carsten Haitzler 8c01f55114 add embryo api to get the state of a part (handy eh?) :)
SVN revision: 17345
2005-10-09 09:49:53 +00:00
tsauerbeck 029624efdf warning fixes
SVN revision: 17271
2005-10-07 11:26:15 +00:00
tsauerbeck 2d8e793026 warn about cancelling non-existing timers, too
SVN revision: 17270
2005-10-07 11:24:07 +00:00
Carsten Haitzler a834628ff1 embryo debug stuff from till
SVN revision: 17259
2005-10-07 03:55:28 +00:00