v0.3.4: initial (very basic) language button implementation
This commit is contained in:
committed by
Evan Debenham
parent
35a6a6bee0
commit
301a3468f5
@@ -29,6 +29,7 @@ import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.ChangesButton;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.ui.LanguageButton;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndHardNotification;
|
||||
import com.watabou.noosa.BitmapText;
|
||||
import com.watabou.noosa.Camera;
|
||||
@@ -156,6 +157,10 @@ public class TitleScene extends PixelScene {
|
||||
btnPrefs.setPos( 0, 0 );
|
||||
add( btnPrefs );
|
||||
|
||||
LanguageButton btnLang = new LanguageButton();
|
||||
btnLang.setPos(16, 1);
|
||||
add( btnLang );
|
||||
|
||||
ExitButton btnExit = new ExitButton();
|
||||
btnExit.setPos( w - btnExit.width(), 0 );
|
||||
add( btnExit );
|
||||
|
||||
Reference in New Issue
Block a user