Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
7 years ago
Dariusz Komosinski
cfb62859f5
Cleanup code.
7 years ago
Dariusz Komosinski
8e780cb01a
Fix managed drag and drop.
7 years ago
Dariusz Komosinski
177180c909
Clarify magic number.
7 years ago
Dariusz Komosinski
0d5af630f9
Cleanup even more.
7 years ago
Dariusz Komosinski
764e7aff01
Initial refactor of win32 window.
7 years ago
José Pedro
2cb3b5f916
Updated obsolete API usages in interfaces.
7 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
7 years ago
Steven Kirk
384ff5992a
Allow assigning null to Window.Icon.
7 years ago
Nathan Garside
7b9d32af85
Rework system decorations
7 years ago
Steven Kirk
de31680253
Make D2D backend match Skia.
Skia doesn't support getting DPI from loaded bitmaps and always returns 96. Do the same in D2D.
7 years ago
Steven Kirk
a8e75384b7
Added IImage interface.
`IImage` represents a base interface for raster and vector images. `IBitmap` now implements this interface and `DrawingContext` accepts this interface in `DrawImage`.
The interface defines a `Draw` method which introduces a level of indirection for drawing the image through the image itself.
Renamed `IDrawingContextImpl.DrawImage` to `DrawBitmap` as this only handles drawing bitmap images. `Bitmap` now calls this method directly on the platform implementation.
7 years ago
Dariusz Komosinski
58b33edc1a
Fix new mouse buttons causing boxing.
7 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
7 years ago
Benedikt Schroeder
c57bf0a1fe
Fix FormattedTextImpl with fallbacks
7 years ago
Benedikt Schroeder
ca4523f4f4
Use the right parameter for isRounded calculation
7 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
7 years ago
Dariusz Komosinski
de874b53e6
Win32 magic to properly identify left and right keys.
7 years ago
Dariusz Komosinski
e50c6f868a
Right shift is also affected.
7 years ago
Dariusz Komosinski
8c18ed016b
Unify page up and down key codes.
7 years ago
Dariusz Komosiński
be4d1ef038
Fix right ALT and CTRL being reported as left.
7 years ago
Benedikt Schroeder
527d8376d7
Combine draw and fill rectangle drawing operation
7 years ago
Dariusz Komosinski
d089496d56
Fix OleDropTarget not being unregistered and staying alive as a static GC root.
7 years ago
José Pedro
fc1a60b159
Added support for extra mouse buttons.
7 years ago
Dan Walmsley
3f95e7676e
Revert "Merge pull request #3221 from mstr2/undecorated-window"
This reverts commit a3712ed4c2 , reversing
changes made to edbd75cc1f .
7 years ago
mstr2
7b2af958ee
Added window animations for undecorated Win32 window
7 years ago
Dan Walmsley
5b3e2320a8
remove unit tests, skia and direct2d behave differently and making them match is beyond the scope of this bug fix.
7 years ago
Dan Walmsley
86d21f27a7
fix empty text hit test. direct2d
7 years ago
Benedikt Schroeder
872cef0176
Introduce abstract font manager
7 years ago
Benedikt Schroeder
9d105c7dbb
Introduce a static FontManager that uses a platform implementation under the hood.
7 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
7 years ago
Nikita Tsukanov
3b1005f04e
Removed pointer global state that caused trouble
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Dan Walmsley
1c9e158a4c
use getproc address to check for GetDpiForMonitor.
7 years ago
Dan Walmsley
bbdf0592c1
check for shcore rather than exception.
7 years ago
Jumar Macato
9c62cc9a41
Fix #3069
7 years ago
Jumar Macato
a351e7c523
Address review.
7 years ago
Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
Dariusz Komosinski
5814bd7163
Remove direct logging functions.
7 years ago
Dariusz Komosinski
f29aeffecd
Avoid boxing mouse modifiers.
7 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Dan Walmsley
2afa74e628
include drive letter on windows.
7 years ago
Jumar Macato
f4100fd8a4
Set Path as name if there's no volume label.
7 years ago
Jumar Macato
9de04b3297
Fix drive enumeration crash on Windows's Managed File Dialog.
7 years ago
José Pedro
19f9729e86
Reduced array allocations.
7 years ago
ahopper
2033a43b9b
fix pointerover on mouse leaving window
7 years ago
Dan Walmsley
734b9f39b3
fix windows mounted listener.
7 years ago
Alan Hopper
be54210f41
fix manged file dialogs on windows
7 years ago
Jumar Macato
a35efecb5c
Decouple platform specific implementations
to their respective projects.
Some refactoring.
7 years ago
Nikita Tsukanov
bca3b42a0c
Removed custom win32 render timer since it leaks pool threads
7 years ago