X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..78603ad208c39cfd20b9e39fb760851148120407:/docs/latex/wx/settings.tex?ds=sidebyside diff --git a/docs/latex/wx/settings.tex b/docs/latex/wx/settings.tex index 2882173e62..f030a46b6b 100644 --- a/docs/latex/wx/settings.tex +++ b/docs/latex/wx/settings.tex @@ -18,16 +18,16 @@ and user interface element sizes. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxSystemSettings::wxSystemSettings} +\membersection{wxSystemSettings::wxSystemSettings}\label{wxsystemsettingsctor} \func{}{wxSystemSettings}{\void} Default constructor. You don't need to create an instance of wxSystemSettings since all of its functions are static. -\membersection{wxSystemSettings::GetSystemColour}\label{wxsystemsettingsgetsystemcolour} +\membersection{wxSystemSettings::GetColour}\label{wxsystemsettingsgetcolour} -\func{static wxColour}{GetSystemColour}{\param{int}{ index}} +\func{static wxColour}{GetColour}{\param{wxSystemColour}{ index}} Returns a system colour. @@ -56,7 +56,7 @@ Returns a system colour. \twocolitem{{\bf wxSYS\_COLOUR\_BTNTEXT}}{Text on push buttons.} \twocolitem{{\bf wxSYS\_COLOUR\_INACTIVECAPTIONTEXT}}{Colour of text in active captions.} \twocolitem{{\bf wxSYS\_COLOUR\_BTNHIGHLIGHT}}{Highlight colour for buttons (same as wxSYS\_COLOUR\_3DHILIGHT).} -\twocolitem{{\bf wxSYS\_COLOUR\_3DDKSHADOW}}{Dark shadow for three-dimensional dispaly elements.} +\twocolitem{{\bf wxSYS\_COLOUR\_3DDKSHADOW}}{Dark shadow for three-dimensional display elements.} \twocolitem{{\bf wxSYS\_COLOUR\_3DLIGHT}}{Light colour for three-dimensional display elements.} \twocolitem{{\bf wxSYS\_COLOUR\_INFOTEXT}}{Text colour for tooltip controls.} \twocolitem{{\bf wxSYS\_COLOUR\_INFOBK}}{Background colour for tooltip controls.} @@ -69,11 +69,11 @@ Returns a system colour. \end{twocollist} \pythonnote{This static method is implemented in Python as a -standalone function named \tt{wxSystemSettings_GetSystemColour}} +standalone function named {\tt wxSystemSettings\_GetColour}} -\membersection{wxSystemSettings::GetSystemFont}\label{wxsystemsettingsgetsystemfont} +\membersection{wxSystemSettings::GetFont}\label{wxsystemsettingsgetfont} -\func{static wxFont}{GetSystemFont}{\param{int}{ index}} +\func{static wxFont}{GetFont}{\param{wxSystemFont}{ index}} Returns a system font. @@ -86,18 +86,21 @@ Returns a system font. \twocolitem{{\bf wxSYS\_ANSI\_VAR\_FONT}}{Windows variable-pitch (proportional) font.} \twocolitem{{\bf wxSYS\_SYSTEM\_FONT}}{System font.} \twocolitem{{\bf wxSYS\_DEVICE\_DEFAULT\_FONT}}{Device-dependent font (Windows NT only).} -\twocolitem{{\bf wxSYS\_DEFAULT\_GUI\_FONT}}{Default font for user interface objects such as menus and dialog boxes. -Not available in versions of Windows earlier than Windows 95 or Windows NT 4.0.} +\twocolitem{{\bf wxSYS\_DEFAULT\_GUI\_FONT}}{Default font for user interface +objects such as menus and dialog boxes. Note that with modern GUIs nothing +guarantees that the same font is used for all GUI elements, so some controls +might use a different font by default.} \end{twocollist} \pythonnote{This static method is implemented in Python as a -standalone function named \tt{wxSystemSettings_GetSystemFont}} +standalone function named {\tt wxSystemSettings\_GetFont}} -\membersection{wxSystemSettings::GetSystemMetric}\label{wxsystemsettingsgetsystemmetric} +\membersection{wxSystemSettings::GetMetric}\label{wxsystemsettingsgetmetric} -\func{static int}{GetSystemMetric}{\param{int}{ index}} +\func{static int}{GetMetric}{\param{wxSystemMetric}{ index}} -Returns a system metric. +Returns the value of a system metric, or -1 if the metric is not +supported on the current platform. {\it index} can be one of: @@ -150,5 +153,20 @@ where it would otherwise present the information only in audible form; zero othe \end{twocollist} \pythonnote{This static method is implemented in Python as a -standalone function named \tt{wxSystemSettings_GetSystemMetric}} +standalone function named {\tt wxSystemSettings\_GetMetric}} + +\membersection{wxSystemSettings::GetScreenType}\label{wxsystemsettingsgetscreentype} + +\func{static wxSystemScreenType}{GetScreenType}{\void} + +Returns the screen type. The return value is one of: + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf wxSYS_SCREEN\_NONE}}{Undefined screen type} +\twocolitem{{\bf wxSYS_SCREEN\_TINY}}{Tiny screen, less than 320x240} +\twocolitem{{\bf wxSYS_SCREEN\_PDA}}{PDA screen, 320x240 or more but less than 640x480} +\twocolitem{{\bf wxSYS_SCREEN\_SMALL}}{Small screen, 640x480 or more but less than 800x600} +\twocolitem{{\bf wxSYS_SCREEN\_DESKTOP}}{Desktop screen, 800x600 or more} +\end{twocollist}