Subversion Repositories HelenOS

Rev

Rev 4668 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4668 Rev 4688
Line 171... Line 171...
171
        set_rgb_color(attrs->a.r.fg_color, attrs->a.r.bg_color);
171
        set_rgb_color(attrs->a.r.fg_color, attrs->a.r.bg_color);
172
        break;
172
        break;
173
    }
173
    }
174
}
174
}
175
 
175
 
176
int ccap_fb_to_con(int ccap_fb, int *ccap_con)
176
static int ccap_fb_to_con(int ccap_fb, int *ccap_con)
177
{
177
{
178
    switch (ccap_fb) {
178
    switch (ccap_fb) {
179
    case FB_CCAP_NONE: *ccap_con = CONSOLE_CCAP_NONE; break;
179
    case FB_CCAP_NONE: *ccap_con = CONSOLE_CCAP_NONE; break;
180
    case FB_CCAP_STYLE: *ccap_con = CONSOLE_CCAP_STYLE; break;
180
    case FB_CCAP_STYLE: *ccap_con = CONSOLE_CCAP_STYLE; break;
181
    case FB_CCAP_INDEXED: *ccap_con = CONSOLE_CCAP_INDEXED; break;
181
    case FB_CCAP_INDEXED: *ccap_con = CONSOLE_CCAP_INDEXED; break;