cleaned up formatting:

- removed trailing whitespace
- changed all leading whitespace to tabs
- removed IDE created author comments
This commit is contained in:
Evan Debenham
2015-06-12 16:22:26 -04:00
parent baa83b7e43
commit cebdff0221
335 changed files with 8555 additions and 8714 deletions
@@ -40,7 +40,7 @@ public class WndTabbed extends Window {
protected Tab add( Tab tab ) {
tab.setPos( tabs.size() == 0 ?
tab.setPos( tabs.size() == 0 ?
-chrome.marginLeft() + 1 :
tabs.get( tabs.size() - 1 ).right(), height );
tab.select( false );
@@ -75,7 +75,7 @@ public class WndTabbed extends Window {
this.width = w;
this.height = h;
chrome.size(
chrome.size(
width + chrome.marginHor(),
height + chrome.marginVer() );
@@ -102,7 +102,7 @@ public class WndTabbed extends Window {
}
public void layoutTabs(){
//subract two as there's extra horizontal space for those nobs on the top.
//subract two as there's extra horizontal space for those nobs on the top.
int fullWidth = width+chrome.marginHor()-2;
int numTabs = tabs.size();
@@ -172,8 +172,8 @@ public class WndTabbed extends Window {
remove( bg );
}
bg = Chrome.get( selected ?
Chrome.Type.TAB_SELECTED :
bg = Chrome.get( selected ?
Chrome.Type.TAB_SELECTED :
Chrome.Type.TAB_UNSELECTED );
addToBack( bg );
@@ -181,7 +181,7 @@ public class WndTabbed extends Window {
}
@Override
protected void onClick() {
protected void onClick() {
Sample.INSTANCE.play( Assets.SND_CLICK, 0.7f, 0.7f, 1.2f );
WndTabbed.this.onClick( this );
}
@@ -223,6 +223,6 @@ public class WndTabbed extends Window {
super.select( value );
btLabel.am = selected ? 1.0f : 0.6f;
}
}
}
}