Changeset 8dc12ac in mainline for uspace/srv/fb/fb.c
- Timestamp:
- 2009-06-03T18:41:27Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5d0e461
- Parents:
- 424cd43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fb/fb.c
r424cd43 r8dc12ac 52 52 #include <kernel/errno.h> 53 53 #include <kernel/genarch/fb/visuals.h> 54 #include < console/color.h>55 #include < console/style.h>54 #include <io/color.h> 55 #include <io/style.h> 56 56 #include <async.h> 57 57 #include <bool.h> … … 376 376 static void vport_redraw(viewport_t *vport) 377 377 { 378 unsigned int col; 378 379 unsigned int row; 379 unsigned int col;380 380 381 381 for (row = 0; row < vport->rows; row++) { … … 432 432 static void vport_scroll(viewport_t *vport, int lines) 433 433 { 434 unsigned int col; 434 435 unsigned int row; 435 unsigned int col;436 436 unsigned int x; 437 437 unsigned int y; … … 1565 1565 int scroll; 1566 1566 wchar_t ch; 1567 unsigned int row, col;1567 unsigned int col, row; 1568 1568 1569 1569 if ((vport->cursor_active) || (anims_enabled)) … … 1602 1602 case FB_PUTCHAR: 1603 1603 ch = IPC_GET_ARG1(call); 1604 row= IPC_GET_ARG2(call);1605 col= IPC_GET_ARG3(call);1604 col = IPC_GET_ARG2(call); 1605 row = IPC_GET_ARG3(call); 1606 1606 1607 1607 if ((col >= vport->cols) || (row >= vport->rows)) { … … 1621 1621 break; 1622 1622 case FB_CURSOR_GOTO: 1623 row= IPC_GET_ARG1(call);1624 col= IPC_GET_ARG2(call);1623 col = IPC_GET_ARG1(call); 1624 row = IPC_GET_ARG2(call); 1625 1625 1626 1626 if ((col >= vport->cols) || (row >= vport->rows)) { … … 1642 1642 break; 1643 1643 case FB_GET_CSIZE: 1644 ipc_answer_2(callid, EOK, vport-> rows, vport->cols);1644 ipc_answer_2(callid, EOK, vport->cols, vport->rows); 1645 1645 continue; 1646 1646 case FB_SCROLL:
Note:
See TracChangeset
for help on using the changeset viewer.