Commit 9baca4ee05586204fae3264257005c5cbddcc24d
1 parent
4ec54f0a
Exists in
master
and in
3 other branches
Incluindo métodos para pegar o tamanho da tela.
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
screen.c
... | ... | @@ -247,6 +247,12 @@ LIB3270_EXPORT int lib3270_get_width(H3270 *h) |
247 | 247 | return h->cols; |
248 | 248 | } |
249 | 249 | |
250 | +LIB3270_EXPORT int lib3270_get_height(H3270 *h) | |
251 | +{ | |
252 | + CHECK_SESSION_HANDLE(h); | |
253 | + return h->rows; | |
254 | +} | |
255 | + | |
250 | 256 | void update_model_info(H3270 *session, int model, int cols, int rows) |
251 | 257 | { |
252 | 258 | if(model == session->model_num && session->maxROWS == rows && session->maxCOLS == cols) | ... | ... |