mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-12 18:41:01 -06:00
* Removed using namespace directive from header files and put these in cpp files where they are used * Fixed tabbing issues by replacing them with spaces. Also regrouped the using directives. * Update src/host/exemain.cpp Co-Authored-By: Mike Griese <migrie@microsoft.com> * Update src/interactivity/win32/find.cpp Co-Authored-By: Mike Griese <migrie@microsoft.com>
51 lines
1.7 KiB
C++
51 lines
1.7 KiB
C++
/*++
|
|
Copyright (c) Microsoft Corporation
|
|
Licensed under the MIT license.
|
|
|
|
Module Name:
|
|
- renderData.hpp
|
|
|
|
Abstract:
|
|
- This method provides an interface for rendering the final display based on the current console state
|
|
|
|
Author(s):
|
|
- Michael Niksa (miniksa) Nov 2015
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
#include "..\renderer\inc\IRenderData.hpp"
|
|
|
|
class RenderData final : public Microsoft::Console::Render::IRenderData
|
|
{
|
|
public:
|
|
Microsoft::Console::Types::Viewport GetViewport() noexcept override;
|
|
const TextBuffer& GetTextBuffer() noexcept override;
|
|
const FontInfo& GetFontInfo() noexcept override;
|
|
const TextAttribute GetDefaultBrushColors() noexcept override;
|
|
|
|
const COLORREF GetForegroundColor(const TextAttribute& attr) const noexcept override;
|
|
const COLORREF GetBackgroundColor(const TextAttribute& attr) const noexcept override;
|
|
|
|
COORD GetCursorPosition() const noexcept override;
|
|
bool IsCursorVisible() const noexcept override;
|
|
bool IsCursorOn() const noexcept override;
|
|
ULONG GetCursorHeight() const noexcept override;
|
|
CursorType GetCursorStyle() const noexcept override;
|
|
ULONG GetCursorPixelWidth() const noexcept override;
|
|
COLORREF GetCursorColor() const noexcept override;
|
|
bool IsCursorDoubleWidth() const noexcept override;
|
|
|
|
const std::vector<Microsoft::Console::Render::RenderOverlay> GetOverlays() const noexcept override;
|
|
|
|
const bool IsGridLineDrawingAllowed() noexcept override;
|
|
|
|
std::vector<Microsoft::Console::Types::Viewport> GetSelectionRects() noexcept override;
|
|
|
|
const std::wstring GetConsoleTitle() const noexcept override;
|
|
|
|
void LockConsole() noexcept override;
|
|
void UnlockConsole() noexcept override;
|
|
|
|
};
|