X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fconsole.h;h=d12697f6e66d54579955d35b21bdad66dd254070;hb=e0ebde8e33b1915860e6d253f5cefb33a8cd6ee0;hp=06fa603c495a7f99950492088d32ae4b8d2d4598;hpb=dd318ef67b0c683c8306da0abf806e99cff346e9;p=libs%2Fcore.git 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);