On Oct 5, 2013 2:34 PM, "Philippe" <phili...@quarta.com.br> wrote:

> Problem!(?) ... I was using window, gotoxy and so on ... and I donĀ“t find
anything similar with video unit!

I don't know if this would be useful to you, but I've been working on a
modernized CRT for some time:

    - https://github.com/tangentstorm/xpl/blob/master/code/kvm.pas
    - http://tangentstorm.github.io/xpl/kvm.pas.html ( literate programming
style tour of the code )
These support unicode output, 256 foreground and background colors, and
(eventually) italics, bold, etc.

They don't work  with the video unit or the normal windows console, because
neither provide the above features.

However, I also have implementations for SDL and ZenGL here:

    - https://github.com/sabren/b4/blob/master/ng/rxgl_sdl.pas
    - https://github.com/sabren/b4/blob/master/ng/rxgl_zen.pas
    - https://github.com/sabren/b4/blob/master/ng/rt_term.pas

These allow mixing console text with vector graphics powered by aggpas.
Looks like I haven't declared that they implement the kvm interfaces yet,
but they should be very similar.

All of this is MIT-licensed so feel free to do whatever with it.

-Michal
http://tangentstorm.com/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to