mirror of
https://github.com/rricharz/Tek4010.git
synced 2026-01-11 23:53:16 +00:00
Fixed typos
This commit is contained in:
parent
515a4dc625
commit
d9d62d5dfb
@ -193,7 +193,7 @@ void tek4010_clicked(int x, int y)
|
||||
}
|
||||
|
||||
void tek4010_escapeCodeHandler(cairo_t *cr, cairo_t *cr2, int ch)
|
||||
// handle escape sequencies, see 4014 user manual, table page G-1
|
||||
// handle escape sequences, see 4014 user manual, table page G-1
|
||||
// codes identical for all modes are handled elsewhere
|
||||
{
|
||||
if (DEBUG) printf("Escape %02X, savemode=%d\n",ch,savemode);
|
||||
@ -500,7 +500,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first)
|
||||
|
||||
if ((mode == 3) && (tag == 3)) {
|
||||
// this overwrites the extra data byte of the 4014 for the
|
||||
// persistent mode ccordinates and stores it for further use
|
||||
// persistent mode coordinates and stores it for further use
|
||||
mode = 2;
|
||||
xy4014 = yl;
|
||||
if (DEBUG)
|
||||
@ -514,7 +514,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first)
|
||||
|
||||
if ((mode == 7) && (tag == 3)) {
|
||||
// this overwrites the extra data byte of the 4014 for the
|
||||
// persistent mode ccordinates and stores it for further use
|
||||
// persistent mode coordinates and stores it for further use
|
||||
mode = 6;
|
||||
xy4014 = yl;
|
||||
if (DEBUG)
|
||||
@ -666,7 +666,7 @@ void tek4010_draw(cairo_t *cr, cairo_t *cr2, int first)
|
||||
if (ch == 29) mode = 1;
|
||||
break;
|
||||
case 0: // handle ALPHA mode; 4014 user manual, table page G-1
|
||||
// some characters are indentical for all modes and handled elsewhere
|
||||
// some characters are identical for all modes and handled elsewhere
|
||||
switch (ch) {
|
||||
case 0: break;
|
||||
case 8: // backspace
|
||||
|
||||
@ -505,7 +505,7 @@ int tube_on_timer_event()
|
||||
// is called every TIMER-INTERVAL milliseconds
|
||||
// if the function returns 1, the window is redrawn by calling applicatin_draw
|
||||
{
|
||||
// if there is a char available on the imput stream
|
||||
// if there is a char available on the input stream
|
||||
// or there is still a bright spot, return 1 to ask for
|
||||
// one more redraw
|
||||
|
||||
@ -554,7 +554,7 @@ int tube_clicked(int button, int x, int y)
|
||||
}
|
||||
|
||||
void tube_quit()
|
||||
// is called if the main window is quit bevore the tek4010 exits
|
||||
// is called if the main window is quit before the tek4010 exits
|
||||
// put any code here which needs to be called on exit
|
||||
{
|
||||
pclose(getData);
|
||||
@ -572,7 +572,7 @@ void tube_doCursor(cairo_t *cr2)
|
||||
}
|
||||
|
||||
void tube_clearPersistent(cairo_t *cr, cairo_t *cr2)
|
||||
// clear the persistant surface
|
||||
// clear the persistent surface
|
||||
// flash using the second surface
|
||||
{
|
||||
cairo_set_source_rgb(cr, 0.0, BLACK_INTENSITY, 0.0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user