You can't rotate the panel but you can rotate other objects (i.e. showimg object) and draw them on to the panel:
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.obj = findimg(200);
with (temp.obj) {
image = "block.png";
rotation = pi;
}
new GuiWindowCtrl(RotateExample) {
x = y = width = height = 200;
new GuiDrawingPanel(RotateExamplePanel) {
x = 7;
y = 25;
width = height = 190;
clearall();
drawobject(30, 30, temp.obj);
}
}
hideimg(200);
}
Through clever use of saveimage and findimg, you could rotate the whole panel.