1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-05-03 14:40:16 +00:00

Release 1.5, -fullv option added

This commit is contained in:
Rene Richarz
2019-09-03 09:07:25 +02:00
parent 3f563f2806
commit 5cf9643ca4
6 changed files with 29 additions and 12 deletions

7
main.h
View File

@@ -1,6 +1,13 @@
#include <cairo.h>
#define BORDER 80 // we need to make an educated guess to make sure that the full vertical
// space is used if required
// if BORDER is too small, we might end up with a too large window
// if BORDER is too large, the decorated window will be smaller than possible
// with a reasonable size BORDER, both are acceptable
// ideally, one could force the window manager to use a certain aspect ratio
void tube_init(int argc, char* argv[]);
void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first);
void tek4010_clicked(int x, int y);