What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Text in Status Bar?

kenjou

New Member
Joined
Oct 15, 2013
Messages
140
Reaction score
0
Hi there

In the status bar you have runtime info and how many runs you've made. Is there an option to add other stuff there? If so, how?

If you can, you could provide some nice status info for certain plugins.
 
Example from QuestPlugin

Code:
var leftControl = Wpf.FindControlByName<Label>(Application.Current.MainWindow, "StatusBarLeftLabel");
                leftControl.Content = string.Format("Act: [{0}] Difficulty: [{1}] GrindZone: [{2}] Level [{3}] - {4}",
                     CurrentAct, CurrentDifficulty, CurrentGrindZone, CharacterLevel, task);

                var rightControl = Wpf.FindControlByName<Label>(Application.Current.MainWindow, "StatusBarRightLabel");
                rightControl.Content = string.Format("Runtime: {0}", LokiPoe.Runtime.Elapsed.ToString("h'h 'm'm 's's'"));
 
Example from QuestPlugin

Code:
var leftControl = Wpf.FindControlByName<Label>(Application.Current.MainWindow, "StatusBarLeftLabel");
                leftControl.Content = string.Format("Act: [{0}] Difficulty: [{1}] GrindZone: [{2}] Level [{3}] - {4}",
                     CurrentAct, CurrentDifficulty, CurrentGrindZone, CharacterLevel, task);

                var rightControl = Wpf.FindControlByName<Label>(Application.Current.MainWindow, "StatusBarRightLabel");
                rightControl.Content = string.Format("Runtime: {0}", LokiPoe.Runtime.Elapsed.ToString("h'h 'm'm 's's'"));
Stats Plugin that comes default with EB has better examples.
 
Back
Top