Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5fc131ef
Commit
5fc131ef
authored
Jan 27, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Feb 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.ui.viewmanagement.idl file.
parent
4318b9db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
168 additions
and
0 deletions
+168
-0
Makefile.in
include/Makefile.in
+1
-0
windows.ui.viewmanagement.idl
include/windows.ui.viewmanagement.idl
+167
-0
No files found.
include/Makefile.in
View file @
5fc131ef
...
...
@@ -826,6 +826,7 @@ SOURCES = \
windows.system.threading.idl
\
windows.system.userprofile.idl
\
windows.ui.idl
\
windows.ui.viewmanagement.idl
\
windowscontracts.idl
\
windowsx.h
\
wine/afd.h
\
...
...
include/windows.ui.viewmanagement.idl
0 → 100644
View file @
5fc131ef
/*
*
Copyright
(
C
)
2023
Mohamad
Al
-
Jaf
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"inspectable.idl"
;
import
"asyncinfo.idl"
;
import
"eventtoken.idl"
;
import
"windowscontracts.idl"
;
import
"windows.foundation.idl"
;
import
"windows.devices.enumeration.idl"
;
/*
import
"windows.phone.idl"
; */
import
"windows.ui.idl"
;
/*
import
"windows.ui.core.idl"
; */
/*
import
"windows.ui.popups.idl"
; */
/*
import
"windows.ui.windowmanagement.idl"
; */
namespace
Windows
.
UI.ViewManagement
{
typedef
enum
HandPreference
HandPreference
;
typedef
enum
UIColorType
UIColorType
;
typedef
enum
UIElementType
UIElementType
;
interface
IUISettings
;
interface
IUISettings3
;
runtimeclass
UISettings
;
declare
{
interface
Windows
.
Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings
*
,
IInspectable
*
>
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
HandPreference
{
LeftHanded
=
0
,
RightHanded
=
1
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
UIColorType
{
Background
=
0
,
Foreground
=
1
,
AccentDark3
=
2
,
AccentDark2
=
3
,
AccentDark1
=
4
,
Accent
=
5
,
AccentLight1
=
6
,
AccentLight2
=
7
,
AccentLight3
=
8
,
Complement
=
9
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
UIElementType
{
ActiveCaption
=
0
,
Background
=
1
,
ButtonFace
=
2
,
ButtonText
=
3
,
CaptionText
=
4
,
GrayText
=
5
,
Highlight
=
6
,
HighlightText
=
7
,
Hotlight
=
8
,
InactiveCaption
=
9
,
InactiveCaptionText
=
10
,
Window
=
11
,
WindowText
=
12
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
AccentColor
=
1000
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
TextHigh
=
1001
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
TextMedium
=
1002
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
TextLow
=
1003
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
TextContrastWithHigh
=
1004
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
NonTextHigh
=
1005
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
NonTextMediumHigh
=
1006
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
NonTextMedium
=
1007
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
NonTextMediumLow
=
1008
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
NonTextLow
=
1009
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
PageBackground
=
1010
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
PopupBackground
=
1011
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
OverlayOutsidePopup
=
1012
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
UI.ViewManagement.UISettings)
,
uuid
(
85361600
-
1
c63
-
4627
-
bcb1
-
3
a89e0bc9c55
)
]
interface
IUISettings
:
IInspectable
{
[
propget
]
HRESULT
HandPreference
(
[
out
,
retval
]
Windows
.
UI.ViewManagement.HandPreference
*
value
)
;
[
propget
]
HRESULT
CursorSize
(
[
out
,
retval
]
Windows
.
Foundation.Size
*
value
)
;
[
propget
]
HRESULT
ScrollBarSize
(
[
out
,
retval
]
Windows
.
Foundation.Size
*
value
)
;
[
propget
]
HRESULT
ScrollBarArrowSize
(
[
out
,
retval
]
Windows
.
Foundation.Size
*
value
)
;
[
propget
]
HRESULT
ScrollBarThumbBoxSize
(
[
out
,
retval
]
Windows
.
Foundation.Size
*
value
)
;
[
propget
]
HRESULT
MessageDuration
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
AnimationsEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
CaretBrowsingEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
CaretBlinkRate
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
CaretWidth
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
DoubleClickTime
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
MouseHoverTime
(
[
out
,
retval
]
UINT32
*
value
)
;
HRESULT
UIElementColor
(
[
in
]
Windows
.
UI.ViewManagement.UIElementType
element
,
[
out
,
retval
]
Windows
.
UI.Color
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
UI.ViewManagement.UISettings)
,
uuid
(
03021b
e4
-
5254
-
4781
-
8194
-
5168
f7d06d7b
)
]
interface
IUISettings3
:
IInspectable
{
HRESULT
GetColorValue
(
[
in
]
Windows
.
UI.ViewManagement.UIColorType
color
,
[
out
,
retval
]
Windows
.
UI.Color
*
value
)
;
[
eventadd
]
HRESULT
ColorValuesChanged
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.UI.ViewManagement.UISettings
*
,
IInspectable
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
cookie
)
;
[
eventremove
]
HRESULT
ColorValuesChanged
(
[
in
]
EventRegistrationToken
cookie
)
;
}
[
activatable
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
UISettings
{
[
default
]
interface
Windows
.
UI.ViewManagement.IUISettings;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
UI.ViewManagement.IUISettings3;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment