driver1998
6ea79bca36
Allow winraw and xinput to work without dinput in Windows
...
Necessary for Windows ARM32 Desktop (RT)
2019-02-26 21:29:43 +08:00
Brad Parker
99f4203abf
win32: implement screen orientation support
2019-02-21 14:37:24 -05:00
radius
814db2c44e
fix #7670 by checking threaded video
2019-02-21 11:54:10 -05:00
twinaphex
b7c1fda56f
(Windows) Fix C89_BUILD
2019-02-06 19:08:56 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
twinaphex
b13777e9fc
Header cleanups
2019-01-20 03:16:58 +01:00
CozmoP
2052e15a08
pass content label when loading content from Qt ( #7982 )
2019-01-11 18:51:44 -05:00
twinaphex
c98b2e2292
Buildfixes and more static code analysis warning fixes
2019-01-10 22:24:43 +01:00
twinaphex
b9ff2e4de1
Fix some static code analysis warnings from MSVC 2017
2019-01-10 21:47:15 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Brad Parker
85b560e76b
vc2003 buildfix
2019-01-05 19:19:53 -05:00
radius
d2a2878b2c
fix #935 thanks to @bparker
2018-12-23 19:55:26 -05:00
radius
a7e4d8359b
fix fullscreen=>windowed when remember window positions is on
2018-12-11 19:34:12 -05:00
radius
defe82c9ce
fix the menubar height growing issue too
2018-12-06 10:15:50 -05:00
radius
e050ca89c7
make windowed size take into account window border and title height
2018-12-06 10:03:48 -05:00
radius
77ae2dc0cd
don't change window position on fullscreen changes
2018-11-25 11:51:13 -05:00
twinaphex
4a4a6511e0
Workaround - fullscreen mode was no longer working properly
2018-11-25 10:08:50 +01:00
twinaphex
5313c50b0e
(Windows) Saves/remembers window size now too - still some edge case
...
when clicking maximize button - you need to then move the window
slightly in order for x/y position to be saved - just clicking maximize
alone is not enough
2018-11-25 09:50:08 +01:00
twinaphex
e1afdf8c3c
(Windows) Start implementing 'remember window positions'. Right now only
...
saves/remembers X, Y position
2018-11-25 09:02:32 +01:00
twinaphex
5d8666e226
Only one function calls EnumDisplaySettings now
2018-11-24 02:06:28 +01:00
Brad Parker
b9699f4780
gdi: texture load support, fix menu text alignment, support multi-line messages
2018-10-10 09:58:49 -04:00
Dwedit
fa00eda625
Relocation of Win32 Message Loop Fix is now tied to whether threaded video is enabled or not
...
Menu bar is removed if threaded video is enabled, due to code currently being unsafe when using threaded video.
2018-07-13 22:34:03 -05:00
twinaphex
abc6eb7d8c
Revert "Re-revert this - causes issues with toggling fullscreen with threaded"
...
This reverts commit 52a55695ce8a8fab8f8ab5193abbb27c97cb601c.
2018-07-14 00:22:52 +02:00
twinaphex
52a55695ce
Re-revert this - causes issues with toggling fullscreen with threaded
...
video mode and GL driver
2018-07-14 00:10:21 +02:00
twinaphex
38a35e53fd
Revert "Move Message loop call to right before video_driver_get_status
call"
...
This reverts commit 838dcc8a5a3b57f7d9e737ba264428422d336c99.
2018-07-14 00:01:25 +02:00
Brandon Wright
c81aab345c
Lock sizes of enum fields at 32 bits.
2018-07-11 16:37:37 -05:00
Dwedit
838dcc8a5a
Move Message loop call to right before video_driver_get_status
call
2018-07-05 20:07:01 -05:00
twinaphex
c3d469dd8e
Revert "Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate"
...
This reverts commit 71086283691f0247459df827de41de472a4874a2.
2018-07-05 02:42:16 +02:00
Dwedit
7108628369
Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate
2018-07-04 14:20:38 -05:00
Themaister
f2cae17021
Vulkan: Try to avoid creating swapchains redundantly.
...
Win32: Only make resize events when needed.
Do not create swapchain unless necessary.
Deal better with Windows WSI workarounds.
2018-07-01 16:21:09 +02:00
twinaphex
542294900f
(WinRT) More compilation fixes
2018-05-12 19:03:39 +02:00
Dwedit
387d4d87eb
Fix core selection appearing unnecessarily
...
Re-order the dialog items in core selection dialog to make the listbox have focus
Removed the "do wm close" stuff.
2018-05-09 21:04:23 -05:00
Dwedit
f3f0d4f787
Unify File Open and File Drag Drop code
...
* Code in `win32_drag_query_file` was split off into `win32_load_content_from_gui`
* File Open dialog now uses the same code as drag drop instead of the non-working code that was in there before.
* File Dialog and Core Select Dialog show and hide mouse cursor if they were invoked in fullscreen mode
2018-05-09 21:04:23 -05:00
twinaphex
46f7742afc
Some early WinRT commits
2018-05-09 16:13:29 +02:00
Dwedit
81457d74d3
Use WINAPI
instead of __stdcall
, not sure what keywords I can use or not, so I'll just use the macro instead of the keyword
2018-05-02 22:09:20 -05:00
Dwedit
0d2f9b9b11
Fix __stdcall calling convention for Win32 32-bit builds
2018-05-02 21:59:07 -05:00
twinaphex
95278d39f7
Buildfix for MSVC 2003
2018-05-02 01:03:40 +02:00
twinaphex
33c1d55801
GetDisplayConfigBufferSizes and QueryDisplayConfig now go
...
through function pointers for backwards compatibility
2018-05-01 21:44:10 +02:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
Brandon Wright
64b2830889
Fix Win32 build. Set Windows header API to Win7.
2018-04-16 14:51:38 -05:00
twinaphex
d46011ae14
Cleanups
2018-04-16 04:20:24 +02:00
Brandon Wright
e049605359
Add refresh rate polling to Win32 >= Windows 7.
2018-04-15 19:33:38 -05:00
twinaphex
359de5c84b
Create win32_change_display_settings
2018-04-15 17:55:37 +02:00
twinaphex
8e7b1ede7f
Silence Clang warnings
2018-04-09 17:35:27 +02:00
twinaphex
92b46a8275
Some cleanups
2018-03-30 15:50:27 +02:00
Brad Parker
43aa977a91
add menu setting to toggle window decorations
2018-02-10 23:46:09 -05:00
aliaspider
5549b136c2
(msvc) CXX_BUILD + griffin fixes.
2018-02-05 00:25:03 +01:00
radius
c4bb588f3b
fix small logging issue
2018-02-04 10:59:02 -05:00
aliaspider
b228775b0d
(D3D10/11/12) allow building without HAVE_D3D9
2018-01-30 21:33:25 +01:00
twinaphex
495c702860
Buildfixes/cleanups
2018-01-25 12:30:08 +01:00