Changeset 96b02eb9 in mainline for uspace/lib/c/generic/io/screenbuffer.c
- Timestamp:
- 2010-12-14T12:52:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/screenbuffer.c
r554debd r96b02eb9 67 67 * 68 68 */ 69 screenbuffer_t *screenbuffer_init(screenbuffer_t *scr, ipcarg_t size_x,70 ipcarg_t size_y)69 screenbuffer_t *screenbuffer_init(screenbuffer_t *scr, sysarg_t size_x, 70 sysarg_t size_y) 71 71 { 72 72 scr->buffer = (keyfield_t *) malloc(sizeof(keyfield_t) * size_x * size_y); … … 110 110 * 111 111 */ 112 void screenbuffer_clear_line(screenbuffer_t *scr, ipcarg_t line)112 void screenbuffer_clear_line(screenbuffer_t *scr, sysarg_t line) 113 113 { 114 ipcarg_t x;114 sysarg_t x; 115 115 116 116 for (x = 0; x < scr->size_x; x++) { … … 141 141 * 142 142 */ 143 void screenbuffer_goto(screenbuffer_t *scr, ipcarg_t x, ipcarg_t y)143 void screenbuffer_goto(screenbuffer_t *scr, sysarg_t x, sysarg_t y) 144 144 { 145 145 scr->position_x = x % scr->size_x;
Note:
See TracChangeset
for help on using the changeset viewer.