Skip to content

Commit

Permalink
BLUGA-GRAPHICS: Fix nodiscard
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 2, 2023
1 parent 46ebb42 commit 0d5538b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,21 +298,21 @@ namespace Raylib {

virtual void drawPro(Vector2 origin, float rotation, float spacing) = 0;

[[nodiscard] virtual float x() const = 0;
[[nodiscard]] virtual float x() const = 0;

[[nodiscard] virtual float y() const = 0;
[[nodiscard]] virtual float y() const = 0;

[[nodiscard] virtual float getFontSize() const = 0;
[[nodiscard]] virtual float getFontSize() const = 0;

virtual void setFontSize(float fontSize) = 0;

[[nodiscard] virtual Vector2 getPosition() const = 0;
[[nodiscard]] virtual Vector2 getPosition() const = 0;

virtual void setPixelPosition(Vector2 position) = 0;

virtual void setColor(Color color) = 0;

[[nodiscard] virtual Color getColor() const = 0;
[[nodiscard]] virtual Color getColor() const = 0;

virtual void setCurrentFontSize(float fontSize) = 0;
};
Expand Down

0 comments on commit 0d5538b

Please sign in to comment.