summaryrefslogtreecommitdiff
path: root/src/linkgraph/linkgraph_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linkgraph/linkgraph_gui.h')
-rw-r--r--src/linkgraph/linkgraph_gui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/linkgraph/linkgraph_gui.h b/src/linkgraph/linkgraph_gui.h
index 17fcd28b2..b913bb1f4 100644
--- a/src/linkgraph/linkgraph_gui.h
+++ b/src/linkgraph/linkgraph_gui.h
@@ -104,11 +104,11 @@ public:
LinkGraphLegendWindow(WindowDesc *desc, int window_number);
void SetOverlay(LinkGraphOverlay *overlay);
- virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize);
- virtual void DrawWidget(const Rect &r, int widget) const;
- virtual bool OnTooltip(Point pt, int widget, TooltipCloseCondition close_cond);
- virtual void OnClick(Point pt, int widget, int click_count);
- virtual void OnInvalidateData(int data = 0, bool gui_scope = true);
+ void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) override;
+ void DrawWidget(const Rect &r, int widget) const override;
+ bool OnTooltip(Point pt, int widget, TooltipCloseCondition close_cond) override;
+ void OnClick(Point pt, int widget, int click_count) override;
+ void OnInvalidateData(int data = 0, bool gui_scope = true) override;
private:
LinkGraphOverlay *overlay;