public Overlay(IScreenInformation screenInformation, IProgressDisplayGuiMode progressDisplay) : base(screenInformation)
        {
            _textOverlay = new TextOverlay();
            _resizeOverlay = new TargetAreaResizeOverlay(screenInformation);
            _progressDisplay = progressDisplay;

            _progressDisplay.OnWantsToRender += (sender, args) =>
            {
                ShowOverlay();
            };
        }
Example #2
0
 public TargetAreaResizeOverlay(IScreenInformation screenInformation)
 {
     _screenInformation = screenInformation;
 }
Example #3
0
 public ScreenProvider(IScreenInformation screenInformation)
 {
     _screenInformation = screenInformation;
 }
Example #4
0
 public ImGuiOverlay(IScreenInformation screenInformation)
 {
     _screenInformation = screenInformation;
 }
Example #5
0
 public ProgressDisplay(IScreenInformation screenInformation, ILogger <ProgressDisplay> logger)
 {
     _logger  = logger;
     _xOffset = 0;
     _yOffset = screenInformation.ScreenArea.Height - TotalHeight;
 }