mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Add overload operator on Text class
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@@ -79,6 +79,10 @@ class Text {
|
||||
int GetPosY() const { return _posY; }
|
||||
void SetPosY(int posY) { _posY = posY; }
|
||||
|
||||
Text& operator=(const Text& text) {
|
||||
return *this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw text using font and color
|
||||
*
|
||||
@@ -125,4 +129,4 @@ class Text {
|
||||
};
|
||||
} // namespace raylib
|
||||
|
||||
#endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
|
||||
#endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
|
||||
|
||||
Reference in New Issue
Block a user