/[grub]/grub2/util/console.c
ViewVC logotype

Diff of /grub2/util/console.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by okuji, Sun Aug 7 17:12:52 2005 UTC revision 1.12 by okuji, Fri Aug 12 19:53:33 2005 UTC
# Line 217  grub_ncurses_getxy (void) Line 217  grub_ncurses_getxy (void)
217    return (x << 8) | y;    return (x << 8) | y;
218  }  }
219    
220    static grub_uint16_t
221    grub_ncurses_getwh (void)
222    {
223      int x;
224      int y;
225    
226      getmaxyx (stdscr, y, x);
227    
228      return (x << 8) | y;
229    }
230    
231  static void  static void
232  grub_ncurses_gotoxy (grub_uint8_t x, grub_uint8_t y)  grub_ncurses_gotoxy (grub_uint8_t x, grub_uint8_t y)
233  {  {
# Line 275  static struct grub_term grub_ncurses_ter Line 286  static struct grub_term grub_ncurses_ter
286      .checkkey = grub_ncurses_checkkey,      .checkkey = grub_ncurses_checkkey,
287      .getkey = grub_ncurses_getkey,      .getkey = grub_ncurses_getkey,
288      .getxy = grub_ncurses_getxy,      .getxy = grub_ncurses_getxy,
289        .getwh = grub_ncurses_getwh,
290      .gotoxy = grub_ncurses_gotoxy,      .gotoxy = grub_ncurses_gotoxy,
291      .cls = grub_ncurses_cls,      .cls = grub_ncurses_cls,
292      .setcolorstate = grub_ncurses_setcolorstate,      .setcolorstate = grub_ncurses_setcolorstate,

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26