added shading to the Code Editor
This commit is contained in:
parent
3220331492
commit
c3bea5fd4b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue