Implement "maximize to fullscreen". Only the titlebar stays, the other

borders disappear.
Fixed the pos/size of "client" it should only have refs, no absolute
positions.


SVN revision: 15413
This commit is contained in:
sebastid 2005-06-18 04:28:53 +00:00 committed by sebastid
parent 76287489ce
commit 250a3edab6
1 changed files with 125 additions and 3 deletions

View File

@ -373,6 +373,25 @@ group {
smooth: 0;
}
}
description {
state: "hidden" 0.0;
rel1 {
relative: 1.0 1.0;
offset: 0 0;
to_y: "t3";
}
rel2 {
relative: 1.0 0.0;
offset: -1 -1;
to_y: "b2";
}
image {
normal: "e17_border4.png";
}
fill {
smooth: 0;
}
}
}
part {
name: "b2";
@ -394,6 +413,23 @@ group {
smooth: 0;
}
}
description {
state: "hidden" 0.0;
rel1 {
relative: 1.0 1.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_border5.png";
}
fill {
smooth: 0;
}
}
}
part {
name: "b3";
@ -417,6 +453,25 @@ group {
smooth: 0;
}
}
description {
state: "hidden" 0.0;
rel1 {
relative: 1.0 0.0;
offset: 0 0;
to: "b4";
}
rel2 {
relative: 0.0 1.0;
offset: -1 -1;
to: "b2";
}
image {
normal: "e17_border6.png";
}
fill {
smooth: 0;
}
}
}
part {
name: "b4";
@ -438,6 +493,23 @@ group {
smooth: 0;
}
}
description {
state: "hidden" 0.0;
rel1 {
relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
relative: 0.0 1.0;
offset: -1 -1;
}
image {
normal: "e17_border7.png";
}
fill {
smooth: 0;
}
}
}
part {
name: "b5";
@ -461,6 +533,25 @@ group {
smooth: 0;
}
}
description {
state: "hidden" 0.0;
rel1 {
relative: 0.0 1.0;
offset: 0 0;
to_y: "t1";
}
rel2 {
relative: 0.0 0.0;
offset: -1 -1;
to_y: "b4";
}
image {
normal: "e17_border4.png";
}
fill {
smooth: 0;
}
}
}
part {
name: "title_outline";
@ -957,9 +1048,10 @@ group {
description {
state: "default" 0.0;
rel1 {
relative: 0.0 1.0;
offset: 4 0;
to: "t1";
relative: 1.0 1.0;
offset: 0 0;
to_x: "b5";
to_y: "t1";
}
rel2 {
relative: 0.0 0.0;
@ -1479,6 +1571,36 @@ group {
target: "button_2_detail";
transition: LINEAR 0.2;
}
program {
name: "maximize_fullscreen";
signal: "maximize,fullscreen";
source: "";
action: STATE_SET "hidden" 0.0;
target: "b1";
action: STATE_SET "hidden" 0.0;
target: "b2";
action: STATE_SET "hidden" 0.0;
target: "b3";
action: STATE_SET "hidden" 0.0;
target: "b4";
action: STATE_SET "hidden" 0.0;
target: "b5";
}
program {
name: "unmaximize_fullscreen";
signal: "unmaximize,fullscreen";
source: "";
action: STATE_SET "default" 0.0;
target: "b1";
action: STATE_SET "default" 0.0;
target: "b2";
action: STATE_SET "default" 0.0;
target: "b3";
action: STATE_SET "default" 0.0;
target: "b4";
action: STATE_SET "default" 0.0;
target: "b5";
}
}
}