Changeset 9805cde in mainline for uspace/app/tetris/screen.c
- Timestamp:
- 2009-01-01T13:31:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7122bc7
- Parents:
- 666773c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/screen.c
r666773c r9805cde 52 52 #include <unistd.h> 53 53 #include <io/stream.h> 54 54 #include <console.h> 55 55 56 56 #include <async.h> … … 77 77 78 78 79 80 static void set_style(int fgcolor, int bgcolor)81 {82 async_msg_2(con_phone, CONSOLE_SET_STYLE, fgcolor, bgcolor);83 }84 85 79 static void start_standout(void) 86 80 { 87 set_style(0xf0f0f0, 0);81 console_set_rgb_color(0xf0f0f0, 0); 88 82 } 89 83 90 84 static void resume_normal(void) 91 85 { 92 set_style(0, 0xf0f0f0); 93 } 94 86 console_set_rgb_color(0, 0xf0f0f0); 87 } 95 88 96 89 void clear_screen(void)
Note:
See TracChangeset
for help on using the changeset viewer.