Ignore:
Timestamp:
08/08/16 18:25:48 (9 years ago)
Author:
epyon
Message:
  • term_color implementation
  • support for background color
  • support for RGBA encoding
  • initial gfx_terminal implementation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/interface/terminal.hh

    r487 r514  
    1717#include <nv/core/position.hh>
    1818#include <nv/core/io_event.hh>
     19#include <nv/core/term_color.hh>
    1920
    2021namespace nv
    2122{
     23
     24
    2225        class terminal
    2326        {
     
    3639         * Print a character of the given color to the screen memory
    3740         */
    38         virtual void print( position p, uint32 color, char ch ) = 0;
     41        virtual void print( position p, term_color fgcolor, term_color bgcolor, char ch ) = 0;
    3942
    4043        /**
    4144                 * Clear screen memory
    4245         */
    43         virtual void clear( rectangle r ) = 0;
     46        virtual void clear( rectangle r, term_color fgcolor, term_color bgcolor ) = 0;
    4447
    4548        /**
Note: See TracChangeset for help on using the changeset viewer.