Riwmorld
RimWorld.TransferableOneWayWidget Class Reference

Public Member Functions

 TransferableOneWayWidget (IEnumerable< TransferableOneWay > transferables, string sourceLabel, string destinationLabel, string sourceCountDesc, bool drawMass=false, bool ignorePawnInventoryMass=false, bool includePawnsMassInMassUsage=false, Func< float > availableMassGetter=null, float extraHeaderSpace=0f, bool ignoreCorpseGearAndInventoryMass=false, bool drawMarketValue=false)
 
void AddSection (string title, IEnumerable< TransferableOneWay > transferables)
 
void OnGUI (Rect inRect)
 
void OnGUI (Rect inRect, out bool anythingChanged)
 

Public Attributes

const float CountColumnWidth = 75f
 
const float AdjustColumnWidth = 240f
 
const float MassColumnWidth = 100f
 

Protected Attributes

readonly Vector2 AcceptButtonSize = new Vector2(160f, 40f)
 
readonly Vector2 OtherBottomButtonSize = new Vector2(160f, 40f)
 

Properties

float TotalNumbersColumnsWidths [get]
 

The documentation for this class was generated from the following file: