27#include "freetype/ftglyph.h"
28#include "fruit/fruit.h"
69 const std::string& prompt_text,
70 const std::string& locale,
71 const std::vector<teeui::UIOption>& ui_options);
76 bool IsInverted(
const std::vector<teeui::UIOption>& ui_options)
const;
77 bool IsMagnified(
const std::vector<teeui::UIOption>& ui_options)
const;
Definition: host_renderer.cc:56
Definition: host_renderer.h:64
INJECT(ConfUiRenderer(ScreenConnectorFrameRenderer &screen_connector))
std::unique_ptr< ConfUiRendererImpl > renderer_impl_
Definition: host_renderer.h:79
Result< void > RenderDialog(uint32_t display_num, const std::string &prompt_text, const std::string &locale, const std::vector< teeui::UIOption > &ui_options)
Definition: host_renderer.cc:402
~ConfUiRenderer()
Definition: host_renderer.cc:400
bool IsMagnified(const std::vector< teeui::UIOption > &ui_options) const
Definition: host_renderer.cc:427
bool IsInverted(const std::vector< teeui::UIOption > &ui_options) const
Definition: host_renderer.cc:422
ScreenConnectorFrameRenderer & screen_connector_
Definition: host_renderer.h:78
bool IsInCancel(uint32_t x, uint32_t y)
Definition: host_renderer.cc:438
bool IsInConfirm(uint32_t x, uint32_t y)
Definition: host_renderer.cc:432
Definition: host_renderer.h:38
TeeUiFrameWrapper()=delete
int w_
Definition: host_renderer.h:58
static uint32_t ScreenSizeInBytes(const int w, const int h)
Definition: host_renderer.h:54
auto data()
Definition: host_renderer.h:43
bool IsEmpty() const
Definition: host_renderer.h:46
TeeUiFrame teeui_frame_
Definition: host_renderer.h:60
TeeUiFrameWrapper(const int w, const int h, const teeui::Color color)
Definition: host_renderer.h:40
uint32_t ScreenStrideBytes() const
Definition: host_renderer.h:49
int Height() const
Definition: host_renderer.h:45
int h_
Definition: host_renderer.h:59
auto Size() const
Definition: host_renderer.h:47
int Width() const
Definition: host_renderer.h:44
auto & operator[](const int idx)
Definition: host_renderer.h:48
#define color
Definition: dict.c:54
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< uint32_t > TeeUiFrame
Definition: server_common.h:38
Definition: alloc_driver.h:20
tl::expected< T, StackTraceError > Result
Definition: result_type.h:30
uint32_t Color
Definition: utils.h:594
Definition: screen_connector_common.h:51