Project Alice
Loading...
Searching...
No Matches
text::single_line_layout Struct Reference

#include <text.hpp>

Inheritance diagram for text::single_line_layout:
Collaboration diagram for text::single_line_layout:

Public Member Functions

 single_line_layout (layout &base_layout, layout_parameters const &fixed_parameters, layout_base::rtl_status native_rtl)
 
void internal_close_box (layout_box &box) final
 
 ~single_line_layout ()
 
void add_text (sys::state &state, std::string_view v)
 
void add_text (sys::state &state, dcon::text_key source_text)
 
- Public Member Functions inherited from text::layout_base
 layout_base (layout &base_layout, layout_parameters const &fixed_parameters, rtl_status native_rtl)
 
virtual void internal_close_box (layout_box &box)=0
 

Public Attributes

layout_box box
 
- Public Attributes inherited from text::layout_base
layoutbase_layout
 
layout_parameters fixed_parameters
 
rtl_status native_rtl = rtl_status::ltr
 

Additional Inherited Members

- Public Types inherited from text::layout_base
enum class  rtl_status : uint8_t { ltr , rtl }
 

Detailed Description

Definition at line 882 of file text.hpp.

Constructor & Destructor Documentation

◆ single_line_layout()

text::single_line_layout::single_line_layout ( layout base_layout,
layout_parameters const &  fixed_parameters,
layout_base::rtl_status  native_rtl 
)
inline

Definition at line 885 of file text.hpp.

◆ ~single_line_layout()

text::single_line_layout::~single_line_layout ( )
inline

Definition at line 894 of file text.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ add_text() [1/2]

void text::single_line_layout::add_text ( sys::state state,
dcon::text_key  source_text 
)

Definition at line 2215 of file text.cpp.

Here is the call graph for this function:

◆ add_text() [2/2]

void text::single_line_layout::add_text ( sys::state state,
std::string_view  v 
)

Definition at line 2212 of file text.cpp.

Here is the call graph for this function:

◆ internal_close_box()

void text::single_line_layout::internal_close_box ( layout_box box)
finalvirtual

Implements text::layout_base.

Definition at line 1869 of file text.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ box

layout_box text::single_line_layout::box

Definition at line 883 of file text.hpp.


The documentation for this struct was generated from the following files: