Update of /cvsroot/qooxdoo/qooxdoo/source/script/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27914/source/script/widgets
Modified Files:
Tag: renderer
QxButton.js QxRepeatButton.js QxToolBarCheckBox.js
QxToolBarRadioButton.js QxWindow.js
Log Message:
Renamed state left
Index: QxButton.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxButton.js,v
retrieving revision 1.4.2.35
retrieving revision 1.4.2.36
diff -u -d -r1.4.2.35 -r1.4.2.36
--- QxButton.js 2 Feb 2006 16:51:04 -0000 1.4.2.35
+++ QxButton.js 2 Feb 2006 17:03:39 -0000 1.4.2.36
@@ -77,9 +77,9 @@
return;
};
- if (this.hasState(QxConst.STATE_LEFT))
+ if (this.hasState(QxConst.STATE_ABANDONED))
{
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.addState(QxConst.STATE_PRESSED);
};
@@ -101,7 +101,7 @@
this.setCapture(true);
this.removeState(QxConst.STATE_PRESSED);
- this.addState(QxConst.STATE_LEFT);
+ this.addState(QxConst.STATE_ABANDONED);
};
};
@@ -111,7 +111,7 @@
return;
};
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.addState(QxConst.STATE_PRESSED);
};
@@ -119,7 +119,7 @@
{
this.setCapture(false);
- if (!this.hasState(QxConst.STATE_LEFT))
+ if (!this.hasState(QxConst.STATE_ABANDONED))
{
this.addState(QxConst.STATE_OVER);
@@ -128,7 +128,7 @@
};
};
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.removeState(QxConst.STATE_PRESSED);
};
@@ -138,7 +138,7 @@
{
case QxKeyEvent.keys.enter:
case QxKeyEvent.keys.space:
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.addState(QxConst.STATE_PRESSED);
};
};
@@ -151,7 +151,7 @@
case QxKeyEvent.keys.space:
if (this.hasState(QxConst.STATE_PRESSED))
{
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.removeState(QxConst.STATE_PRESSED);
this.execute();
};
Index: QxRepeatButton.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/Attic/QxRepeatButton.js,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -u -d -r1.1.2.9 -r1.1.2.10
--- QxRepeatButton.js 2 Feb 2006 16:51:04 -0000 1.1.2.9
+++ QxRepeatButton.js 2 Feb 2006 17:03:39 -0000 1.1.2.10
@@ -71,7 +71,7 @@
this._timer.setInterval(this.getFirstInterval());
this._timer.start();
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.addState(QxConst.STATE_PRESSED);
};
@@ -79,7 +79,7 @@
{
this.setCapture(false);
- if (!this.hasState(QxConst.STATE_LEFT))
+ if (!this.hasState(QxConst.STATE_ABANDONED))
{
this.addState(QxConst.STATE_OVER);
@@ -90,7 +90,7 @@
this._timer.stop();
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.removeState(QxConst.STATE_PRESSED);
};
Index: QxWindow.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxWindow.js,v
retrieving revision 1.25.2.65
retrieving revision 1.25.2.66
diff -u -d -r1.25.2.65 -r1.25.2.66
--- QxWindow.js 2 Feb 2006 16:51:04 -0000 1.25.2.65
+++ QxWindow.js 2 Feb 2006 17:03:39 -0000 1.25.2.66
@@ -1132,7 +1132,7 @@
// we need to be sure that the button gets the right states after clicking
// because the button will move and does not get the mouseup event anymore
this._minimizeButton.removeState(QxConst.STATE_PRESSED);
- this._minimizeButton.removeState(QxConst.STATE_LEFT);
+ this._minimizeButton.removeState(QxConst.STATE_ABANDONED);
this._minimizeButton.removeState(QxConst.STATE_OVER);
e.stopPropagation();
@@ -1145,7 +1145,7 @@
// we need to be sure that the button gets the right states after clicking
// because the button will move and does not get the mouseup event anymore
this._restoreButton.removeState(QxConst.STATE_PRESSED);
- this._restoreButton.removeState(QxConst.STATE_LEFT);
+ this._restoreButton.removeState(QxConst.STATE_ABANDONED);
this._restoreButton.removeState(QxConst.STATE_OVER);
e.stopPropagation();
@@ -1158,7 +1158,7 @@
// we need to be sure that the button gets the right states after clicking
// because the button will move and does not get the mouseup event anymore
this._maximizeButton.removeState(QxConst.STATE_PRESSED);
- this._maximizeButton.removeState(QxConst.STATE_LEFT);
+ this._maximizeButton.removeState(QxConst.STATE_ABANDONED);
this._maximizeButton.removeState(QxConst.STATE_OVER);
e.stopPropagation();
@@ -1171,7 +1171,7 @@
// we need to be sure that the button gets the right states after clicking
// because the button will move and does not get the mouseup event anymore
this._closeButton.removeState(QxConst.STATE_PRESSED);
- this._closeButton.removeState(QxConst.STATE_LEFT);
+ this._closeButton.removeState(QxConst.STATE_ABANDONED);
this._closeButton.removeState(QxConst.STATE_OVER);
e.stopPropagation();
Index: QxToolBarCheckBox.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarCheckBox.js,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -u -d -r1.1.2.16 -r1.1.2.17
--- QxToolBarCheckBox.js 2 Feb 2006 16:51:04 -0000 1.1.2.16
+++ QxToolBarCheckBox.js 2 Feb 2006 17:03:39 -0000 1.1.2.17
@@ -80,14 +80,14 @@
{
this.setCapture(false);
- if (!this.hasState(QxConst.STATE_LEFT))
+ if (!this.hasState(QxConst.STATE_ABANDONED))
{
this.addState(QxConst.STATE_OVER);
this.setChecked(!this.getChecked());
this.execute();
};
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.removeState(QxConst.STATE_PRESSED);
e.stopPropagation();
Index: QxToolBarRadioButton.js
===================================================================
RCS file: /cvsroot/qooxdoo/qooxdoo/source/script/widgets/QxToolBarRadioButton.js,v
retrieving revision 1.1.2.19
retrieving revision 1.1.2.20
diff -u -d -r1.1.2.19 -r1.1.2.20
--- QxToolBarRadioButton.js 2 Feb 2006 16:51:04 -0000 1.1.2.19
+++ QxToolBarRadioButton.js 2 Feb 2006 17:03:39 -0000 1.1.2.20
@@ -111,14 +111,14 @@
{
this.setCapture(false);
- if (!this.hasState(QxConst.STATE_LEFT))
+ if (!this.hasState(QxConst.STATE_ABANDONED))
{
this.addState(QxConst.STATE_OVER);
this.setChecked(this.getDisableUncheck() || !this.getChecked());
this.execute();
};
- this.removeState(QxConst.STATE_LEFT);
+ this.removeState(QxConst.STATE_ABANDONED);
this.removeState(QxConst.STATE_PRESSED);
e.stopPropagation();
|