//uspace/trunk/fb/sysio.c |
---|
149,10 → 149,8 |
case FB_SET_STYLE: |
fgcolor = IPC_GET_ARG1(call); |
bgcolor = IPC_GET_ARG2(call); |
if (bgcolor == 0xf0f0f0) |
if (fgcolor < bgcolor) |
set_style(0); |
else if (fgcolor > bgcolor) |
set_style(0); |
else |
set_style(7); |
retval = 0; |
//uspace/trunk/tetris/screen.c |
---|
85,12 → 85,12 |
static void start_standout(void) |
{ |
set_style(0, 0xe0e0e0); |
set_style(0xf0f0f0, 0); |
} |
static void resume_normal(void) |
{ |
set_style(0xe0e0e0, 0); |
set_style(0, 0xf0f0f0); |
} |