screen.c File Reference

#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <str.h>
#include <unistd.h>
#include <vfs/vfs.h>
#include <async.h>
#include <bool.h>
#include <io/console.h>
#include <io/style.h>
#include "screen.h"
#include "tetris.h"

Go to the source code of this file.

Defines

#define STOP   (B_COLS - 3)

Functions

void clear_screen (void)
static bool get_display_color_sup (void)
static int get_display_size (winsize_t *ws)
void moveto (sysarg_t r, sysarg_t c)
static void putstr (const char *s)
static void resume_normal (void)
void scr_clear (void)
void scr_end (void)
void scr_init (void)
void scr_msg (char *s, bool set)
void scr_set (void)
void scr_update (void)
static void start_standout (uint32_t color)
void stop (const char *why)

Variables

static int curscore
static cell curscreen [B_SIZE]
static int isset
static struct shapelastshape
static bool use_color
winsize_t winsize


Detailed Description

Definition in file screen.c.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7