C# Класс Tibialyzer.SummaryForm

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ClearControlList() публичный Метод

public ClearControlList ( List list, int &minheight, int &maxheight ) : void
list List
minheight int
maxheight int
Результат void

CreatureBox() публичный Метод

public CreatureBox ( Tibialyzer.Creature creature, int amount ) : Image
creature Tibialyzer.Creature
amount int
Результат Image

FormName() публичный Метод

public FormName ( ) : string
Результат string

LoadForm() публичный Метод

public LoadForm ( ) : void
Результат void

MaxWidth() публичный Метод

public MaxWidth ( ) : int
Результат int

MinWidth() публичный Метод

public MinWidth ( ) : int
Результат int

RecentDropsBox() публичный Метод

public RecentDropsBox ( Tibialyzer.Creature creature, int>.List items, int imageHeight, List regions ) : Image
creature Tibialyzer.Creature
items int>.List
imageHeight int
regions List
Результат Image

RefreshForm() публичный Метод

public RefreshForm ( ) : void
Результат void

RenderImageResized() публичный статический Метод

public static RenderImageResized ( Graphics gr, Image image, Rectangle targetRectangle ) : void
gr Graphics
image Image
targetRectangle Rectangle
Результат void

RenderText() публичный статический Метод

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
Результат void

SummaryBar() публичный Метод

public SummaryBar ( string header, string text, double percentage, Color textColor, Color barColor ) : Image
header string
text string
percentage double
textColor Color
barColor Color
Результат Image

SummaryBox() публичный Метод

public SummaryBox ( string header, string value, Color textColor ) : Image
header string
value string
textColor Color
Результат Image

SummaryForm() публичный Метод

public SummaryForm ( ) : System
Результат System

UpdateDamage() публичный Метод

public UpdateDamage ( ) : void
Результат void

UpdateDamageForm() публичный Метод

public UpdateDamageForm ( ) : void
Результат void

UpdateLoot() публичный Метод

public UpdateLoot ( ) : void
Результат void

UpdateLootForm() публичный Метод

public UpdateLootForm ( ) : void
Результат void

UpdateSummaryForm() публичный Метод

public UpdateSummaryForm ( ) : void
Результат void

UpdateWaste() публичный Метод

public UpdateWaste ( ) : void
Результат void

UpdateWasteForm() публичный Метод

public UpdateWasteForm ( ) : void
Результат void

WidthInterval() публичный Метод

public WidthInterval ( ) : int
Результат int