Commit Graph

84 Commits

Author SHA1 Message Date
Carsten Haitzler 54184c2c37 add max text size for text objects - object wont get bigger than its text
contents. useful for some things.


SVN revision: 26439
2006-10-09 06:01:13 +00:00
Carsten Haitzler 2a8ce1da55 less noisy debug
SVN revision: 25209
2006-08-30 13:23:57 +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
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 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
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 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 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
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
sebastid 002bc72042 Fix EAPI warnings.
SVN revision: 19595
2006-01-07 08:54:30 +00:00
Carsten Haitzler 929cc2d47d null ptr checks
SVN revision: 18846
2005-12-05 10:08:30 +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 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 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
Carsten Haitzler 0fc27f512b i dunno - be more paranoid and shit!
SVN revision: 17026
2005-09-28 07:13:16 +00:00
Carsten Haitzler a4fc9aa9ba fix typos in edje docs patch from martin :)
SVN revision: 16821
2005-09-21 03:11:31 +00:00
Carsten Haitzler d9933843b6 handle textblock fixed with and variable height as a result formatting with
min size calcs


SVN revision: 16780
2005-09-20 05:49:22 +00:00
Carsten Haitzler 8de24f02e4 comment--
SVN revision: 16761
2005-09-19 06:53:37 +00:00
Carsten Haitzler 2c69e593a8 hmm - make min size calculation mroe accurate and handle corner cases...
SVN revision: 16760
2005-09-19 06:51:49 +00:00
Carsten Haitzler 3ac48d63ae and edje started supporting.... TEXTBLOCK2!!!!!
see e_logo.edc for an example. :)


SVN revision: 16698
2005-09-12 09:43:49 +00:00
Carsten Haitzler 9398e011ff fix up fnmatch weirdness
SVN revision: 15043
2005-05-31 23:02:29 +00:00
tsauerbeck 9f1af178f3 tweak. if edje_fontset_append_set() is passed NULL, free the global variable and set it to NULL instead of not doing anything
SVN revision: 13964
2005-03-28 14:26:29 +00:00
tsauerbeck c095b1e9fd fixed a potential segfault
SVN revision: 13963
2005-03-28 14:14:15 +00:00
Carsten Haitzler 6938a5eb5f suport fontset appends
SVN revision: 13808
2005-03-20 16:49:10 +00:00
sebastid 072f4fe057 viminfo
SVN revision: 13492
2005-02-24 10:25:40 +00:00
Carsten Haitzler e7ff787ea6 a workaround for myseterious job loss...
SVN revision: 12954
2005-01-13 15:42:56 +00:00
Dan Sinclair 64fd36e92f - clean up the _edje_color_class_hash and _edje_text_class_hash on
edje_shutdown


SVN revision: 12943
2005-01-13 06:29:52 +00:00
Dan Sinclair 166867f286 - this needs to be initialized
SVN revision: 12941
2005-01-13 06:00:37 +00:00
Carsten Haitzler bbca4d6f18 and handle NULL text params
SVN revision: 12914
2005-01-12 02:58:17 +00:00
tsauerbeck 5c6f1e4594 some janitor work. no new bugs this time ;)
SVN revision: 12449
2004-12-11 19:08:55 +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 9b2339df48 fix initial dragable values
SVN revision: 12229
2004-11-20 04:43:37 +00:00
tsauerbeck c931ff883f warning fix
SVN revision: 12078
2004-10-30 11:08:17 +00:00
rephorm 634caa3c9e ref and unref the edje when blocking/unblocking and creating/deleting messages to avoid accessing free'd memory if an edje is deleted from an edje signal callback.
SVN revision: 12070
2004-10-30 02:30:55 +00:00
tsauerbeck ade8c6b269 doxygen fixes
SVN revision: 12042
2004-10-27 19:24:42 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler f4208aa56c aaaaaaaaaaaah message queue related fix.
SVN revision: 11207
2004-08-12 18:55:45 +00:00
Carsten Haitzler 001bc61602 more comments
SVN revision: 10821
2004-07-14 09:59:29 +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 523ae99dc2 clean up more...
SVN revision: 10267
2004-05-18 06:05:49 +00:00
Carsten Haitzler 7bd60e9cb0 busy adding some MEAT to edje's embryo script support. just added
"persistent" variables - ie tied to each instance of an edje object and you
can save/load via get_int() set_int() get_float() set_float(), get_str(),
get_strlen() and set_str(). the values are fetched/stored wherever you do
these calls. you need a public variable declaration to indicate you want to
use a global var, and use this variable handle as the variable index - edje
will init it for you.

e_logo.edc has some examples...
:)

this solves being able to keep state like if a check button is enabled or
disabled etc. etc. etc.
then i guess its onto the rest of the calls...


SVN revision: 9526
2004-03-30 10:30:35 +00:00