1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-02-26 08:53:35 +00:00

version 3.0.1, see versions.txt

This commit is contained in:
¨Rene Richarz
2019-05-04 19:52:44 +02:00
parent deacaf5837
commit f0e8f5c1f5
2 changed files with 3 additions and 3 deletions

BIN
tek4010

Binary file not shown.

6
tube.c
View File

@@ -381,7 +381,7 @@ int tube_clicked(int button, int x, int y)
{
if (argARDS) return 0;
if (button == 1) {
tek4010_clicked(x, y);
tek4010_clicked(x, windowHeight - y);
return 1;
}
return 0;
@@ -548,8 +548,8 @@ void tube_crosshair(cairo_t *cr, cairo_t *cr2)
cairo_set_source_rgb(cr2, 0.0, WRITE_TROUGH_INTENSITY, 0.0);
cairo_move_to(cr2, tube_x0, 0);
cairo_line_to(cr2, tube_x0, windowHeight);
cairo_move_to(cr2, 0, tube_y0);
cairo_line_to(cr2, windowWidth, tube_y0);
cairo_move_to(cr2, 0, windowHeight - tube_y0);
cairo_line_to(cr2, windowWidth, windowHeight - tube_y0);
cairo_stroke (cr2);
}