aboutsummaryrefslogtreecommitdiff
path: root/cRender.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-08 09:31:19 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-08 09:31:19 +0100
commit6152506560cc3642e1956bc9e2502e8ae8aa9a5b (patch)
treeae6afb24f5ad859cddf5571e687a89a12c451008 /cRender.h
parent58d83d0394b81e079bfbb767936f7449235a236d (diff)
downloadtermgl-6152506560cc3642e1956bc9e2502e8ae8aa9a5b.tar.gz
moved framebuffer setup from cInput to cRender:setAlternateBufferScreen
Diffstat (limited to 'cRender.h')
-rw-r--r--cRender.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cRender.h b/cRender.h
index 14b66dd..437ae14 100644
--- a/cRender.h
+++ b/cRender.h
@@ -125,6 +125,7 @@ protected:
cRender();
/** Sets screenbuffer size
+ * Uses sizeX, sizeY to determine previous screenbuffer size. Do NOT change sizeX, sizeY manually!!
*/
void setBufferSize(sPos _size);
@@ -170,5 +171,7 @@ private:
sPos getConsoleWindowSize();
void setConsoleCursor(bool _enable);
+
+ void setAlternateBufferScreen(bool _enable);
#endif
};