Wireless Terminal now has terminal mode, and size is fixed.

This commit is contained in:
AlgorithmX2 2014-08-08 21:27:13 -05:00
parent 596b3818e3
commit da4c9bc623
3 changed files with 11 additions and 1 deletions

View file

@ -220,7 +220,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi
.getSetting( Settings.SEARCH_MODE ) ) );
offset += 20;
if ( !(this instanceof GuiMEPortableCell) )
if ( !(this instanceof GuiMEPortableCell) || this instanceof GuiWirelessTerm )
{
buttonList.add( terminalStyleBox = new GuiImgButton( this.guiLeft - 18, offset, Settings.TERMINAL_STYLE, AEConfig.instance.settings
.getSetting( Settings.TERMINAL_STYLE ) ) );

View file

@ -11,6 +11,11 @@ public class GuiMEPortableCell extends GuiMEMonitorable
super( inventoryPlayer, te, new ContainerMEPortableCell( inventoryPlayer, null ) );
}
int defaultGetMaxRows()
{
return super.getMaxRows();
}
@Override
int getMaxRows()
{

View file

@ -11,4 +11,9 @@ public class GuiWirelessTerm extends GuiMEPortableCell
maxRows = Integer.MAX_VALUE;
}
@Override
int getMaxRows()
{
return defaultGetMaxRows();
}
}