set better defaults

SVN revision: 48853
This commit is contained in:
Hannes Janetzek 2010-05-14 06:49:20 +00:00
parent 11a62e9049
commit 6f5080e051
4 changed files with 14 additions and 9 deletions

View File

@ -32806,14 +32806,13 @@ collections {
description {
state: "default" 0.0;
visible: 0;
min: 386 118;
min: 286 118;
rel2.relative: 1.0 0.0;
rel2.offset: -1 118;
}
description {
state: "composite" 0.0;
visible: 0;
min: 486 218;
rel2.relative: 1.0 0.0;
rel2.offset: -1 218;
}
@ -33035,7 +33034,7 @@ collections {
description {
state: "default" 0.0;
visible: 0;
min: 400 255;
min: 300 155;
rel1 {
to_y: "frame";
offset: 10 -3;

View File

@ -362,8 +362,8 @@ _config_init()
IFMODCFG(0x0001);
evry_conf->rel_x = 0.5;
evry_conf->rel_y = 0.32;
evry_conf->width = 445;
evry_conf->height = 300;
evry_conf->width = 435;
evry_conf->height = 415;
evry_conf->scroll_animate = 1;
evry_conf->scroll_speed = 10.0;
evry_conf->hide_input = 0;
@ -375,7 +375,13 @@ _config_init()
evry_conf->history_sort_mode = 0;
evry_conf->first_run = EINA_TRUE;
IFMODCFGEND;
IFMODCFG(0x0002);
evry_conf->width = 435;
evry_conf->height = 415;
evry_conf->rel_y = 0.40;
IFMODCFGEND;
evry_conf->version = MOD_CONFIG_FILE_VERSION;
}

View File

@ -4,7 +4,7 @@
#define E_MOD_MAIN_H
#define MOD_CONFIG_FILE_EPOCH 0x0001
#define MOD_CONFIG_FILE_GENERATION 0x0001
#define MOD_CONFIG_FILE_GENERATION 0x0002
#define MOD_CONFIG_FILE_VERSION \
((MOD_CONFIG_FILE_EPOCH << 16) | MOD_CONFIG_FILE_GENERATION)

View File

@ -670,14 +670,14 @@ _evry_window_new(E_Zone *zone)
edje_object_size_min_calc(o, &mw, &mh);
evry_conf->min_w = mw;
if (evry_conf->width > mw)
mw = evry_conf->width;
evry_conf->width = mw;
evry_conf->min_h = mh;
if (evry_conf->height > mh)
mh = evry_conf->height;
mw += offset_s*2;
mh += offset_s*2;
x = (zone->w * evry_conf->rel_x) - (mw / 2);