Commit 8d59dbcf0d8302fa8798ae284c7cf145b6109008
1 parent
99d54a6c
Exists in
master
and in
3 other branches
Adding max witdh & height as read-only properties.
Showing
1 changed file
with
14 additions
and
0 deletions
Show diff stats
src/core/properties/unsigned.c
| @@ -66,6 +66,20 @@ | @@ -66,6 +66,20 @@ | ||
| 66 | }, | 66 | }, |
| 67 | 67 | ||
| 68 | { | 68 | { |
| 69 | + "max_width", // Property name. | ||
| 70 | + N_( "Maximum screen width in columns" ), // Property description. | ||
| 71 | + lib3270_get_max_width, // Get value. | ||
| 72 | + NULL // Set value. | ||
| 73 | + }, | ||
| 74 | + | ||
| 75 | + { | ||
| 76 | + "max_height", // Property name. | ||
| 77 | + N_( "Maximum screen height in rows" ), // Property description. | ||
| 78 | + lib3270_get_max_height, // Get value. | ||
| 79 | + NULL // Set value. | ||
| 80 | + }, | ||
| 81 | + | ||
| 82 | + { | ||
| 69 | "length", // Property name. | 83 | "length", // Property name. |
| 70 | N_( "Screen buffer length in bytes" ), // Property description. | 84 | N_( "Screen buffer length in bytes" ), // Property description. |
| 71 | lib3270_get_length, // Get value. | 85 | lib3270_get_length, // Get value. |