diff options
| author | Joshua Reisenauer <kd7tck@msn.com> | 2016-06-03 14:01:04 -0700 |
|---|---|---|
| committer | Joshua Reisenauer <kd7tck@msn.com> | 2016-06-03 14:01:04 -0700 |
| commit | e3b248545353720090f28a6c4e8a8c8a34bb1269 (patch) | |
| tree | 59e40c6862a88affa8bcdba4979c6a8956581ac1 /src/raygui.c | |
| parent | 96fa716525e22f9f75575f2dc1b431c58567d8a1 (diff) | |
| parent | 60232810d83c7ea3a52491f0b20444003be53358 (diff) | |
| download | raylib-e3b248545353720090f28a6c4e8a8c8a34bb1269.tar.gz raylib-e3b248545353720090f28a6c4e8a8c8a34bb1269.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/raygui.c')
| -rw-r--r-- | src/raygui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/raygui.c b/src/raygui.c index eaf15224..5064f123 100644 --- a/src/raygui.c +++ b/src/raygui.c @@ -177,7 +177,7 @@ static bool CheckCollisionPointRec(Vector2 point, Rectangle rec); // Check if p static const char *FormatText(const char *text, ...); // Formatting of text with variables to 'embed' // NOTE: raygui depend on some raylib input and drawing functions -// TODO: Set your own functions +// TODO: Replace by your own functions static Vector2 GetMousePosition() { return (Vector2){ 0.0f, 0.0f }; } static int IsMouseButtonDown(int button) { return 0; } static int IsMouseButtonPressed(int button) { return 0; } @@ -191,7 +191,6 @@ static int MeasureText(const char *text, int fontSize) { return 0; } static void DrawText(const char *text, int posX, int posY, int fontSize, Color color) { } static void DrawRectangleRec(Rectangle rec, Color color) { } static void DrawRectangle(int posX, int posY, int width, int height, Color color) { DrawRectangleRec((Rectangle){ posX, posY, width, height }, color); } - #endif //---------------------------------------------------------------------------------- |
