コード例 #1
0
        public Overlay(IScreenInformation screenInformation, IProgressDisplayGuiMode progressDisplay) : base(screenInformation)
        {
            _textOverlay = new TextOverlay();
            _resizeOverlay = new TargetAreaResizeOverlay(screenInformation);
            _progressDisplay = progressDisplay;

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