mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Add OVERRIDE modifier in ColorSliders subclasses.
This commit is contained in:
parent
468d9965b9
commit
a45253c43e
@ -20,6 +20,7 @@
|
||||
#define WIDGETS_COLOR_SLIDERS_H_INCLUDED
|
||||
|
||||
#include "app/color.h"
|
||||
#include "base/compiler_specific.h"
|
||||
#include "base/signal.h"
|
||||
#include "gui/event.h"
|
||||
#include "gui/grid.h"
|
||||
@ -87,8 +88,8 @@ public:
|
||||
RgbSliders();
|
||||
|
||||
private:
|
||||
virtual void onSetColor(const Color& color);
|
||||
virtual Color getColorFromSliders();
|
||||
virtual void onSetColor(const Color& color) OVERRIDE;
|
||||
virtual Color getColorFromSliders() OVERRIDE;
|
||||
};
|
||||
|
||||
class HsvSliders : public ColorSliders
|
||||
@ -97,8 +98,8 @@ public:
|
||||
HsvSliders();
|
||||
|
||||
private:
|
||||
virtual void onSetColor(const Color& color);
|
||||
virtual Color getColorFromSliders();
|
||||
virtual void onSetColor(const Color& color) OVERRIDE;
|
||||
virtual Color getColorFromSliders() OVERRIDE;
|
||||
};
|
||||
|
||||
class GraySlider : public ColorSliders
|
||||
@ -107,8 +108,8 @@ public:
|
||||
GraySlider();
|
||||
|
||||
private:
|
||||
virtual void onSetColor(const Color& color);
|
||||
virtual Color getColorFromSliders();
|
||||
virtual void onSetColor(const Color& color) OVERRIDE;
|
||||
virtual Color getColorFromSliders() OVERRIDE;
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user