disabled state for e/widgets/radio and e/widgets/radio_icon implemented

SVN revision: 39943
This commit is contained in:
Andreas Volz 2009-04-10 17:51:36 +00:00
parent 5c62d98898
commit 4b05d55f56
1 changed files with 41 additions and 1 deletions

View File

@ -17624,6 +17624,10 @@ group { name: "e/toolbar/default/base";
inherit: "default" 0.0;
image.normal: "radio_sel.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part { name: "mark_hold";
type: RECT;
@ -17675,7 +17679,7 @@ group { name: "e/toolbar/default/base";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
color: 0 0 0 128;
color_class: "radio_text_disabled";
}
}
@ -17711,6 +17715,22 @@ group { name: "e/toolbar/default/base";
source: "event";
action: SIGNAL_EMIT "e,action,toggle" "";
}
program { name: "disable";
signal: "e,state,disabled";
source: "e";
action: STATE_SET "disabled" 0.0;
target: "mark";
target: "event";
target: "e.text.label";
}
program { name: "enable";
signal: "e,state,enabled";
source: "e";
action: STATE_SET "default" 0.0;
target: "mark";
target: "event";
target: "e.text.label";
}
}
}
group { name: "e/widgets/radio_icon";
@ -17751,6 +17771,10 @@ group { name: "e/toolbar/default/base";
inherit: "default" 0.0;
image.normal: "radio_sel.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part { name: "mark_hold";
type: RECT;
@ -17888,6 +17912,22 @@ group { name: "e/toolbar/default/base";
target: "e.swallow.icon";
target: "label_clip";
}
program { name: "disable";
signal: "e,state,disabled";
source: "e";
action: STATE_SET "disabled" 0.0;
target: "mark";
target: "event";
target: "e.text.label";
}
program { name: "enable";
signal: "e,state,enabled";
source: "e";
action: STATE_SET "default" 0.0;
target: "mark";
target: "event";
target: "e.text.label";
}
}
}