1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS Console Server DLL 4 * FILE: win32ss/user/winsrv/consrv/frontends/gui/guisettings.h 5 * PURPOSE: GUI front-end settings management 6 * PROGRAMMERS: Johannes Anderwald 7 * Hermes Belusca-Maito (hermes.belusca@sfr.fr) 8 * 9 * NOTE: Also used by console.dll 10 */ 11 12 #pragma once 13 14 /* STRUCTURES *****************************************************************/ 15 16 typedef struct _GUI_CONSOLE_INFO 17 { 18 WCHAR FaceName[LF_FACESIZE]; 19 ULONG FontWeight; 20 ULONG FontFamily; 21 COORD FontSize; 22 23 BOOL FullScreen; /* Whether the console is displayed in full-screen or windowed mode */ 24 // ULONG HardwareState; /* _GDI_MANAGED, _DIRECT */ 25 26 WORD ShowWindow; 27 BOOL AutoPosition; 28 POINT WindowOrigin; 29 } GUI_CONSOLE_INFO, *PGUI_CONSOLE_INFO; 30 31 #ifndef CONSOLE_H__ // If we aren't included by console.dll 32 33 #include "conwnd.h" 34 35 /* FUNCTIONS ******************************************************************/ 36 37 BOOL GuiConsoleReadUserSettings(IN OUT PGUI_CONSOLE_INFO TermInfo); 38 BOOL GuiConsoleWriteUserSettings(IN OUT PGUI_CONSOLE_INFO TermInfo); 39 VOID GuiConsoleGetDefaultSettings(IN OUT PGUI_CONSOLE_INFO TermInfo); 40 41 VOID GuiConsoleShowConsoleProperties(PGUI_CONSOLE_DATA GuiData, 42 BOOL Defaults); 43 VOID GuiApplyUserSettings(PGUI_CONSOLE_DATA GuiData, 44 HANDLE hClientSection); 45 46 #endif 47 48 /* EOF */ 49