Commit feec7d0ed58bb0e00debc3358ad374f460d63e4c
1 parent
7f81d74b
Exists in
master
and in
1 other branch
Isolando callbacks da estrutura principal.
Showing
1 changed file
with
21 additions
and
21 deletions
Show diff stats
widget.c
... | ... | @@ -930,27 +930,27 @@ static void v3270_init(v3270 *widget) |
930 | 930 | |
931 | 931 | widget->host->user_data = widget; |
932 | 932 | |
933 | - widget->host->update = v3270_update_char; | |
934 | - widget->host->changed = changed; | |
935 | - widget->host->set_timer = set_timer; | |
936 | - | |
937 | - widget->host->set_selection = set_selection; | |
938 | - widget->host->update_selection = update_selection; | |
939 | - | |
940 | - widget->host->update_luname = update_luname; | |
941 | - widget->host->configure = update_screen_size; | |
942 | - widget->host->update_status = update_message; | |
943 | - widget->host->update_cursor = v3270_update_cursor; | |
944 | - widget->host->update_toggle = update_toggle; | |
945 | - widget->host->update_oia = v3270_update_oia; | |
946 | - widget->host->cursor = select_cursor; | |
947 | - widget->host->update_connect = update_connect; | |
948 | - widget->host->update_model = update_model; | |
949 | - widget->host->changed = changed; | |
950 | - widget->host->ctlr_done = ctlr_done; | |
951 | - widget->host->message = message; | |
952 | - widget->host->update_ssl = v3270_update_ssl; | |
953 | - widget->host->print = emit_print_signal; | |
933 | + widget->host->cbk.update = v3270_update_char; | |
934 | + widget->host->cbk.changed = changed; | |
935 | + widget->host->cbk.set_timer = set_timer; | |
936 | + | |
937 | + widget->host->cbk.set_selection = set_selection; | |
938 | + widget->host->cbk.update_selection = update_selection; | |
939 | + | |
940 | + widget->host->cbk.update_luname = update_luname; | |
941 | + widget->host->cbk.configure = update_screen_size; | |
942 | + widget->host->cbk.update_status = update_message; | |
943 | + widget->host->cbk.update_cursor = v3270_update_cursor; | |
944 | + widget->host->cbk.update_toggle = update_toggle; | |
945 | + widget->host->cbk.update_oia = v3270_update_oia; | |
946 | + widget->host->cbk.cursor = select_cursor; | |
947 | + widget->host->cbk.update_connect = update_connect; | |
948 | + widget->host->cbk.update_model = update_model; | |
949 | + widget->host->cbk.changed = changed; | |
950 | + widget->host->cbk.ctlr_done = ctlr_done; | |
951 | + widget->host->cbk.message = message; | |
952 | + widget->host->cbk.update_ssl = v3270_update_ssl; | |
953 | + widget->host->cbk.print = emit_print_signal; | |
954 | 954 | |
955 | 955 | |
956 | 956 | // Reset timer | ... | ... |