Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ecompmgr.c
Log Message:
Combine some shadow parameters, change defaults.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- ecompmgr.c 10 Jan 2006 23:03:31 -0000 1.94
+++ ecompmgr.c 12 Jan 2006 21:37:33 -0000 1.95
@@ -134,15 +134,11 @@
struct
{
int mode;
+ int offset_x, offset_y;
struct
{
int radius;
- int offset_x, offset_y;
} blur;
- struct
- {
- int offset_x, offset_y;
- } sharp;
} shadows;
struct
{
@@ -916,18 +912,18 @@
if (Conf_compmgr.shadows.mode == ECM_SHADOWS_SHARP)
{
- cw->shadow_dx = Conf_compmgr.shadows.sharp.offset_x;
- cw->shadow_dy = Conf_compmgr.shadows.sharp.offset_y;
+ cw->shadow_dx = Conf_compmgr.shadows.offset_x;
+ cw->shadow_dy = Conf_compmgr.shadows.offset_y;
cw->shadow_width = cw->rcw;
cw->shadow_height = cw->rch;
}
else
{
cw->shadow_dx =
- Conf_compmgr.shadows.blur.offset_x -
+ Conf_compmgr.shadows.offset_x -
Conf_compmgr.shadows.blur.radius * 5 / 4;
cw->shadow_dy =
- Conf_compmgr.shadows.blur.offset_y -
+ Conf_compmgr.shadows.offset_y -
Conf_compmgr.shadows.blur.radius * 5 / 4;
if (!cw->shadow)
{
@@ -2582,11 +2578,9 @@
CFG_ITEM_BOOL(Conf_compmgr, enable, 0),
CFG_ITEM_INT(Conf_compmgr, mode, 1),
CFG_ITEM_INT(Conf_compmgr, shadows.mode, 0),
- CFG_ITEM_INT(Conf_compmgr, shadows.blur.radius, 8),
- CFG_ITEM_INT(Conf_compmgr, shadows.blur.offset_x, 2),
- CFG_ITEM_INT(Conf_compmgr, shadows.blur.offset_y, 2),
- CFG_ITEM_INT(Conf_compmgr, shadows.sharp.offset_x, 2),
- CFG_ITEM_INT(Conf_compmgr, shadows.sharp.offset_y, 7),
+ CFG_ITEM_INT(Conf_compmgr, shadows.offset_x, 3),
+ CFG_ITEM_INT(Conf_compmgr, shadows.offset_y, 5),
+ CFG_ITEM_INT(Conf_compmgr, shadows.blur.radius, 5),
CFG_ITEM_BOOL(Conf_compmgr, resize_fix_enable, 0),
CFG_ITEM_BOOL(Conf_compmgr, use_name_pixmap, 0),
CFG_ITEM_BOOL(Conf_compmgr, fading.enable, 1),
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs