C# Class Hearthstone_Deck_Tracker.CompatibilityWindow

Interaction logic for CompatibilityWindow.xaml
Mostrar archivo Open project: stdscatchemall/HDTCompatabilityWindow Class Usage Examples

Public Methods

Method Description
CompatibilityWindow ( Hearthstone_Deck_Tracker.Hearthstone.GameV2 game ) : System
HideSecrets ( ) : void
HideTimers ( ) : void
HookMouse ( ) : void
PointInsideControl ( Point pos, double actualWidth, double actualHeight ) : bool
PointInsideControl ( Point pos, double actualWidth, double actualHeight, System.Windows.Thickness margin ) : bool
ShowAdditionalToolTips ( ) : void
ShowOverlay ( bool enable ) : void
ShowSecrets ( bool force = false, HeroClass heroClass = null ) : void
ShowTimers ( ) : void
SortViews ( ) : void
UnHookMouse ( ) : void
UnlockUI ( ) : Task
Update ( bool refresh ) : void
UpdateOpponentLayout ( ) : void
UpdatePlayerLayout ( ) : void
UpdatePosition ( ) : void
UpdateScaling ( ) : void
UpdateSettings ( ) : void

Private Methods

Method Description
GetListViewOffset ( StackPanel stackPanel ) : double
GetUiElementSize ( UIElement element ) : Size
GrayOutSecrets ( Point mousePos ) : void
HideAdditionalToolTips ( ) : void
HideCardsWhenFriendsListOpen ( Point clickPos ) : void
MouseInputOnLmbDown ( object sender, EventArgs eventArgs ) : void
MouseInputOnLmbUp ( object sender, EventArgs eventArgs ) : void
MouseInputOnMouseMoved ( object sender, EventArgs eventArgs ) : void
OverlayWindow_OnLoaded ( object sender, RoutedEventArgs e ) : void
ReSizePosLists ( ) : void
SetCardCount ( int cardCount, int cardsLeftInDeck ) : void
SetDeckTitle ( ) : void
SetOpponentCardCount ( int cardCount, int cardsLeftInDeck ) : void
SetRect ( int top, int left, int width, int height ) : void
SetTooltipPosition ( double yOffset, StackPanel stackpanel ) : void
SetWinRates ( ) : void
TrySetResizeGripHeight ( System.Windows.Controls.Primitives.ResizeGrip element, double height ) : bool
UpdateCardTooltip ( ) : System.Threading.Tasks.Task
UpdateGoldProgress ( ) : void
UpdateTurnTimer ( Hearthstone_Deck_Tracker.TimerEventArgs timerEventArgs ) : void
Window_Closing ( object sender, CancelEventArgs e ) : void
Window_SourceInitialized_1 ( object sender, EventArgs e ) : void

Method Details

CompatibilityWindow() public method

public CompatibilityWindow ( Hearthstone_Deck_Tracker.Hearthstone.GameV2 game ) : System
game Hearthstone_Deck_Tracker.Hearthstone.GameV2
return System

HideSecrets() public method

public HideSecrets ( ) : void
return void

HideTimers() public method

public HideTimers ( ) : void
return void

HookMouse() public method

public HookMouse ( ) : void
return void

PointInsideControl() public method

public PointInsideControl ( Point pos, double actualWidth, double actualHeight ) : bool
pos Point
actualWidth double
actualHeight double
return bool

PointInsideControl() public method

public PointInsideControl ( Point pos, double actualWidth, double actualHeight, System.Windows.Thickness margin ) : bool
pos Point
actualWidth double
actualHeight double
margin System.Windows.Thickness
return bool

ShowAdditionalToolTips() public method

public ShowAdditionalToolTips ( ) : void
return void

ShowOverlay() public method

public ShowOverlay ( bool enable ) : void
enable bool
return void

ShowSecrets() public method

public ShowSecrets ( bool force = false, HeroClass heroClass = null ) : void
force bool
heroClass HeroClass
return void

ShowTimers() public method

public ShowTimers ( ) : void
return void

SortViews() public method

public SortViews ( ) : void
return void

UnHookMouse() public method

public UnHookMouse ( ) : void
return void

UnlockUI() public method

public UnlockUI ( ) : Task
return Task

Update() public method

public Update ( bool refresh ) : void
refresh bool
return void

UpdateOpponentLayout() public method

public UpdateOpponentLayout ( ) : void
return void

UpdatePlayerLayout() public method

public UpdatePlayerLayout ( ) : void
return void

UpdatePosition() public method

public UpdatePosition ( ) : void
return void

UpdateScaling() public method

public UpdateScaling ( ) : void
return void

UpdateSettings() public method

public UpdateSettings ( ) : void
return void