static void
_cancel_button_clicked(void *data, Evas_Object *obj, void *event_info)
{
- if (isUnlocked) return; //Disable key input after unlocked.
+ if (isUnlocked) return;
_clear_all_password(data);
}
static void
_pin_button_clicked(void *data, Evas_Object *obj, const char *emission, const char *source)
{
- if (isUnlocked) return; //Disable key input after unlocked.
+ if (isUnlocked) return;
const char *txt = edje_object_part_text_get(obj, "text.number");
DBG("_pin_button_clicked!! [%s]", txt);
static void
_clear_button_clicked(void *data, Evas_Object *obj, const char *emission, const char *source)
{
- if (isUnlocked) return; //Disable key input after unlocked.
+ if (isUnlocked) return;
_clear_password(data);
}
evas_object_show(btn);
evas_object_show(layout);
- // Setup PIN pad
_pin_button_setup(layout, 1, 1, "1", NULL, _pin_button_clicked);
_pin_button_setup(layout, 1, 2, "2", "ABC" , _pin_button_clicked);
_pin_button_setup(layout, 1, 3, "3", "DEF" , _pin_button_clicked);
bool _create_app(void *data)
{
DBG("Syslock launch request.");
- elm_config_scale_set(2.6);
DBG("base scale : %f", elm_app_base_scale_get());
DBG("edje scale : %f", edje_scale_get());