aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-23 20:41:40 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-23 22:25:02 +0100
commit0c4fd4700d6ee31f6b848d49a6aa7ebfa4a806fa (patch)
tree351e800914a053ab196d972a36e09911227e9f50 /include
parent1de2ff02bb746607727900180b6f32ded0cd7856 (diff)
Re-add item drawing height diff shifting to fix bumping in item drawing
Add newline before codeblock in 4chan if previous line is not a newline.
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index ced5f4e..77dac54 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -166,6 +166,8 @@ namespace QuickMedia {
void update_dirty_state(BodyItem *body_item, float width);
void clear_body_item_cache(BodyItem *body_item);
mgl::vec2i get_item_thumbnail_size(BodyItem *item) const;
+ // Returns the height of the items
+ float process_reactions(mgl::Window *window, BodyItem *item, float max_width, float x, float y, float padding_y, float text_offset_y, bool draw);
// Returns -1 if not found
int get_previous_visible_item(int start_index);