Adds const in ShaderTest2.h

Adds const in ShaderTest2.h
This commit is contained in:
Ricardo Quesada 2013-12-18 21:15:47 -08:00
parent 1ed37df37f
commit 2d2a6b205d
1 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ class ShaderTestDemo2 : public BaseTest
{
public:
ShaderTestDemo2(void);
virtual std::string title() { return "Shader Sprite!";}
virtual std::string title() const { return "Shader Sprite!";}
void restartCallback(Object* sender);
void nextCallback(Object* sender);
void backCallback(Object* sender);
@ -29,7 +29,7 @@ public:
CREATE_FUNC(NormalSpriteTest);
NormalSpriteTest();
virtual std::string subtitle() {return "NormalSpriteTest";}
virtual std::string subtitle() const {return "NormalSpriteTest";}
};
class GreyScaleSpriteTest : public ShaderTestDemo2
@ -38,7 +38,7 @@ public:
CREATE_FUNC(GreyScaleSpriteTest);
GreyScaleSpriteTest();
virtual std::string subtitle() {return "GreyScaleSpriteTest";}
virtual std::string subtitle() const {return "GreyScaleSpriteTest";}
};
class BlurSpriteTest : public ShaderTestDemo2
@ -47,7 +47,7 @@ public:
CREATE_FUNC(BlurSpriteTest);
BlurSpriteTest();
virtual std::string subtitle() {return "BlurSpriteTest";}
virtual std::string subtitle() const {return "BlurSpriteTest";}
};
class NoiseSpriteTest : public ShaderTestDemo2
@ -55,7 +55,7 @@ class NoiseSpriteTest : public ShaderTestDemo2
public:
CREATE_FUNC(NoiseSpriteTest);
NoiseSpriteTest();
virtual std::string subtitle() {return "NoiseSpriteTest";}
virtual std::string subtitle() const {return "NoiseSpriteTest";}
};
class EdgeDetectionSpriteTest : public ShaderTestDemo2
@ -64,7 +64,7 @@ public:
CREATE_FUNC(EdgeDetectionSpriteTest);
EdgeDetectionSpriteTest();
virtual std::string subtitle() {return "EdgeDetectionSpriteTest";}
virtual std::string subtitle() const {return "EdgeDetectionSpriteTest";}
};
class BloomSpriteTest : public ShaderTestDemo2
@ -73,7 +73,7 @@ public:
CREATE_FUNC(BloomSpriteTest);
BloomSpriteTest();
virtual std::string subtitle() {return "BloomSpriteTest";}
virtual std::string subtitle() const {return "BloomSpriteTest";}
};
class LensFlareSpriteTest : public ShaderTestDemo2
@ -82,7 +82,7 @@ public:
CREATE_FUNC(LensFlareSpriteTest);
LensFlareSpriteTest();
virtual std::string subtitle() {return "LensFlareSpriteTest";}
virtual std::string subtitle() const {return "LensFlareSpriteTest";}
};
class CelShadingSpriteTest : public ShaderTestDemo2
@ -91,7 +91,7 @@ public:
CREATE_FUNC(CelShadingSpriteTest);
CelShadingSpriteTest();
virtual std::string subtitle() {return "CelShadingSpriteTest";}
virtual std::string subtitle() const {return "CelShadingSpriteTest";}
};
#endif