27#include <freetype/ftglyph.h>
28#include <fruit/fruit.h>
70 const std::string& prompt_text,
71 const std::string& locale,
72 const std::vector<teeui::UIOption>& ui_options);
73 bool IsInConfirm(
const std::uint32_t x,
const std::uint32_t y);
74 bool IsInCancel(
const std::uint32_t x,
const std::uint32_t y);
77 bool IsInverted(
const std::vector<teeui::UIOption>& ui_options)
const;
78 bool IsMagnified(
const std::vector<teeui::UIOption>& ui_options)
const;
Definition: expected.h:86
Definition: host_renderer.cc:49
Definition: host_renderer.h:65
INJECT(ConfUiRenderer(ScreenConnectorFrameRenderer &screen_connector))
std::unique_ptr< ConfUiRendererImpl > renderer_impl_
Definition: host_renderer.h:80
~ConfUiRenderer()
Definition: host_renderer.cc:397
bool IsMagnified(const std::vector< teeui::UIOption > &ui_options) const
Definition: host_renderer.cc:424
bool IsInCancel(const std::uint32_t x, const std::uint32_t y)
Definition: host_renderer.cc:435
Result< void > RenderDialog(const std::uint32_t display_num, const std::string &prompt_text, const std::string &locale, const std::vector< teeui::UIOption > &ui_options)
Definition: host_renderer.cc:399
bool IsInverted(const std::vector< teeui::UIOption > &ui_options) const
Definition: host_renderer.cc:419
ScreenConnectorFrameRenderer & screen_connector_
Definition: host_renderer.h:79
bool IsInConfirm(const std::uint32_t x, const std::uint32_t y)
Definition: host_renderer.cc:429
Definition: host_renderer.h:39
TeeUiFrameWrapper()=delete
int w_
Definition: host_renderer.h:59
auto data()
Definition: host_renderer.h:44
bool IsEmpty() const
Definition: host_renderer.h:47
TeeUiFrame teeui_frame_
Definition: host_renderer.h:61
std::uint32_t ScreenStrideBytes() const
Definition: host_renderer.h:50
TeeUiFrameWrapper(const int w, const int h, const teeui::Color color)
Definition: host_renderer.h:41
int Height() const
Definition: host_renderer.h:46
int h_
Definition: host_renderer.h:60
static std::uint32_t ScreenSizeInBytes(const int w, const int h)
Definition: host_renderer.h:55
auto Size() const
Definition: host_renderer.h:48
int Width() const
Definition: host_renderer.h:45
auto & operator[](const int idx)
Definition: host_renderer.h:49
uint32_t ComputeScreenSizeInBytes(const uint32_t w, const uint32_t h)
Definition: screen_connector_common.cc:56
uint32_t ComputeScreenStrideBytes(const uint32_t w)
Definition: screen_connector_common.cc:52
std::vector< std::uint32_t > TeeUiFrame
Definition: server_common.h:36
Definition: alloc_utils.cpp:23
uint32_t Color
Definition: utils.h:594
Definition: screen_connector_common.h:51