Cosmetic changes to wxSS::GetScreen:

1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
   'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-05-19 22:44:27 +00:00
parent 92432aa111
commit 41fecb4451
8 changed files with 50 additions and 49 deletions

View File

@@ -131,13 +131,14 @@ enum wxSystemFeature
};
// values for different screen designs
enum wxSystemScreen
enum wxSystemScreenType
{
wxSYS_SCREEN_NONE = 0, // not yet defined
wxSYS_SCREEN_DESKTOP, // >= 800x600
wxSYS_SCREEN_SMALL, // >= 640x480
wxSYS_SCREEN_TINY, // <
wxSYS_SCREEN_PDA, // >= 320x240
wxSYS_SCREEN_TINY // <
wxSYS_SCREEN_SMALL, // >= 640x480
wxSYS_SCREEN_DESKTOP // >= 800x600
};
// ----------------------------------------------------------------------------
@@ -183,13 +184,13 @@ public:
// Get system screen design (desktop, pda, ..) used for
// laying out various dialogs.
static wxSystemScreen GetScreen();
static wxSystemScreenType GetScreenType();
// Override default.
static void SetScreen( wxSystemScreen screen );
static void SetScreenType( wxSystemScreenType screen );
// Value
static wxSystemScreen ms_screen;
static wxSystemScreenType ms_screen;
// the backwards compatible versions of wxSystemSettingsNative functions,