diff options
Diffstat (limited to 'DevTools/ProfileViewer/ProfileTimelineWidget.h')
-rw-r--r-- | DevTools/ProfileViewer/ProfileTimelineWidget.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/DevTools/ProfileViewer/ProfileTimelineWidget.h b/DevTools/ProfileViewer/ProfileTimelineWidget.h new file mode 100644 index 0000000000..eca99d3c58 --- /dev/null +++ b/DevTools/ProfileViewer/ProfileTimelineWidget.h @@ -0,0 +1,19 @@ +#include <LibGUI/GFrame.h> + +class Profile; + +class ProfileTimelineWidget final : public GFrame { + C_OBJECT(ProfileTimelineWidget) +public: + virtual ~ProfileTimelineWidget() override; + +private: + virtual void paint_event(GPaintEvent&) override; + virtual void mousedown_event(GMouseEvent&) override; + virtual void mousemove_event(GMouseEvent&) override; + virtual void mouseup_event(GMouseEvent&) override; + + ProfileTimelineWidget(Profile&, GWidget* parent); + + Profile& m_profile; +}; |