1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:47:35 +00:00

HackStudio: Underline header links

This commit is contained in:
Oriko 2020-03-12 16:36:58 +02:00 committed by Andreas Kling
parent 6d89f48dd8
commit bacd3dd57a
2 changed files with 66 additions and 4 deletions

View file

@ -48,6 +48,8 @@ private:
virtual void paint_event(GUI::PaintEvent&) override;
virtual void mousemove_event(GUI::MouseEvent&) override;
virtual void mousedown_event(GUI::MouseEvent&) override;
virtual void keydown_event(GUI::KeyEvent&) override;
virtual void keyup_event(GUI::KeyEvent&) override;
void show_documentation_tooltip_if_available(const String&, const Gfx::Point& screen_location);
void navigate_to_include_if_available(String);
@ -57,4 +59,7 @@ private:
RefPtr<GUI::Window> m_documentation_tooltip_window;
RefPtr<Web::HtmlView> m_documentation_html_view;
String m_last_parsed_token;
GUI::TextPosition m_previous_text_position { 0, 0 };
bool m_hovering_link { false };
bool m_holding_ctrl { false };
};