From f00221705bd882898c6498aabbdfc874974a77f2 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Mon, 9 Oct 2017 08:58:02 +0300 Subject: [PATCH] Run button on code editor only #331 some fixes --- src/code.c | 12 ++++++------ src/studio.h | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/code.c b/src/code.c index 73da56e..b9e3d28 100644 --- a/src/code.c +++ b/src/code.c @@ -1678,11 +1678,11 @@ static void drawCodeToolbar(Code* code) static const u8 Icons[] = { 0b00000000, - 0b01000000, - 0b01100000, - 0b01110000, - 0b01100000, - 0b01000000, + 0b00100000, + 0b00110000, + 0b00111000, + 0b00110000, + 0b00100000, 0b00000000, 0b00000000, @@ -1717,7 +1717,7 @@ static void drawCodeToolbar(Code* code) enum {Count = sizeof Icons / BITS_IN_BYTE}; enum {Size = 7}; - static const char* Tips[] = {"RUN [ctrl+f]","FIND [ctrl+f]", "GOTO [ctrl+g]", "OUTLINE [ctrl+o]"}; + static const char* Tips[] = {"RUN [ctrl+r]","FIND [ctrl+f]", "GOTO [ctrl+g]", "OUTLINE [ctrl+o]"}; for(s32 i = 0; i < Count; i++) { diff --git a/src/studio.h b/src/studio.h index 7c2691d..960a459 100644 --- a/src/studio.h +++ b/src/studio.h @@ -198,4 +198,5 @@ void playSystemSfx(s32 id); void runGameFromSurf(); void gotoSurf(); -void exitFromGameMenu(); \ No newline at end of file +void exitFromGameMenu(); +void runProject(); \ No newline at end of file