2
Copyright (C) 2008,2009 INdT - Instituto Nokia de Tecnologia
3
Copyright (C) 2009,2010 ProFUSION embedded systems
4
Copyright (C) 2009,2010 Samsung Electronics
6
This file is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Library General Public
8
License as published by the Free Software Foundation; either
9
version 2 of the License, or (at your option) any later version.
11
This file is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Library General Public License for more details.
16
You should have received a copy of the GNU Library General Public License
17
along with this library; see the file COPYING.LIB. If not, write to
18
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.
23
name: "webkit/widget/search/decoration";
24
alias: "webkit/widget/search/results_decoration"; //TODO
27
image: "widget/search/decoration/decoration_normal_button.png" COMP;
38
if (get_int(isEnabled) == 1) {
39
set_state(PART:"decoration", "default", 0.0);
40
if (get_int(isFocused) == 1)
41
set_state(PART:"decoration", "focused", 0.0);
42
if (get_int(isPressed) == 1)
43
set_state(PART:"decoration", "pressed", 0.0);
44
if (get_int(isHovered) == 1)
45
set_state(PART:"decoration", "hovered", 0.0);
48
set_state(PART:"decoration", "disabled", 0.0);
62
normal: "widget/search/decoration/decoration_normal_button.png";
67
state: "disabled" 0.0;
68
inherit: "default" 0.0;
69
color: 255 255 255 150;
73
inherit: "default" 0.0;
77
inherit: "default" 0.0;
81
inherit: "default" 0.0;
91
set_int(isEnabled, 1);
99
set_int(isPressed, 1);
107
set_int(isFocused, 1);
115
set_int(isHovered, 1);
123
set_int(isEnabled, 0);
124
set_int(isPressed, 0);
125
set_int(isChecked, 0);
126
set_int(isFocused, 0);
127
set_int(isHovered, 0);