C# Class Tibialyzer.SummaryForm

Show file Open project: Mytherin/Tibialyzer Class Usage Examples

Public Methods

Method Description
ClearControlList ( List list, int &minheight, int &maxheight ) : void
CreatureBox ( Tibialyzer.Creature creature, int amount ) : Image
FormName ( ) : string
LoadForm ( ) : void
MaxWidth ( ) : int
MinWidth ( ) : int
RecentDropsBox ( Tibialyzer.Creature creature, int>.List items, int imageHeight, List regions ) : Image
RefreshForm ( ) : void
RenderImageResized ( Graphics gr, Image image, Rectangle targetRectangle ) : void
RenderText ( Graphics gr, string text, int x, Color fillColor, Color textColor, Color traceColor, int maxHeight = -1, int y = 4, Font font = null, bool center = false, InterpolationMode interpolationMode = InterpolationMode.High, SmoothingMode smoothingMode = SmoothingMode.HighQuality ) : void
SummaryBar ( string header, string text, double percentage, Color textColor, Color barColor ) : Image
SummaryBox ( string header, string value, Color textColor ) : Image
SummaryForm ( ) : System
UpdateDamage ( ) : void
UpdateDamageForm ( ) : void
UpdateLoot ( ) : void
UpdateLootForm ( ) : void
UpdateSummaryForm ( ) : void
UpdateWaste ( ) : void
UpdateWasteForm ( ) : void
WidthInterval ( ) : int

Private Methods

Method Description
ActuallyRefreshForm ( ) : void
CommandClick ( object sender, EventArgs e ) : void
CopyLootText ( object sender, EventArgs e ) : void
CreateCreatureBox ( Tibialyzer.Creature creature, int count, int x, int &y, List controls ) : void
CreateCreatureDropsBox ( Tibialyzer.Creature creature, int>.List items, string message, int x, int &y, List controls, int imageHeight, List region = null, int index ) : PictureBox
CreateHeaderLabel ( string title, int x, int &y, List controls ) : void
CreateItemList ( int>.List items, int x, int &y, List controls, int imageHeight, List newRegions = null, int boxIndex ) : PictureBox
CreateSummaryBar ( string title, string text, double percentage, int x, int &y, Color color, Color barColor, List controls ) : PictureBox
CreateSummaryLabel ( string title, string value, int x, int &y, Color color, List controls ) : PictureBox
OpenItemWindow ( object sender, MouseEventArgs e, List lootRegions ) : void
OpenLootWindow ( object sender, MouseEventArgs e ) : void
OpenRecentDropsWindow ( object sender, MouseEventArgs e ) : void
OpenWasteWindow ( object sender, MouseEventArgs e ) : void
RenderItemCount ( Graphics gr, int>.Tuple item, Rectangle region ) : void
StartUpdateTimer ( ) : void

Method Details

ClearControlList() public method

public ClearControlList ( List list, int &minheight, int &maxheight ) : void
list List
minheight int
maxheight int
return void

CreatureBox() public method

public CreatureBox ( Tibialyzer.Creature creature, int amount ) : Image
creature Tibialyzer.Creature
amount int
return Image

FormName() public method

public FormName ( ) : string
return string

LoadForm() public method

public LoadForm ( ) : void
return void

MaxWidth() public method

public MaxWidth ( ) : int
return int

MinWidth() public method

public MinWidth ( ) : int
return int

RecentDropsBox() public method

public RecentDropsBox ( Tibialyzer.Creature creature, int>.List items, int imageHeight, List regions ) : Image
creature Tibialyzer.Creature
items int>.List
imageHeight int
regions List
return Image

RefreshForm() public method

public RefreshForm ( ) : void
return void

RenderImageResized() public static method

public static RenderImageResized ( Graphics gr, Image image, Rectangle targetRectangle ) : void
gr Graphics
image Image
targetRectangle Rectangle
return void

RenderText() public static method

public static RenderText ( Graphics gr, string text, int x, Color fillColor, Color textColor, Color traceColor, int maxHeight = -1, int y = 4, Font font = null, bool center = false, InterpolationMode interpolationMode = InterpolationMode.High, SmoothingMode smoothingMode = SmoothingMode.HighQuality ) : void
gr Graphics
text string
x int
fillColor Color
textColor Color
traceColor Color
maxHeight int
y int
font Font
center bool
interpolationMode InterpolationMode
smoothingMode SmoothingMode
return void

SummaryBar() public method

public SummaryBar ( string header, string text, double percentage, Color textColor, Color barColor ) : Image
header string
text string
percentage double
textColor Color
barColor Color
return Image

SummaryBox() public method

public SummaryBox ( string header, string value, Color textColor ) : Image
header string
value string
textColor Color
return Image

SummaryForm() public method

public SummaryForm ( ) : System
return System

UpdateDamage() public method

public UpdateDamage ( ) : void
return void

UpdateDamageForm() public method

public UpdateDamageForm ( ) : void
return void

UpdateLoot() public method

public UpdateLoot ( ) : void
return void

UpdateLootForm() public method

public UpdateLootForm ( ) : void
return void

UpdateSummaryForm() public method

public UpdateSummaryForm ( ) : void
return void

UpdateWaste() public method

public UpdateWaste ( ) : void
return void

UpdateWasteForm() public method

public UpdateWasteForm ( ) : void
return void

WidthInterval() public method

public WidthInterval ( ) : int
return int