yy 770 core/gui_menu.c static int imenu, yy, xx, symbol_width; yy 778 core/gui_menu.c xx += rbf_draw_char(xx, yy, ' ', cl_symbol); yy 779 core/gui_menu.c xx += symbol_width = rbf_draw_symbol(xx, yy, curr_menu->menu[imenu].symbol, cl_symbol); yy 787 core/gui_menu.c xx += rbf_draw_char(xx, yy, ' ', cl); yy 808 core/gui_menu.c xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-len_br1-len_str-len_br2-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl); yy 809 core/gui_menu.c xx += rbf_draw_string(xx, yy, " [", cl); yy 819 core/gui_menu.c xx += rbf_draw_string_right_len(xx, yy, len_str, str, cl); yy 821 core/gui_menu.c rbf_draw_string(xx, yy, "] ", cl); yy 828 core/gui_menu.c xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-symbol_width, str, cl); yy 830 core/gui_menu.c xx += rbf_draw_symbol(xx, yy, 0x52, cl_symbol); yy 831 core/gui_menu.c rbf_draw_char(xx, yy, ' ', cl); yy 890 core/gui_menu.c xx += rbf_draw_string_len(xx, yy, wid, lang_str(text), cl); yy 891 core/gui_menu.c xx += rbf_draw_string(xx, yy, " [", cl); yy 893 core/gui_menu.c xx += rbf_draw_string_len(xx, yy, len_space*3, ((const char* (*)(int change, int arg))(c[1].value))(0, c[1].arg), cl); yy 895 core/gui_menu.c xx += rbf_draw_string_len(xx, yy, len_bool, (*(c[1].value))?"\x95":"", cl); yy 896 core/gui_menu.c xx += rbf_draw_string(xx, yy, "][", cl); yy 951 core/gui_menu.c xx += rbf_draw_string_right_len(xx, yy, len_enum, ch, cl); yy 953 core/gui_menu.c rbf_draw_string(xx, yy, "] ", cl); yy 980 core/gui_menu.c for (imenu=gui_menu_top_item, i=0, yy=y; curr_menu->menu[imenu].text && i<num_lines; ++imenu, ++i, yy+=rbf_font_height()) yy 1029 core/gui_menu.c rbf_draw_char(x, yy, ' ', cl); yy 1041 core/gui_menu.c draw_rectangle(x+len_space, yy, xx-1, yy+rbf_font_height()/2-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); yy 1042 core/gui_menu.c draw_line(x+len_space, yy+rbf_font_height()/2, xx-1, yy+rbf_font_height()/2, FG_COLOR(cl)); yy 1043 core/gui_menu.c draw_rectangle(x+len_space, yy+rbf_font_height()/2+1, xx-1, yy+rbf_font_height()-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); yy 1050 core/gui_menu.c if (j) xx += rbf_draw_clipped_string(xx, yy, tbuf, cl, 0, w); yy 1054 core/gui_menu.c draw_rectangle(xx, yy, x+w-len_space-1, yy+rbf_font_height()/2-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); yy 1055 core/gui_menu.c draw_line(xx, yy+rbf_font_height()/2, x+w-1-len_space, yy+rbf_font_height()/2, FG_COLOR(cl)); yy 1056 core/gui_menu.c draw_rectangle(xx, yy+rbf_font_height()/2+1, x+w-len_space-1, yy+rbf_font_height()-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); yy 1059 core/gui_menu.c rbf_draw_char(x+w-len_space, yy, ' ', cl); yy 1064 core/gui_menu.c xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl); yy 1066 core/gui_menu.c draw_rectangle(x+w-1-cl_rect-2-len_space, yy+2, x+w-1-2-len_space, yy+rbf_font_height()-1-2, MAKE_COLOR(mc,mc), RECT_BORDER0|DRAW_FILLED|RECT_ROUND_CORNERS); yy 1072 core/gui_menu.c xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl); yy 1074 core/gui_menu.c draw_rectangle(x+w-1-cl_rect-2-len_space, yy+2, x+w-1-2-len_space, yy+rbf_font_height()-1-2, MAKE_COLOR(mc,mc), RECT_BORDER0|DRAW_FILLED|RECT_ROUND_CORNERS); yy 19 core/gui_space.c static coord xx, yy; yy 42 core/gui_space.c yy = pos.y; yy 52 core/gui_space.c if (yy > (camera_screen.height-height-4)) { yy 53 core/gui_space.c yy = camera_screen.height-height-4; yy 56 core/gui_space.c draw_rectangle(xx, yy, xx+width+3, yy+height+3, MAKE_COLOR(COLOR_BLACK,COLOR_BLACK), RECT_BORDER1); // Outer black rectangle yy 57 core/gui_space.c draw_rectangle(xx+1, yy+1, xx+width+2, yy+height+2, cl, RECT_BORDER1); // Inner white/red rectangle yy 71 core/gui_space.c else draw_rectangle(xx+x+2, yy+2, xx+width+1, yy+height+1, MAKE_COLOR(FG_COLOR(cl), FG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); // If not empty fill 'free' space area yy 72 core/gui_space.c draw_rectangle(xx+2, yy+2, xx+x+1, yy+height+1, MAKE_COLOR(COLOR_TRANSPARENT, COLOR_BLACK), RECT_BORDER1|DRAW_FILLED); // fill 'used' space area yy 85 core/gui_space.c else draw_rectangle(xx+2, yy+y+2, xx+width+1, yy+height+1, MAKE_COLOR(FG_COLOR(cl), FG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); // If not empty fill 'free' space area yy 86 core/gui_space.c draw_rectangle(xx+2, yy+2, xx+width+1, yy+y+1, MAKE_COLOR(COLOR_TRANSPARENT, COLOR_BLACK), RECT_BORDER1|DRAW_FILLED); // fill 'used' space area yy 312 lib/font/rbf_font.c int xx, yy; yy 316 lib/font/rbf_font.c for (yy=0; yy<height; ++yy) yy 318 lib/font/rbf_font.c draw_pixel(x+xx ,y+yy, (cdata[yy*width/8+xx/8] & (1<<(xx%8))) ? FG_COLOR(cl) : BG_COLOR(cl)); yy 213 modules/games/gui_snake.c int xx,yy,px,py; yy 215 modules/games/gui_snake.c for(yy=0;yy<SNAKE_ELEMENT_SIZE;yy++){ yy 219 modules/games/gui_snake.c if(angle == 0) col = element[yy][xx]; yy 220 modules/games/gui_snake.c if(angle == 1) col = element[xx][7-yy]; yy 221 modules/games/gui_snake.c if(angle == 2) col = element[xx][yy]; yy 222 modules/games/gui_snake.c if(angle == 3) col = element[yy][7-xx]; yy 223 modules/games/gui_snake.c if(angle == 4) col = element[7-xx][yy]; yy 234 modules/games/gui_snake.c for (py=yy*snake_scale; py<(yy+1)*snake_scale; py+=1) yy 37 modules/gui_read.c static int xx, yy; yy 100 modules/gui_read.c draw_rectangle(xx, yy, x+w-1, yy+rbf_font_height()-1, MAKE_COLOR(BG_COLOR(col), BG_COLOR(col)), RECT_BORDER0|DRAW_FILLED); yy 102 modules/gui_read.c yy += rbf_font_height(); yy 144 modules/gui_read.c xx=x; yy=y; yy 149 modules/gui_read.c while (yy<=y+h-rbf_font_height()) { yy 153 modules/gui_read.c if (yy < y+h) yy 154 modules/gui_read.c draw_rectangle(x, yy, x+w-1, y+h-1, MAKE_COLOR(BG_COLOR(col), BG_COLOR(col)), RECT_BORDER0|DRAW_FILLED); yy 164 modules/gui_read.c while (i<n && yy<=y+h-rbf_font_height()) { yy 214 modules/gui_read.c xx+=rbf_draw_char(xx, yy, buffer[i], col); yy 220 modules/gui_read.c yy += rbf_font_height(); yy 444 modules/user_menu_edit.c static int imenu, yy, xx, symbol_width; yy 452 modules/user_menu_edit.c xx += rbf_draw_char(xx, yy, ' ', cl_symbol); yy 453 modules/user_menu_edit.c xx += symbol_width = rbf_draw_symbol(xx, yy, curr_menu->menu[imenu].symbol, cl_symbol); yy 461 modules/user_menu_edit.c xx += rbf_draw_char(xx, yy, ' ', cl); yy 468 modules/user_menu_edit.c xx += rbf_draw_string_len(xx, yy, w-len_space*4, lang_str(curr_menu->menu[imenu].text), cl); yy 475 modules/user_menu_edit.c xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-symbol_width, str, cl); yy 477 modules/user_menu_edit.c xx += rbf_draw_symbol(xx, yy, 0x52, cl_symbol); yy 478 modules/user_menu_edit.c rbf_draw_char(xx, yy, ' ', cl); yy 491 modules/user_menu_edit.c xx += rbf_draw_string_len(xx, yy, wid, lang_str(text), cl); yy 509 modules/user_menu_edit.c for (imenu=gui_menu_top_item, i=0, yy=y; curr_menu->menu[imenu].text && i<num_lines; ++imenu) yy 546 modules/user_menu_edit.c xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl); yy 550 modules/user_menu_edit.c yy += rbf_font_height(); yy 277 modules/zebra.c register int yy; yy 278 modules/zebra.c yy = img_buf[v+1]; yy 288 modules/zebra.c if (clip8(((yy<<12) + vv*5743 + 2048)>>12)>over) sel = 4; // R yy 289 modules/zebra.c if (clip8(((yy<<12) - uu*1411 - vv*2925 + 2048)>>12)>over) sel |= 2; // G yy 290 modules/zebra.c if (clip8(((yy<<12) + uu*7258 + 2048)>>12)>over) sel |= 1; // B yy 298 modules/zebra.c buf[s] = buf[s+1] = (yy>over)?cl_over:(yy<conf.zebra_under)?cl_under:COLOR_TRANSPARENT; yy 379 modules/zebra.c register int yy, uu, vv; yy 384 modules/zebra.c yy = img_buf[v+1]; yy 390 modules/zebra.c if (clip8(((yy<<12) + vv*5743 + 2048)>>12)>over) sel = 4; // R yy 391 modules/zebra.c if (clip8(((yy<<12) - uu*1411 - vv*2925 + 2048)>>12)>over) sel |= 2; // G yy 392 modules/zebra.c if (clip8(((yy<<12) + uu*7258 + 2048)>>12)>over) sel |= 1; // B yy 397 modules/zebra.c else buf[s]=(yy>over)?cl_over:(yy<conf.zebra_under)?cl_under:COLOR_TRANSPARENT;