Wie Console Breite in Pixel ermitteln?
-
Hallo, die Windows Standard Konsole hat doch eine Breite von 80 pixel und mit welcher Funktion kann man diese Zahl ermitteln??
-
ImprovedConsole=>
// Get/Set: Window buffer size int getWndBufSizeX () const; int getWndBufSizeY () const; void setWndBufSize (int x, int y); // Get/Set: Window size int getWndSizeX () const; int getWndSizeY () const; void setWndSize (int x, int y); // Get: Maximal window size int getMaxWndSizeX () const; int getMaxWndSizeY () const;
-
BTW: Die Konsole hat eine Breite von 80 Zeichen nicht von 80 Pixel.
MfG SideWinder
-