Commit e86fe91590d4c7c237aebeef9bf257e515d8a576
1 parent
2f02e4cd
Exists in
master
and in
1 other branch
Windows - Incluindo save/restore do estado da janela no registry
Showing
1 changed file
with
2 additions
and
19 deletions
Show diff stats
| @@ -502,9 +502,9 @@ void v3270_draw_oia(cairo_t *cr, H3270 *host, int row, int cols, struct v3270_me | @@ -502,9 +502,9 @@ void v3270_draw_oia(cairo_t *cr, H3270 *host, int row, int cols, struct v3270_me | ||
| 502 | { V3270_OIA_TIMER, setup_timer_position }, | 502 | { V3270_OIA_TIMER, setup_timer_position }, |
| 503 | { V3270_OIA_SPINNER, setup_spinner_position }, | 503 | { V3270_OIA_SPINNER, setup_spinner_position }, |
| 504 | { V3270_OIA_LUNAME, setup_luname_position }, | 504 | { V3270_OIA_LUNAME, setup_luname_position }, |
| 505 | -#ifdef X3270_PRINTER | 505 | +#ifdef HAVE_PRINTER |
| 506 | { V3270_OIA_PRINTER, setup_single_char_right }, | 506 | { V3270_OIA_PRINTER, setup_single_char_right }, |
| 507 | -#endif // X3270_PRINTER | 507 | +#endif // HAVE_PRINTER |
| 508 | { V3270_OIA_SCRIPT, setup_single_char_right }, | 508 | { V3270_OIA_SCRIPT, setup_single_char_right }, |
| 509 | { V3270_OIA_INSERT, setup_insert_position }, | 509 | { V3270_OIA_INSERT, setup_insert_position }, |
| 510 | { V3270_OIA_TYPEAHEAD, setup_single_char_right }, | 510 | { V3270_OIA_TYPEAHEAD, setup_single_char_right }, |
| @@ -1047,27 +1047,10 @@ void v3270_update_oia(H3270 *session, LIB3270_FLAG id, unsigned char on) | @@ -1047,27 +1047,10 @@ void v3270_update_oia(H3270 *session, LIB3270_FLAG id, unsigned char on) | ||
| 1047 | cairo_destroy(cr); | 1047 | cairo_destroy(cr); |
| 1048 | break; | 1048 | break; |
| 1049 | 1049 | ||
| 1050 | -/* | ||
| 1051 | - case LIB3270_FLAG_SECURE: | ||
| 1052 | - cr = set_update_region(terminal,&r,V3270_OIA_SSL); | ||
| 1053 | - v3270_draw_ssl_status(cr,terminal->host,&terminal->metrics,terminal->color,r); | ||
| 1054 | - gtk_widget_queue_draw_area(GTK_WIDGET(terminal),r->x,r->y,r->width,r->height); | ||
| 1055 | - cairo_destroy(cr); | ||
| 1056 | - break; | ||
| 1057 | -*/ | ||
| 1058 | - | ||
| 1059 | case LIB3270_FLAG_TYPEAHEAD: | 1050 | case LIB3270_FLAG_TYPEAHEAD: |
| 1060 | update_text_field(terminal,on,V3270_OIA_TYPEAHEAD,"T"); | 1051 | update_text_field(terminal,on,V3270_OIA_TYPEAHEAD,"T"); |
| 1061 | break; | 1052 | break; |
| 1062 | 1053 | ||
| 1063 | -/* | ||
| 1064 | -#if defined(LIB3270_FLAG_PRINTER) && defined(X3270_PRINTER) | ||
| 1065 | - case LIB3270_FLAG_PRINTER: | ||
| 1066 | - update_text_field(terminal,on,V3270_OIA_PRINTER,"P"); | ||
| 1067 | - break; | ||
| 1068 | -#endif // LIB3270_FLAG_PRINTER | ||
| 1069 | -*/ | ||
| 1070 | - | ||
| 1071 | default: | 1054 | default: |
| 1072 | return; | 1055 | return; |
| 1073 | } | 1056 | } |