Nikita Tsukanov
e8926b7ea8
Revert WM_PAINT handling change
8 years ago
Nikita Tsukanov
06dd72e9c8
Enforce DeferredRenderer to produce a frame when requested by OS
8 years ago
Nikita Tsukanov
d5414813a8
Re-enable parent on WM_DESTROY
8 years ago
Nikita Tsukanov
5cd7c1f6f4
Reworked dialogs for GTK/Win32
8 years ago
Dan Walmsley
43f6eb52ea
pixel size api impl updated.
8 years ago
Steven Kirk
963453a1ff
Size window in response to WM_DPICHANGED.
8 years ago
ahopper
11d676ac0b
rename CreateMONITORINFO to Create
8 years ago
ahopper
314ada4e4a
renamed NewMONITORINFO to CreateMONITORINFO
8 years ago
ahopper
5786d51853
pass MONITORINFO as ref
8 years ago
ahopper
f907139a5c
make MONITORINFO a struct
8 years ago
Nikita Tsukanov
4f1552c6a2
Introduced several 5-line .cs files
8 years ago
Nikita Tsukanov
25919bf48a
Implemented ANGLE-based OpenGL support in Win32 backend
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
CommonGuy
c19971a44f
Replace relevant WindowPos magic number with variable
8 years ago
CommonGuy
0af6dd2c0a
Implement topmost on window
8 years ago
Nelson Carrillo
07b457d8a0
Add support for locating custom renderers
8 years ago
Steven Kirk
2f64e0f952
Removed functionality implemented by #1190 .
8 years ago
Dan Walmsley
865a866388
update documentation and fix bug when
system decorations are restored so that CanResize is obeyed.
8 years ago
Dan Walmsley
a3e02e3068
restore correct implementation of SetSystemDecorations on Win32.
8 years ago
José Pedro
2af15cbee4
Make WindowState bindable.
Requested changes.
9 years ago
Steven Kirk
d9ca27ba87
Stop renderer on Window minimize.
Adds a new `WindowStateChanged` event to `IWindowImpl` and when a window is minimized, stops the associated renderer (only implemented on win32 currently).
8 years ago
boombuler
5a5fc13632
force mousecursor if the mouse is over the window
without the call of SetCursor the cursor will only be updated once the
mouse is moved.
this fixes #1536
8 years ago
CommonGuy
d9819ab004
Extract WindowLong parameter into enum
9 years ago
CommonGuy
a50a8a3314
Add CanResize to Window
9 years ago
Stano Turza
586e8654f3
replace Min Max properties with function
9 years ago
Stano Turza
b89b72f0ba
Fix Win32 window size constraints
fixes + revert testing changes
9 years ago
Stano Turza
bd33b3076b
Fix Win32 window size constraints
fixes + revert testing changes
9 years ago
Manuel Allenspach
b2461f4b1f
Implement Closing event
9 years ago
boombuler
4c6a341b73
reworked Drag event dispatching
9 years ago
boombuler
83b18944d3
corrected namespace. (copy+paste error)
9 years ago
boombuler
1647d95aa6
Initial Drag+Drop support for windows
9 years ago
Steven Kirk
79f35161be
Use correct CharSet for WNDCLASSEX
And prepend `Avalonia-` to window class. Looking in Spy++ I noticed that our window class name was garbage because the `CharSet` on `WNDCLASSEX` was wrong. Fix that and include "Avalonia" in our window classes.
9 years ago
Steven Kirk
e55ec59ec3
WIP
9 years ago
Nikita Tsukanov
b963d68668
Try to respect DispatcherPriority when possible
9 years ago
Jurjen Biewenga
b44fde9613
Fixed bug that created new instance of ScreenImpl every time it was accessed through WindowBaseImpl
9 years ago
Jurjen Biewenga
e25f949d98
Screen information API implementation
9 years ago
Nikita Tsukanov
d3390ac553
Added managed BeginResizeDrag implementation
9 years ago
Jurjen Biewenga
b888cbb865
Fixed windowplacement failing due to incorrect length
9 years ago
Jurjen Biewenga
34e82c19fb
Win32 implementation now checks the previous ShowWindowCommand and sets it back to that after hiding.
9 years ago
Jurjen Biewenga
a12c4649cb
Cleaned up implementation of ShowTaskbarIcon
Created property in Window to enable/disable the taskbar icon
9 years ago
Jurjen Biewenga
d278c5ddeb
Added ShowTaskbarIcon implementation
9 years ago
Jurjen Biewenga
7605909c79
Made the pinvoke calls private
Changed SetWindowLongPtr calls to SetWindowLong in Win32/WindowImpl
9 years ago
Jurjen Biewenga
1d4aabb739
Replaced Set/GetWindowLong with Set/GetWindowLongPtr for 64 bit support
9 years ago
Eli Arbel
5eada2b122
Fix mouse wheel coordinates
9 years ago
Jeremy Koritzinsky
58b3ff90ab
Reduce build warnings by setting a few flags and not using deprecated overloads.
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Nikita Tsukanov
91691c30a7
PR notes
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
04b35fef62
Removed unused field.
10 years ago
Steven Kirk
2b87e22db4
Use the dirty rect from BeginPaint on WM_PAINT.
The one returned by `GetUpdateRect` at this point will be empty, from
the win32 docs:
> BeginPaint automatically validates the update region, so any call to
GetUpdateRect made immediately after the call to BeginPaint retrieves an
empty update region.
10 years ago