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

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