OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
uimetric.cpp
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// Borland WinSys Library
3// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
4//
5/// \file
6/// Implementation of TUIMetric class.
7//----------------------------------------------------------------------------
8#include <owl/pch.h>
9#include <owl/defs.h>
10#include <owl/uimetric.h>
11#include <owl/system.h>
12
13namespace owl {
14
15//
16// System metric constant objects
17//
18const TUIMetric TUIMetric::CxScreen = 0;
19const TUIMetric TUIMetric::CyScreen = 1;
20const TUIMetric TUIMetric::CxVScroll = 2;
21const TUIMetric TUIMetric::CyHScroll = 3;
22const TUIMetric TUIMetric::CyCaption = 4;
23const TUIMetric TUIMetric::CxBorder = 5;
24const TUIMetric TUIMetric::CyBorder = 6;
25const TUIMetric TUIMetric::CxFixedFrame = 7;
26const TUIMetric TUIMetric::CyFixedFrame = 8;
27const TUIMetric TUIMetric::CyVThumb = 9;
28const TUIMetric TUIMetric::CxHThumb = 10;
29const TUIMetric TUIMetric::CxIcon = 11;
30const TUIMetric TUIMetric::CyIcon = 12;
31const TUIMetric TUIMetric::CxCursor = 13;
32const TUIMetric TUIMetric::CyCursor = 14;
33const TUIMetric TUIMetric::CyMenu = 15;
34const TUIMetric TUIMetric::CxFullScreen = 16;
35const TUIMetric TUIMetric::CyFullScreen = 17;
36const TUIMetric TUIMetric::CyKanjiWindow = 18;
37const TUIMetric TUIMetric::MousePresent = 19;
38const TUIMetric TUIMetric::CyVScroll = 20;
39const TUIMetric TUIMetric::CxHScroll = 21;
40const TUIMetric TUIMetric::Debug = 22;
41const TUIMetric TUIMetric::SwapButton = 23;
42const TUIMetric TUIMetric::Reserved1 = 24;
43const TUIMetric TUIMetric::Reserved2 = 25;
44const TUIMetric TUIMetric::Reserved3 = 26;
45const TUIMetric TUIMetric::Reserved4 = 27;
46const TUIMetric TUIMetric::CxMin = 28;
47const TUIMetric TUIMetric::CyMin = 29;
48const TUIMetric TUIMetric::CxSize = 30;
49const TUIMetric TUIMetric::CySize = 31;
50const TUIMetric TUIMetric::CxSizeFrame = 32;
51const TUIMetric TUIMetric::CySizeFrame = 33;
52const TUIMetric TUIMetric::CxMinTrack = 34;
53const TUIMetric TUIMetric::CyMinTrack = 35;
54const TUIMetric TUIMetric::CxDoubleClk = 36;
55const TUIMetric TUIMetric::CyDoubleClk = 37;
56const TUIMetric TUIMetric::CxIconSpacing = 38;
57const TUIMetric TUIMetric::CyIconSpacing = 39;
58const TUIMetric TUIMetric::MenuDropAlignment = 40;
59const TUIMetric TUIMetric::PenWindows = 41;
60const TUIMetric TUIMetric::DbcsEnabled = 42;
61const TUIMetric TUIMetric::CMouseButtons = 43;
62const TUIMetric TUIMetric::Secure = 44;
63const TUIMetric TUIMetric::CxEdge = 45;
64const TUIMetric TUIMetric::CyEdge = 46;
65const TUIMetric TUIMetric::CxMinSpacing = 47;
66const TUIMetric TUIMetric::CyMinSpacing = 48;
67const TUIMetric TUIMetric::CxSmIcon = 49;
68const TUIMetric TUIMetric::CySmIcon = 50;
69const TUIMetric TUIMetric::CySmCaption = 51;
70const TUIMetric TUIMetric::CxSmSize = 52;
71const TUIMetric TUIMetric::CySmSize = 53;
72const TUIMetric TUIMetric::CxMenuSize = 54;
73const TUIMetric TUIMetric::CyMenuSize = 55;
74const TUIMetric TUIMetric::Arrange = 56;
75const TUIMetric TUIMetric::CxMinimized = 57;
76const TUIMetric TUIMetric::CyMinimized = 58;
77const TUIMetric TUIMetric::CxMaxTrack = 59;
78const TUIMetric TUIMetric::CyMaxTrack = 60;
79const TUIMetric TUIMetric::CxMaximized = 61;
80const TUIMetric TUIMetric::CyMaximized = 62;
81const TUIMetric TUIMetric::ShowSounds = 63;
82const TUIMetric TUIMetric::KeyboardPref = 64;
83const TUIMetric TUIMetric::HighContrast = 65;
84const TUIMetric TUIMetric::ScreenReader = 66;
85const TUIMetric TUIMetric::CleanBoot = 67;
86const TUIMetric TUIMetric::CxDrag = 68;
87const TUIMetric TUIMetric::CyDrag = 69;
88const TUIMetric TUIMetric::Network = 70;
89const TUIMetric TUIMetric::CxMenuCheck = 71;
90const TUIMetric TUIMetric::CyMenuCheck = 72;
91const TUIMetric TUIMetric::SlowMachine = 73;
92const TUIMetric TUIMetric::MideastEnabled = 74;
93const TUIMetric TUIMetric::MouseWheelPresent = 75; // only NT or WinVer > 5.0
94//#if(WINVER >= 0x0500)
95const TUIMetric TUIMetric::XVirtualScreen = 76;
96const TUIMetric TUIMetric::YVirtualScreen = 77;
97const TUIMetric TUIMetric::CxVirtualScreen = 78;
98const TUIMetric TUIMetric::CyVirtualScreen = 79;
99const TUIMetric TUIMetric::CMonitors = 80;
100const TUIMetric TUIMetric::SameDisplayFormat = 81;
101//#endif /* WINVER >= 0x0500 */
102//#if (WINVER < 0x0500) && (!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0400))
103const TUIMetric TUIMetric::CMetrics = 83;
104//#else
105//const TUIMetric TUIMetric::CMetrics = 83
106//#endif
107
108} // OWL namespace
109/* ========================================================================== */
static const TUIMetric XVirtualScreen
Definition uimetric.h:115
static const TUIMetric Secure
Definition uimetric.h:78
static const TUIMetric CMonitors
Definition uimetric.h:119
static const TUIMetric CxSize
Definition uimetric.h:64
static const TUIMetric MouseWheelPresent
Definition uimetric.h:113
static const TUIMetric CxScreen
Definition uimetric.h:34
static const TUIMetric CyVThumb
Definition uimetric.h:43
static const TUIMetric CyMenuSize
Definition uimetric.h:89
static const TUIMetric CyEdge
Definition uimetric.h:80
static const TUIMetric CyHScroll
Definition uimetric.h:37
static const TUIMetric CyCursor
Definition uimetric.h:48
static const TUIMetric CyBorder
Definition uimetric.h:40
static const TUIMetric CxMenuSize
Definition uimetric.h:88
static const TUIMetric CyCaption
Definition uimetric.h:38
static const TUIMetric CySmIcon
Definition uimetric.h:84
static const TUIMetric CxMinimized
Definition uimetric.h:91
static const TUIMetric HighContrast
Definition uimetric.h:99
static const TUIMetric CyScreen
Definition uimetric.h:35
static const TUIMetric Reserved2
Definition uimetric.h:59
static const TUIMetric MideastEnabled
Definition uimetric.h:108
static const TUIMetric Reserved4
Definition uimetric.h:61
static const TUIMetric CySize
Definition uimetric.h:65
static const TUIMetric PenWindows
Definition uimetric.h:75
static const TUIMetric CxDrag
Definition uimetric.h:102
static const TUIMetric Debug
Definition uimetric.h:56
static const TUIMetric MenuDropAlignment
Definition uimetric.h:74
static const TUIMetric CyFixedFrame
Definition uimetric.h:42
static const TUIMetric CxMenuCheck
Definition uimetric.h:105
static const TUIMetric CxVirtualScreen
Definition uimetric.h:117
static const TUIMetric Network
Definition uimetric.h:104
static const TUIMetric CxBorder
Definition uimetric.h:39
static const TUIMetric CxMaxTrack
Definition uimetric.h:93
static const TUIMetric Arrange
Definition uimetric.h:90
static const TUIMetric CySizeFrame
Definition uimetric.h:67
static const TUIMetric CyFullScreen
Definition uimetric.h:51
static const TUIMetric CyDoubleClk
Definition uimetric.h:71
static const TUIMetric CyMaxTrack
Definition uimetric.h:94
static const TUIMetric CxFixedFrame
Definition uimetric.h:41
static const TUIMetric CyKanjiWindow
Definition uimetric.h:52
static const TUIMetric CxEdge
Definition uimetric.h:79
static const TUIMetric CyVScroll
Definition uimetric.h:54
static const TUIMetric CMouseButtons
Definition uimetric.h:77
static const TUIMetric CxMaximized
Definition uimetric.h:95
static const TUIMetric CySmCaption
Definition uimetric.h:85
static const TUIMetric CxMinTrack
Definition uimetric.h:68
static const TUIMetric Reserved1
Definition uimetric.h:58
static const TUIMetric CyIconSpacing
Definition uimetric.h:73
static const TUIMetric CMetrics
Definition uimetric.h:123
static const TUIMetric CyVirtualScreen
Definition uimetric.h:118
static const TUIMetric CxSizeFrame
Definition uimetric.h:66
static const TUIMetric CxCursor
Definition uimetric.h:47
static const TUIMetric CyMinimized
Definition uimetric.h:92
static const TUIMetric CyIcon
Definition uimetric.h:46
static const TUIMetric Reserved3
Definition uimetric.h:60
static const TUIMetric YVirtualScreen
Definition uimetric.h:116
static const TUIMetric KeyboardPref
Definition uimetric.h:98
static const TUIMetric SwapButton
Definition uimetric.h:57
static const TUIMetric CySmSize
Definition uimetric.h:87
static const TUIMetric CyDrag
Definition uimetric.h:103
static const TUIMetric CxIconSpacing
Definition uimetric.h:72
static const TUIMetric MousePresent
Definition uimetric.h:53
static const TUIMetric DbcsEnabled
Definition uimetric.h:76
static const TUIMetric SameDisplayFormat
Definition uimetric.h:120
static const TUIMetric CxVScroll
Definition uimetric.h:36
static const TUIMetric CxFullScreen
Definition uimetric.h:50
static const TUIMetric CyMinTrack
Definition uimetric.h:69
static const TUIMetric CyMaximized
Definition uimetric.h:96
static const TUIMetric CxDoubleClk
Definition uimetric.h:70
static const TUIMetric CyMenuCheck
Definition uimetric.h:106
static const TUIMetric CyMenu
Definition uimetric.h:49
static const TUIMetric ShowSounds
Definition uimetric.h:97
static const TUIMetric CyMin
Definition uimetric.h:63
static const TUIMetric CyMinSpacing
Definition uimetric.h:82
static const TUIMetric CxIcon
Definition uimetric.h:45
static const TUIMetric CleanBoot
Definition uimetric.h:101
static const TUIMetric ScreenReader
Definition uimetric.h:100
static const TUIMetric CxMinSpacing
Definition uimetric.h:81
static const TUIMetric CxMin
Definition uimetric.h:62
static const TUIMetric CxHScroll
Definition uimetric.h:55
static const TUIMetric CxSmSize
Definition uimetric.h:86
static const TUIMetric CxSmIcon
Definition uimetric.h:83
static const TUIMetric SlowMachine
Definition uimetric.h:107
static const TUIMetric CxHThumb
Definition uimetric.h:44
Object Windows Library (OWLNext Core)
Definition animctrl.h:22
General definitions used by all ObjectWindows programs.
Definition of TSystem, a system information provider class.
Definition of TUIMetric, a UI metrics provider class.