File: console.h

package info (click to toggle)
komposter 0%2Bgit20201216%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,760 kB
  • sloc: ansic: 15,581; sh: 4,176; asm: 642; makefile: 74
file content (28 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Komposter
 *
 * Copyright (c) 2010 Noora Halme et al. (see AUTHORS)
 *
 * This code is licensed under the GNU General Public
 * License version 2. See LICENSE for full text.
 *
 * Console logging
 *
 */

#ifndef __CONSOLE_H__
#define __CONSOLE_H__

#include "arch.h"
#include "font.h"

#define BACKLOG 100
#define LOG_INITIAL_T 18.0
#define LOG_DELTA_T 0.1

void console_post(char *msg);
char *console_latest(void);
void console_advanceframe(void);
void console_print(int x, int y);

#endif