Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r937 committed - Removed trailing white spaces fom GUI.as

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r937 committed - Removed trailing white spaces fom GUI.as


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r937 committed - Removed trailing white spaces fom GUI.as
  • Date: Wed, 19 Feb 2014 11:33:01 +0000

Revision: 937
Author:

Date: Wed Feb 19 11:32:46 2014 UTC
Log: Removed trailing white spaces fom GUI.as

http://code.google.com/p/ndt/source/detail?r=937

Modified:
/branches/FlashIssue118/flash-client/src/GUI.as

=======================================
--- /branches/FlashIssue118/flash-client/src/GUI.as Tue Feb 18 09:54:30 2014 UTC
+++ /branches/FlashIssue118/flash-client/src/GUI.as Wed Feb 19 11:32:46 2014 UTC
@@ -328,21 +328,21 @@
}

private function clickDebug(e:MouseEvent):void {
- changeActiveButton(NDTButton(e.target));
+ changeActiveButton(NDTButton(e.target));
_resultsTextField.htmlText = "<font size=\"14\">"
+ TestResults.getDebugMsg();
_resultsTextField.scrollV = 0;
}

private function clickErrors(e:MouseEvent):void {
- changeActiveButton(NDTButton(e.target));
+ changeActiveButton(NDTButton(e.target));
_resultsTextField.htmlText = "<font size=\"14\">"
+ TestResults.getErrMsg();
_resultsTextField.scrollV = 0;
}
-
+
private function changeActiveButton(target:NDTButton):void {
- if (_activeButton)
+ if (_activeButton)
_activeButton.setInactive();
target.setActive();
_activeButton = target;
@@ -357,8 +357,8 @@
class NDTButton extends Sprite {
[Embed(source="../assets/hover.png")]
private var ButtonImg:Class;
-
- private var _textField:TextField;
+
+ private var _textField:TextField;

function NDTButton(text:String, textSize:int, height:int, prop:Number) {
super();
@@ -389,13 +389,13 @@
this.addChild(_textField);
this.mouseChildren = false;
}
-
+
public function setActive():void {
var textFormat:TextFormat = _textField.getTextFormat();
textFormat.color = 0x00DBA8;
_textField.setTextFormat(textFormat);
}
-
+
public function setInactive():void {
var textFormat:TextFormat = _textField.getTextFormat();
textFormat.color = 0xFFFFFF;


  • [ndt-dev] [ndt] r937 committed - Removed trailing white spaces fom GUI.as, ndt, 02/19/2014

Archive powered by MHonArc 2.6.16.

Top of Page