44 #ifndef SGL_HEADLESS_MODE 52 #endif // SGL_HEADLESS_MODE 65 bool getConsoleClearEnabled();
71 int getConsoleCloseOperation();
79 bool getConsoleEcho();
85 bool getConsoleEnabled();
93 bool getConsoleEventOnClose();
99 bool getConsoleExitProgramOnClose();
111 string getConsoleFont();
116 double getConsoleHeight();
121 #ifndef SGL_HEADLESS_MODE 123 #endif // SGL_HEADLESS_MODE 129 bool getConsoleLocationSaved();
136 bool getConsolePrintExceptions();
144 bool getConsoleSettingsLocked();
149 #ifndef SGL_HEADLESS_MODE 151 #endif // SGL_HEADLESS_MODE 156 double getConsoleWidth();
165 #ifndef SGL_HEADLESS_MODE 166 ::sgl::GConsoleWindow* getConsoleWindow();
167 #endif // SGL_HEADLESS_MODE 172 string getConsoleWindowTitle();
180 void initializeQtGraphicalConsole();
183 extern void pause(
double milliseconds);
192 void setConsoleClearEnabled(
bool value);
197 void setConsoleCloseOperation(
int op);
205 void setConsoleEcho(
bool echo);
212 void setConsoleErrorColor(
const string& color);
220 void setConsoleEventOnClose(
bool eventOnClose);
226 void setConsoleExitProgramOnClose(
bool exitOnClose);
242 void setConsoleFont(
const string& font);
248 void setConsoleLocation(
double x,
double y);
254 void setConsoleLocationSaved(
bool value);
261 void setConsoleOutputColor(
const string& color);
270 void setConsoleSettingsLocked(
bool value);
275 void setConsoleSize(
double width,
double height);
280 void setConsoleWindowTitle(
const string& title);
285 void shutdownConsole();
299 #ifndef __DONT_ENABLE_QT_GRAPHICAL_CONSOLE 301 extern void setConsoleEnabled(
bool);
305 #ifndef QtConsoleInitializer_created 306 #define QtConsoleInitializer_created 310 class QtConsoleInitializer_private {
318 QtConsoleInitializer_private() {
319 setConsoleEnabled(
true);
326 static QtConsoleInitializer_private __qt_console_init;
327 #endif // QtConsoleInitializer_created 331 #endif // __DONT_ENABLE_QT_GRAPHICAL_CONSOLE
This struct contains real-valued width and height fields.
Definition: gtypes.h:43
This struct contains real-valued x and y fields.
Definition: gtypes.h:202