X-Git-Url: http://git.samba.org/samba.git/?p=kai%2Fsamba.git;a=blobdiff_plain;f=swat2%2Fstyle%2Fqooxdoo%2Fwidgets%2Fwidgets%2FQxBarSelectorPane.js;fp=swat2%2Fstyle%2Fqooxdoo%2Fwidgets%2Fwidgets%2FQxBarSelectorPane.js;h=0000000000000000000000000000000000000000;hp=822474cc774a67048203c16979457438d5c4f442;hb=143d3f1d90b1d8e35f03e03aa7d39c4090fe0296;hpb=6ccf2321cef9203bb80cb091700ea798095d094b diff --git a/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorPane.js b/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorPane.js deleted file mode 100644 index 822474cc774..00000000000 --- a/swat2/style/qooxdoo/widgets/widgets/QxBarSelectorPane.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ -function QxBarSelectorPane(){QxWidget.call(this);};QxBarSelectorPane.extend(QxWidget,"QxBarSelectorPane");proto._modifyElement=function(_b1,_b2,_b3,_b4){QxWidget.prototype._modifyElement.call(this,_b1,_b2,_b3,_b4);return this._applyState();};proto._modifyState=function(_b1,_b2,_b3,_b4){QxWidget.prototype._modifyState.call(this,_b1,_b2,_b3,_b4);return this._applyState();};proto._applyState=function(){var vParent=this.getParent();if(!vParent||!this.isCreated()){return true;};var vBar=vParent.getBar();if(!vBar.isCreated()){return true;};var vTop=0,vRight=0,vBottom=0,vLeft=0;switch(this.getState()){case "top":vBottom=vBar.getComputedBoxHeight()-this.getComputedBorderBottom();break;case "right":vLeft=vBar.getComputedBoxWidth()-this.getComputedBorderLeft();break;case "left":vRight=vBar.getComputedBoxWidth()-this.getComputedBorderRight();break;default:vTop=vBar.getComputedBoxHeight()-this.getComputedBorderTop();};this.setTop(vTop);this.setRight(vRight);this.setBottom(vBottom);this.setLeft(vLeft);return true;}; \ No newline at end of file