mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 11:29:35 +00:00
* Licensed under LGPL * Remove TMI style * Remove Load/Save inventory state * Reworked ItemPanel so it's no longer used statically * BookmarkPanel inherits from ItemPanel * Rework LayoutManager * Bookmarks - including loading & saving * Utility/Cheat buttons line up and wrap based on GUI size
42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package codechicken.nei;
|
|
|
|
public class VisiblityData
|
|
{
|
|
public boolean showUtilityButtons = true;
|
|
/**
|
|
* Item panel and associated buttons
|
|
*/
|
|
public boolean showItemPanel = true;
|
|
/**
|
|
* Bookmark panel and associated buttons
|
|
*/
|
|
public boolean showBookmarkPanel = true;
|
|
/**
|
|
* Item and search section
|
|
*/
|
|
public boolean showItemSection = true;
|
|
/**
|
|
* Dropdown and Item search field
|
|
*/
|
|
public boolean showSearchSection = true;
|
|
/**
|
|
* All widgets except options button
|
|
*/
|
|
public boolean showWidgets = true;
|
|
/**
|
|
* The entire NEI interface, aka hidden
|
|
*/
|
|
public boolean showNEI = true;
|
|
public boolean enableDeleteMode = true;
|
|
|
|
public void translateDependancies()
|
|
{
|
|
if(!showNEI)
|
|
showWidgets = false;
|
|
if(!showWidgets)
|
|
showItemSection = showUtilityButtons = false;
|
|
if(!showItemSection)
|
|
showBookmarkPanel = showSearchSection = showItemPanel = false;
|
|
}
|
|
}
|