added shading to the Code Editor

This commit is contained in:
BADIM-PC\Vadim 2017-11-17 19:47:53 +03:00
parent 3220331492
commit c3bea5fd4b
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ static void drawCode(Code* code, bool withCursor)
if(code->cursor.selection && pointer >= selection.start && pointer < selection.end)
code->tic->api.rect(code->tic, x-1, y-1, TIC_FONT_WIDTH+1, TIC_FONT_HEIGHT+1, getConfig()->theme.code.select);
else code->tic->api.draw_char(code->tic, symbol, x+1, y+1, 0);
code->tic->api.draw_char(code->tic, symbol, x, y, *colorPointer);