Add a getter for litehtml::document's m_over_element member
[claws.git] / src / plugins / litehtml_viewer / litehtml / document.h
index a5c152c38a1c828c0210fa79ef13215353d287f2..cb297e991b68cbe93062bdec95b6066e89ad3839 100644 (file)
@@ -89,6 +89,7 @@ namespace litehtml
                bool                                                    on_mouse_leave(position::vector& redraw_boxes);
                litehtml::element::ptr                  create_element(const tchar_t* tag_name, const string_map& attributes);
                element::ptr                                    root();
+               const element::ptr                                      over_element() const;
                void                                                    get_fixed_boxes(position::vector& fixed_boxes);
                void                                                    add_fixed_box(const position& pos);
                void                                                    add_media_list(media_query_list::ptr list);
@@ -118,6 +119,10 @@ namespace litehtml
        {
                return m_root;
        }
+       inline const element::ptr document::over_element() const
+       {
+               return m_over_element;
+       }
        inline void document::add_tabular(const element::ptr& el)
        {
                m_tabular_elements.push_back(el);