num_lines 27 core/console.c static void console_init(int num_lines, int line_length, int x_pos, int y_pos) num_lines 29 core/console.c console_max_lines = num_lines; num_lines 36 core/gui_menu.c static int w, wplus, num_lines; num_lines 486 core/gui_menu.c gui_menu_top_item = gui_menu_curr_item - num_lines + 1; num_lines 494 core/gui_menu.c if (gui_menu_curr_item - gui_menu_top_item >= num_lines - 1) num_lines 496 core/gui_menu.c gui_menu_top_item = gui_menu_curr_item - num_lines + 2; num_lines 497 core/gui_menu.c if (gui_menu_top_item + num_lines > gui_menu_rows()) gui_menu_top_item = gui_menu_rows() - num_lines; num_lines 523 core/gui_menu.c int h = ((count > num_lines) ? num_lines : count) * rbf_font_height(); num_lines 733 core/gui_menu.c num_lines = (camera_screen.height - camera_screen.ts_menu_border*2)/rbf_font_height()-1; num_lines 734 core/gui_menu.c y = (camera_screen.height - ((num_lines - 1) * rbf_font_height())) >> 1; num_lines 739 core/gui_menu.c if ((count - gui_menu_top_item) < num_lines) { num_lines 741 core/gui_menu.c gui_menu_top_item = count - num_lines; num_lines 744 core/gui_menu.c if ((gui_menu_curr_item - gui_menu_top_item + 1) > num_lines) { num_lines 746 core/gui_menu.c gui_menu_top_item = gui_menu_curr_item - num_lines + 1; num_lines 749 core/gui_menu.c if (count > num_lines) num_lines 753 core/gui_menu.c draw_rectangle((x+w), y, (x+w)+wplus, y+num_lines*rbf_font_height()-1, MAKE_COLOR(BG_COLOR(user_color(conf.menu_color)), BG_COLOR(user_color(conf.menu_color))), RECT_BORDER0|DRAW_FILLED); num_lines 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()) num_lines 1094 core/gui_menu.c if (count > num_lines) num_lines 1096 core/gui_menu.c i = num_lines*rbf_font_height()-1 -1; // full height num_lines 1097 core/gui_menu.c j = i*num_lines/count; // bar height num_lines 1101 core/gui_menu.c draw_rectangle((x+w)+2, y+i+j, (x+w)+6, y+num_lines*rbf_font_height()-1-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED|RECT_ROUND_CORNERS); num_lines 41 modules/user_menu_edit.c static int w, wplus, num_lines; num_lines 309 modules/user_menu_edit.c num_lines = camera_screen.height/rbf_font_height()-1; num_lines 383 modules/user_menu_edit.c gui_menu_top_item = gui_menu_curr_item - num_lines + 1; num_lines 391 modules/user_menu_edit.c if (gui_menu_curr_item - gui_menu_top_item >= num_lines - 1) num_lines 393 modules/user_menu_edit.c gui_menu_top_item = gui_menu_curr_item - num_lines + 2; num_lines 394 modules/user_menu_edit.c if (gui_menu_top_item + num_lines > gui_menu_rows()) gui_menu_top_item = gui_menu_rows() - num_lines; num_lines 418 modules/user_menu_edit.c if (count > num_lines) num_lines 420 modules/user_menu_edit.c y = ((camera_screen.height-(num_lines-1)*rbf_font_height())>>1); num_lines 423 modules/user_menu_edit.c draw_rectangle((x+w), y, (x+w)+wplus, y+num_lines*rbf_font_height()-1, MAKE_COLOR(BG_COLOR(user_color(conf.menu_color)), BG_COLOR(user_color(conf.menu_color))), RECT_BORDER0|DRAW_FILLED); num_lines 434 modules/user_menu_edit.c y = ((camera_screen.height-(num_lines-1)*rbf_font_height())>>1); num_lines 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) num_lines 556 modules/user_menu_edit.c if (count > num_lines) num_lines 558 modules/user_menu_edit.c i = num_lines*rbf_font_height()-1 -1; // full height num_lines 559 modules/user_menu_edit.c j = i*num_lines/count; // bar height num_lines 563 modules/user_menu_edit.c draw_rectangle((x+w)+2, y+i+j, (x+w)+6, y+num_lines*rbf_font_height()-1-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED|RECT_ROUND_CORNERS); num_lines 18 tools/makelang.c int num_lines=0; num_lines 39 tools/makelang.c num_lines=0; num_lines 52 tools/makelang.c if ( num_lines <= 0 ) num_lines 59 tools/makelang.c langfile = malloc( sizeof(char*)*(num_lines+1) ); num_lines 60 tools/makelang.c for ( i=0; i<=num_lines; i++ ) num_lines 84 tools/makelang.c for ( i=1; i<=num_lines; i++ ) num_lines 128 tools/makelang.c printf("#if (GUI_LANG_ITEMS != %d)\n",num_lines); num_lines 129 tools/makelang.c printf("#error GUI_LANG_ITEMS value have to be %d. Please fix at gui_lang.h\n", num_lines); num_lines 154 tools/makelang.c if ( i >= num_lines ) { num_lines 155 tools/makelang.c num_lines = i;