OS4 DepotLogo by Alkaron 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Development » Library » Graphics » sdltty.lha


Description: SDL_TTY
Download: sdltty.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 820kb
Version: 0.0.1
Date: 02 Jul 2008
Author: Ingo Ruhnke, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Category: development/library/graphics
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3838
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 159  (Current version)
159  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
SDL_tty 0.0.1

SDL_tty is a very simple library that tries to simulate a primitive
terminal that allows you to print to the screen in much the same way
that you would print to stdout. The usage is like this:

  // Initialize SDL as usual

  // Create the fixed width font
  TTY_Font* font = TTY_CreateFont(temp, 16, 16, 
  // Create the terminal
  TTY* tty = TTY_Create(40, 30, font);

  // Your mainloop
     // print text via
     TTY_printf(tty, "Hello World\n");

     // renderer the terminal to the screen 
     TTY_Blit(tty, screen, 80, 60);



The c64lookalike programm demonstrates some more advanced usage of the library.


* can create a primitive terminal for text output
* some primitve support for scrolling 
* support for fixed-width fonts
* support for loading fonts from file as well as directly from code, a
  image to .h converter is provided
* small and meant to be included in your source, not meant to be compiled as
  a real .so/dll library


The latest version is currently available via:

  svn co svn://svn.berlios.de/supertux/trunk/jnrcol/

Question and suggestion should go to:

  Ingo Ruhnke <grumbel/gmx/de>

# EOF #

Copyright © 2004-2024 by Björn Hagström All Rights Reserved