Fixed some compiler warnings and marked OnRedraw as virtual. Oops.

This commit is contained in:
Casey Langen 2017-07-11 21:52:12 -07:00
parent 5748e47151
commit 3a0ed06a2b

View File

@ -55,15 +55,15 @@ namespace cursespp {
virtual void Layout() override; virtual void Layout() override;
virtual bool KeyPress(const std::string& key) override; virtual bool KeyPress(const std::string& key) override;
virtual void ProcessMessage(musik::core::runtime::IMessage &message); virtual void ProcessMessage(musik::core::runtime::IMessage &message) override;
protected: protected:
virtual void OnVisibilityChanged(bool visible); virtual void OnVisibilityChanged(bool visible) override;
private: private:
ToastOverlay(const std::string& text, long durationMs); ToastOverlay(const std::string& text, long durationMs);
void OnRedraw(); virtual void OnRedraw() override;
void RecalculateSize(); void RecalculateSize();
bool ticking; bool ticking;