X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fconsole.h;h=d12697f6e66d54579955d35b21bdad66dd254070;hp=06fa603c495a7f99950492088d32ae4b8d2d4598;hb=41ea778b16825c3c701c6600a76eaf628831f028;hpb=21bf2db4f8600a576dc8d6bfa82bb83e64d8424f diff --git a/source/console.h b/source/console.h index 06fa603..d12697f 100644 --- a/source/console.h +++ b/source/console.h @@ -39,6 +39,11 @@ public: */ void set_line_buffer(bool); + /** + Retrieves the size of the Console. Can only be used on an output Console. + */ + void get_size(unsigned &rows, unsigned &cols); + virtual Handle get_event_handle(); protected: virtual unsigned do_write(const char *, unsigned);