Listing 5
macros {
// the macros that are used in this dialog
#equal_panes_left_right(a,b) {
a.rect.width = parent.rect.width / 2;
a.rect.height = parent.rect.height;
b.rect.left = a.rect.width;
b.rect.width = a.rect.width;
b.rect.height = parent.rect.height;
}
#equal_panes_top_bottom(a,b) {
// ...
}
}
properties {
pane1.bg = rgb(10,10,10);
pane2.bg = pane1.bg + rgb(0,0,10);
pane1.font_name = "Tahoma";
// ...
}
layout horiz default {
#equal_panes_left_right(pane1, pane2);
}
layout vert {
#equal_panes_top_bottom(pane1, pane2);
}