enabled and disabled state for checkboxes

SVN revision: 39947
This commit is contained in:
Andreas Volz 2009-04-10 21:03:20 +00:00
parent 4f039155d0
commit 877804e3ee
1 changed files with 40 additions and 0 deletions

View File

@ -17317,6 +17317,10 @@ group { name: "e/toolbar/default/base";
inherit: "default" 0.0; inherit: "default" 0.0;
image.normal: "check_sel.png"; image.normal: "check_sel.png";
} }
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
} }
part { name: "mark_hold"; part { name: "mark_hold";
type: RECT; type: RECT;
@ -17404,6 +17408,22 @@ group { name: "e/toolbar/default/base";
source: "event"; source: "event";
action: SIGNAL_EMIT "e,action,toggle" ""; 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/check_icon"; group { name: "e/widgets/check_icon";
@ -17444,6 +17464,10 @@ group { name: "e/toolbar/default/base";
inherit: "default" 0.0; inherit: "default" 0.0;
image.normal: "check_sel.png"; image.normal: "check_sel.png";
} }
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
} }
part { name: "mark_hold"; part { name: "mark_hold";
type: RECT; type: RECT;
@ -17581,6 +17605,22 @@ group { name: "e/toolbar/default/base";
target: "e.swallow.icon"; target: "e.swallow.icon";
target: "label_clip"; 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";
}
} }
} }