From 8d59dbcf0d8302fa8798ae284c7cf145b6109008 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 10 Sep 2019 12:46:09 -0300 Subject: [PATCH] Adding max witdh & height as read-only properties. --- src/core/properties/unsigned.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) diff --git a/src/core/properties/unsigned.c b/src/core/properties/unsigned.c index 573fda0..8be956c 100644 --- a/src/core/properties/unsigned.c +++ b/src/core/properties/unsigned.c @@ -66,6 +66,20 @@ }, { + "max_width", // Property name. + N_( "Maximum screen width in columns" ), // Property description. + lib3270_get_max_width, // Get value. + NULL // Set value. + }, + + { + "max_height", // Property name. + N_( "Maximum screen height in rows" ), // Property description. + lib3270_get_max_height, // Get value. + NULL // Set value. + }, + + { "length", // Property name. N_( "Screen buffer length in bytes" ), // Property description. lib3270_get_length, // Get value. -- libgit2 0.21.2