From 2e5f666411681b700c4f801f73caf4659e5c123f Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 4 Jun 2022 14:46:58 +0800 Subject: [PATCH] update autolinks for raylib-drawing --- NEWS.md | 1 + RedPandaIDE/resources/autolink.json | 4 ++-- windows/templates/CL_Turtle_cpp.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 9d91d3f4..f877fd26 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ Red Panda C++ Version 1.0.10 - fix: can't goto to definition of std::endl - fix: errors in the calculation of cut limit - enhancement: new turtle library based on raylib ( so it can be used under linux) + - fix: autolink calculation not stable Red Panda C++ Version 1.0.9 - fix: selection in column mode not correctly drawn when has wide chars in it diff --git a/RedPandaIDE/resources/autolink.json b/RedPandaIDE/resources/autolink.json index 2342399b..7b0f709f 100644 --- a/RedPandaIDE/resources/autolink.json +++ b/RedPandaIDE/resources/autolink.json @@ -32,11 +32,11 @@ "links": "-lraylib -lopengl32 -lgdi32 -lwinmm" }, { - "header": "rdrawing", + "header": "rdrawing.h", "links": "-lrdrawing" }, { - "header": "rturtle", + "header": "rturtle.h", "links": "-lrturtle" }, { diff --git a/windows/templates/CL_Turtle_cpp.txt b/windows/templates/CL_Turtle_cpp.txt index f7587e6c..8458da08 100644 --- a/windows/templates/CL_Turtle_cpp.txt +++ b/windows/templates/CL_Turtle_cpp.txt @@ -19,7 +19,7 @@ int main() { } lt(360.0/n); } - pause(); + waitClick(); return 0; } \ No newline at end of file