image: "00_eidt_field_bg.png" COMP; \
}
-#define ENTRY_TEXTBLOCK_DEFAULT_REL \
- rel1 { \
- relative: 0.0 0.0; \
- } \
- rel2 { \
- to_x: "clear_padding"; \
- relative: 0.0 1.0; \
- }
-
#define ENTRY_EDITFIELD_TEXTBLOCK_DEFAULT_REL \
rel1 { \
to_x: "focus_left_padding"; \
relative: 0.0 1.0; \
}
-#define ENTRY_SWALLOW_SCRIPT_PUBLIC \
+#define ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC \
script { \
public scroll_enabled; \
}
-#define ENTRY_SWALLOW_PARTS \
- part { name: "clear_padding"; \
- type: SPACER; \
- scale: 1; \
- description { state: "default" 0.0; \
- align: 1.0 0.5; \
- min: 0 0; \
- max: 0 0; \
- fixed: 1 0; \
- rel1 { \
- relative: 1.0 0.0; \
- } \
- rel2 { \
- relative: 1.0 1.0; \
- } \
- } \
- description { state: "visible" 0.0; \
- inherit: "default" 0.0; \
- min: 70 0; \
- max: 70 0; \
- } \
- } \
- part { name: "elm.swallow.clear"; \
- type: SWALLOW; \
- scale: 1; \
- description { state: "default" 0.0; \
- align: 1.0 0.5; \
- fixed: 1 1; \
- rel1 { \
- relative: 1.0 0.0; \
- } \
- rel2 { \
- relative: 1.0 1.0; \
- } \
- visible: 0; \
- } \
- description { state: "visible" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- }
-
#define ENTRY_EDITFIELD_SWALLOW_PARTS \
part { name: "clear_padding"; \
type: SPACER; \
} \
}
-#define ENTRY_SWALLOW_PROGRAMS \
- program { name: "scroll_enabled"; \
- signal: "elm,state,scroll,enabled"; \
- source: "*"; \
- script { \
- set_int(scroll_enabled, 1); \
- } \
- } \
- program { name: "scroll_disabled"; \
- signal: "elm,state,scroll,disabled"; \
- source: "*"; \
- script { \
- set_int(scroll_enabled, 0); \
- } \
- } \
- program { name: "clear_show"; \
- signal: "elm,state,clear,visible"; \
- source: "*"; \
- script { \
- new v; \
- v = get_int(scroll_enabled); \
- if (!v) { \
- set_state(PART:"elm.swallow.clear", "visible", 0.0); \
- set_state(PART:"clear_padding", "visible", 0.0); \
- } \
- } \
- } \
- program { name: "clear_hide"; \
- signal: "elm,state,clear,hidden"; \
- source: "*"; \
- script { \
- new v; \
- v = get_int(scroll_enabled); \
- if (!v) { \
- set_state(PART:"elm.swallow.clear", "default", 0.0); \
- set_state(PART:"clear_padding", "default", 0.0); \
- } \
- } \
- }
-
#define ENTRY_EDITFIELD_SWALLOW_PROGRAMS \
program { name: "scroll_enabled"; \
signal: "elm,state,scroll,enabled"; \
min: 0 1;
align: 0.0 0.0;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 0 1;
align: 0.0 0.0;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 1 1;
align: 0.0 0.0;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
}
ENTRY_EDITFIELD_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
+ ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
}
ENTRY_EDITFIELD_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
+ ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
}
ENTRY_EDITFIELD_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
+ ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
}
ENTRY_EDITFIELD_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
+ ENTRY_EDITFIELD_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
max: 0 0;
align: 0.0 0.5;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 1 1;
max: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 1 1;
max: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 1 1;
max: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
group { name: "elm/entry/base/font_color_black";
style: "font_color_black_textblock_style";
min: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
style: "font_color_black_textblock_char_wrap_style";
min: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
min: 1 1;
max: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}
text {
style: "tizen_text_class_single_textblock_style";
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
min: 1 1;
max: 0 1;
}
- ENTRY_TEXTBLOCK_DEFAULT_REL
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
}
- ENTRY_SWALLOW_PARTS
}
- ENTRY_SWALLOW_SCRIPT_PUBLIC
programs {
program { name: "focus";
signal: "load";
source: "elm.text";
action: PLAY_SAMPLE "touch_sound" 1.0;
}
- ENTRY_SWALLOW_PROGRAMS
}
}