aboutsummaryrefslogtreecommitdiff
path: root/src/cRender.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-20 12:32:04 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-20 12:32:04 +0100
commit58f4e95113ecbb745161d5d520b4afb00b0e5abf (patch)
tree862aebbbabd7f4331027fb6204196af23faa5ea9 /src/cRender.h
parent9bd58022bff2b0cb5f52112cfa2058c2b2fd4154 (diff)
downloadtermgl-58f4e95113ecbb745161d5d520b4afb00b0e5abf.tar.gz
Remove obsolete features, cleanup
Diffstat (limited to 'src/cRender.h')
-rw-r--r--src/cRender.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cRender.h b/src/cRender.h
index 6aa4cce..41dd0c6 100644
--- a/src/cRender.h
+++ b/src/cRender.h
@@ -16,6 +16,7 @@
typedef uint32_t WORD;
#elif _WIN32
+ #error "Not ported"
#include <Windows.h>
#else
#error "Platforn not supported"
@@ -92,7 +93,7 @@ public:
* Resizes console window for Windows
* Sets Size to Console Window Size for Linux. Writes Error for _sx or _sy smaller than Screen. Get by getLastError()
*/
- cRender(char _backound, WORD _color, unsigned int _sx, unsigned int _sy);
+ cRender(char _backound, WORD _color);
virtual ~cRender();
@@ -142,8 +143,12 @@ public:
*/
void setTargetFPS(unsigned int _fps);
+ /** Deactivates automatic screen size detection and forces screen size to _size
+ */
void forceScreenSize(sPos _size);
+ /** Disable Output
+ */
void mute(bool _mute);
protected: