diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-09 18:13:40 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-09 18:13:40 +0300 |
commit | 0e86b853be3b5f809ed1decbf636221c1144a386 (patch) | |
tree | 4ce84d9849646a559d5afece33fc6e64d39e4a50 /libs/litehtml/src/line_box.cpp | |
parent | 834cbb58d74215980165eab257538ba918a378cd (diff) |
litehtml update
Diffstat (limited to 'libs/litehtml/src/line_box.cpp')
-rw-r--r-- | libs/litehtml/src/line_box.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/litehtml/src/line_box.cpp b/libs/litehtml/src/line_box.cpp index 9add2431e1..fed0aa404d 100644 --- a/libs/litehtml/src/line_box.cpp +++ b/libs/litehtml/src/line_box.cpp @@ -6,6 +6,8 @@ ////////////////////////////////////////////////////////////////////////////////////////// +litehtml::line_box_item::~line_box_item() = default; + void litehtml::line_box_item::place_to(int x, int y) { m_element->pos().x = x + m_element->content_offset_left(); @@ -51,6 +53,8 @@ litehtml::lbi_start::lbi_start(const std::shared_ptr<render_item>& element) : li m_pos.width = m_element->content_offset_left(); } +litehtml::lbi_start::~lbi_start() = default; + void litehtml::lbi_start::place_to(int x, int y) { m_pos.x = x + m_element->content_offset_left(); @@ -90,6 +94,8 @@ litehtml::lbi_end::lbi_end(const std::shared_ptr<render_item>& element) : lbi_st m_pos.width = m_element->content_offset_right(); } +litehtml::lbi_end::~lbi_end() = default; + void litehtml::lbi_end::place_to(int x, int y) { m_pos.x = x; @@ -114,6 +120,8 @@ litehtml::lbi_continue::lbi_continue(const std::shared_ptr<render_item>& element m_pos.width = 0; } +litehtml::lbi_continue::~lbi_continue() = default; + void litehtml::lbi_continue::place_to(int x, int y) { m_pos.x = x; |