V0.2.1b: backed out of changes window, for now

This commit is contained in:
Evan Debenham 2014-10-14 20:06:23 -04:00
parent 3a69679a71
commit 21da2b392a
2 changed files with 13 additions and 14 deletions

View File

@ -8,6 +8,7 @@ import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndChanges;
import com.watabou.noosa.BitmapTextMultiline;
import com.watabou.noosa.Camera;
import com.watabou.noosa.Game;
@ -104,25 +105,22 @@ public class WelcomeScene extends PixelScene {
}
};
if (gameversion == 0){
/* to be added in a later update
okay.setRect(text.x, text.y + text.height() + 5, 55, 18);
add(okay);
RedButton changes = new RedButton("Changes") {
@Override
protected void onClick() {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(LNK));
Game.instance.startActivity(intent);
parent.add(new WndChanges());
}
};
changes.setRect(text.x + 65, text.y + text.height() + 5, 55, 18);
add(changes);
add(changes);*/
} else {
okay.setRect(text.x, text.y + text.height() + 5, 120, 18);
add(okay);
}
Archs archs = new Archs();

View File

@ -10,6 +10,7 @@ import com.watabou.noosa.ui.Component;
/**
* Created by debenhame on 14/10/2014.
*/
//TODO: this is completely broken at the moment. Better to get the patch out now, get this done for next update!
public class WndChanges extends Window {
private static final int WIDTH = 112;