diff options
author | frosch <frosch@openttd.org> | 2009-09-13 19:15:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-09-13 19:15:59 +0000 |
commit | ebd916be3def20902cf19ffd16555074728eb9c3 (patch) | |
tree | c7748d7612a61b9558ffd10ffb176e34584f2376 /src/widget_type.h | |
parent | 5de9cc46b50b8e677395543c10b26b59c860212b (diff) | |
download | openttd-ebd916be3def20902cf19ffd16555074728eb9c3.tar.xz |
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index fdab0d9eb..7d5a68494 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -209,7 +209,7 @@ public: inline uint GetVerticalStepSize(SizingType sizing) const; virtual void Draw(const Window *w) = 0; - virtual void Invalidate(const Window *w) const; + virtual void SetDirty(const Window *w) const; WidgetType type; ///< Type of the widget / nested widget. bool fill_x; ///< Allow horizontal filling from initial size. @@ -458,7 +458,7 @@ public: /* virtual */ void FillNestedArray(NWidgetCore **array, uint length); /* virtual */ void Draw(const Window *w); - /* virtual */ void Invalidate(const Window *w) const; + /* virtual */ void SetDirty(const Window *w) const; /* virtual */ NWidgetCore *GetWidgetFromPos(int x, int y); }; |