Changeset 9805cde in mainline for uspace/app/trace/trace.c


Ignore:
Timestamp:
2009-01-01T13:31:23Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7122bc7
Parents:
666773c
Message:

Console color support overhaul. Create C library console interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/trace.c

    r666773c r9805cde  
    667667        proto_add_oper(p, CONSOLE_FLUSH, o);
    668668
     669        arg_def[0] = V_INTEGER;
     670        o = oper_new("set_style", 1, arg_def, V_INTEGER, 0, resp_def);
     671        proto_add_oper(p, CONSOLE_SET_STYLE, o);
     672        arg_def[0] = V_INTEGER; arg_def[1] = V_INTEGER; arg_def[2] = V_INTEGER;
     673        o = oper_new("set_color", 3, arg_def, V_INTEGER, 0, resp_def);
     674        proto_add_oper(p, CONSOLE_SET_COLOR, o);
    669675        arg_def[0] = V_INTEGER; arg_def[1] = V_INTEGER;
    670         o = oper_new("set_style", 2, arg_def, V_INTEGER, 0, resp_def);
    671         proto_add_oper(p, CONSOLE_SET_STYLE, o);
     676        o = oper_new("set_rgb_color", 2, arg_def, V_INTEGER, 0, resp_def);
     677        proto_add_oper(p, CONSOLE_SET_RGB_COLOR, o);
    672678        o = oper_new("cursor_visibility", 1, arg_def, V_VOID, 0, resp_def);
    673679        proto_add_oper(p, CONSOLE_CURSOR_VISIBILITY, o);
Note: See TracChangeset for help on using the changeset viewer.