projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some m_ prefixes to member variables in SDLRenderer and related classes
[supertux.git]
/
src
/
video
/
sdl
/
sdl_texture.hpp
diff --git
a/src/video/sdl/sdl_texture.hpp
b/src/video/sdl/sdl_texture.hpp
index
e92c316
..
7673800
100644
(file)
--- a/
src/video/sdl/sdl_texture.hpp
+++ b/
src/video/sdl/sdl_texture.hpp
@@
-28,9
+28,9
@@
class SDLTexture : public Texture
{
protected:
class SDLTexture : public Texture
{
protected:
- SDL_Texture* texture;
- int width;
- int height;
+ SDL_Texture*
m_
texture;
+ int
m_
width;
+ int
m_
height;
public:
SDLTexture(SDL_Surface* sdlsurface);
public:
SDLTexture(SDL_Surface* sdlsurface);
@@
-38,27
+38,27
@@
public:
SDL_Texture *get_texture() const
{
SDL_Texture *get_texture() const
{
- return texture;
+ return
m_
texture;
}
unsigned int get_texture_width() const
{
}
unsigned int get_texture_width() const
{
- return width;
+ return
m_
width;
}
unsigned int get_texture_height() const
{
}
unsigned int get_texture_height() const
{
- return height;
+ return
m_
height;
}
unsigned int get_image_width() const
{
}
unsigned int get_image_width() const
{
- return width;
+ return
m_
width;
}
unsigned int get_image_height() const
{
}
unsigned int get_image_height() const
{
- return height;
+ return
m_
height;
}
private:
}
private: