rel2.to: "palette";
align: 0.0 0.0;
}
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
}
part { name: "selector";
type: SWALLOW;
}
}
}
+ programs {
+ program { name: "palette";
+ source: "elm";
+ signal: "elm,state,palette";
+ action: STATE_SET "disabled" 0.0;
+ target: "bottom_padding";
+ }
+ program { name: "components";
+ source: "elm";
+ signal: "elm,state,components";
+ action: STATE_SET "disabled" 0.0;
+ target: "bottom_padding";
+ }
+ program { name: "both";
+ source: "elm";
+ signal: "elm,state,both";
+ action: STATE_SET "default" 0.0;
+ target: "bottom_padding";
+ }
+
+ }
}
group { name: "elm/colorselector/bg/default";
Evas_Object *cs = data;
Evas_Object *win = evas_object_data_get(cs, "win");
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_COMPONENTS);
- evas_object_resize(win, 320, 350);
+ evas_object_resize(win, 320, 455);
}
static void
Evas_Object *cs = data;
Evas_Object *win = evas_object_data_get(cs, "win");
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_BOTH);
- evas_object_resize(win, 320, 480);
+ evas_object_resize(win, 320, 535);
}
void
evas_object_show(bt);
elm_box_pack_end(bx2, bt);
- evas_object_resize(win, 320, 480);
+ evas_object_resize(win, 320, 500);
evas_object_show(win);
}
#endif
edje_object_part_swallow(wd->base, "palette", wd->box);
evas_object_show(wd->box);
}
+ edje_object_signal_emit(wd->base, "elm,state,palette", "elm");
break;
case ELM_COLORSELECTOR_COMPONENTS:
if (edje_object_part_swallow_get(wd->base, "palette"))
edje_object_part_swallow(wd->base, "selector", wd->sel);
evas_object_show(wd->sel);
}
+ edje_object_signal_emit(wd->base, "elm,state,components", "elm");
break;
case ELM_COLORSELECTOR_BOTH:
if (!edje_object_part_swallow_get(wd->base, "palette"))
edje_object_part_swallow(wd->base, "selector", wd->sel);
evas_object_show(wd->sel);
}
+ edje_object_signal_emit(wd->base, "elm,state,both", "elm");
break;
default:
return;
}
+ edje_object_message_signal_process(wd->base);
+
_sizing_eval(obj);
}