diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-03-09 21:21:08 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-03-09 21:21:08 +0300 |
commit | 4c746bb3b02552a4571cb7bb2369185f86a66935 (patch) | |
tree | cce54ea44b4b6614785aa155b4c4add35034a466 /source/blender/editors/space_info/textview.c | |
parent | aca29bcc65d193ba38c50f375c6b390910220b9d (diff) |
Immediate Mode: Updated commented out code from textview.c
Diffstat (limited to 'source/blender/editors/space_info/textview.c')
-rw-r--r-- | source/blender/editors/space_info/textview.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index bc9d7365e4e..1872a8a0545 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -207,7 +207,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str if (cdc->sel[0] != cdc->sel[1]) { console_step_sel(cdc, -initial_offset); - // glColor4ub(255, 0, 0, 96); // debug + /* BLF_color3ub(cdc->font_id, 255, 0, 0); // debug */ console_draw_sel(s, cdc->sel, cdc->xy, len, cdc->cwidth, cdc->lheight, bg_sel); } @@ -222,7 +222,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str if (cdc->sel[0] != cdc->sel[1]) { console_step_sel(cdc, len); - // glColor4ub(0, 255, 0, 96); // debug + /* BLF_color3ub(cdc->font_id, 0, 255, 0); // debug */ console_draw_sel(s, cdc->sel, cdc->xy, len, cdc->cwidth, cdc->lheight, bg_sel); } @@ -261,7 +261,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str isel[0] = str_len - cdc->sel[1]; isel[1] = str_len - cdc->sel[0]; - // glColor4ub(255, 255, 0, 96); // debug + /* BLF_color3ub(cdc->font_id, 255, 255, 0); // debug */ console_draw_sel(str, isel, cdc->xy, str_len, cdc->cwidth, cdc->lheight, bg_sel); console_step_sel(cdc, -(str_len + 1)); } |