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 52a55695ce
.
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 838dcc8a5a
.
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 7108628369
.
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
twinaphex
4c390944bb
Remove some more HAVE_D3D8/HAVE_D3D9 ifdefs that depend on
...
compile-time instead of runtime
2018-01-25 12:22:06 +01:00
aliaspider
a5bf9d8dc6
(D3D10/11/12)
...
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
aliaspider
80df049f41
(D3D11/12) refactors/fixes. add blending and selectable samplers for
...
d3d12.
2018-01-21 23:46:50 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
aliaspider
9cb896a3d9
(win32) WS_EX_LAYERED drastically decreases performance, so only set it
...
when needed (when opacity < 100).
2018-01-13 07:53:13 +01:00
twinaphex
aa641325cb
Cleanups
2018-01-08 23:30:07 +01:00
twinaphex
7fdb621481
Update
2018-01-08 23:23:37 +01:00
twinaphex
8f9d807306
Remove some more Xbox ifdefs
2018-01-08 23:06:09 +01:00
Brad Parker
e62e0c83da
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 02:08:09 -05:00
Brad Parker
8a8687ec9c
add missing ifdef for device change fix and include 2K in the version check
2017-12-30 23:07:59 -05:00
twinaphex
4c608ca994
Buildfix
2017-12-31 03:44:28 +01:00
radius
acdb5efdcd
try to fix msvc2003 builds
2017-12-30 21:38:00 -05:00
twinaphex
f7744d812e
Turn this into a static variable
2017-12-31 03:18:10 +01:00
twinaphex
88cac16409
(MSVC 2003) Compile griffin.c as C code
2017-12-31 03:16:08 +01:00
twinaphex
292d506ed8
Fix more MSVC Griffin build errors
2017-12-30 13:35:47 +01:00
twinaphex
b10616ffb7
Fix C89_BUILD
2017-12-27 21:49:56 +01:00
radius
e7616f2dc2
fix include
2017-12-27 15:38:54 -05:00
radius
c3e6ac96aa
only reinit when HID devices are attached
2017-12-27 15:34:18 -05:00
Brad Parker
89bd38918e
win32: correct usage of GetWindowPlacement per MS docs, fixes game window position on Win95/98
2017-12-24 17:17:36 -05:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
247b9ea973
add menu setting for window opacity, includes generic display server interface
2017-12-11 18:12:42 -05:00
Brad Parker
49d0299808
LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode
2017-12-04 22:49:08 -05:00
Brad Parker
fd18c2c942
win32: use W-function for file drag&drop
2017-10-18 15:08:01 -04:00
Brad Parker
cacef3866a
vc6: use int instead of INT_PTR for callback to DialogBoxParam
2017-09-07 13:48:11 -04:00
Brad Parker
07566c51a1
VC6 buildfixes, add Makefile.griffin target for it
2017-09-07 11:50:10 -04:00
Brad Parker
0a1b3fedc0
VC6 support (targets NT 3.51)
2017-09-06 23:03:02 -04:00
twinaphex
c691bbaedc
Start going through compilation errors
2017-09-05 00:57:58 +02:00
Brad Parker
747dd2ad12
support Windows 95/NT4
2017-09-03 23:39:25 -04:00
Brad Parker
e3d68cd131
GDI: fix flickering of text
2017-08-22 23:39:42 -04:00
twinaphex
ae2435cf16
Silence some more C89_BUILD warnings
2017-08-12 18:15:26 +02:00
twinaphex
2f832d145f
Make DragAcceptFiles go through function pointer
2017-08-09 16:25:23 +02:00
twinaphex
c3851d42e6
Convert win32_common.cpp to C - gets rid of all the extern "C"
...
references as well.
Note to bparker - DragAcceptFiles has a minimum dependency for WinXP,
might have to go through a function pointer there or have a
compilation-time ifdef
2017-08-09 13:39:14 +02:00
twinaphex
9deeececf1
Turn win32_common and wgl_ctx into C++
2015-11-11 20:07:06 +01:00
twinaphex
1413d97ab0
(D3D/GL) Use more common code
2015-11-11 19:48:24 +01:00
twinaphex
938dfa775a
(D3D/GL) Try to use common code for both
2015-11-11 19:41:32 +01:00
twinaphex
8e08db3446
more buildfixes
2015-11-11 18:29:06 +01:00
twinaphex
3c5f4bd243
Move WndProc to win32_common.c
2015-11-11 18:26:10 +01:00
twinaphex
8f6deb9dac
Pass function pointer to win32_window_init too
2015-11-11 18:22:39 +01:00
twinaphex
b40baa6323
Move win32_window_init
2015-11-11 18:16:28 +01:00
twinaphex
e0720cd764
Add mon_id argument to win32_get_monitor_info
2015-11-11 17:47:56 +01:00
twinaphex
8f9218ab1b
(Win32) Cleanups
2015-11-11 17:41:20 +01:00
twinaphex
0cb507886a
Split up win32_monitor code to win32_common
2015-11-11 17:36:52 +01:00
Twinaphex
756b3de315
(Win32) Create function pointer to PowerSetRequest
2015-10-11 10:57:49 +02:00
twinaphex
ff59f92341
(Win32) Create win32_suppress_screensaver
2015-10-10 08:13:58 +02:00
twinaphex
7f4ddc6775
(win32_common.c) Don't use _WIN32 ifdef
2015-09-05 14:40:01 +02:00
twinaphex
103987fab8
(Win32) Buildfix
2015-07-28 01:02:32 +02:00
twinaphex
9ef656dc61
(MSVC) Build fixes
2015-04-20 20:00:39 +02:00
twinaphex
0818b178f9
Rename rarch_main_command to event_command
2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972
Rename RARCH_CMD_* to EVENT_CMD_*
2015-04-13 10:29:15 +02:00
twinaphex
b31fd31793
Fix win32_show_cursor
2015-04-11 07:10:35 +02:00
twinaphex
a3e14acaa3
Create win32_check_window
2015-04-10 09:36:03 +02:00
twinaphex
b46c9cea87
Create win32_show_cursor
2015-04-10 09:30:18 +02:00
twinaphex
65310b7699
(Win32) Cleanups/Buildfixes
2015-04-09 05:48:01 +02:00
twinaphex
dc10606b23
Create win32_get_metrics
2015-04-09 05:19:29 +02:00
twinaphex
1f23338ca4
Move win32_common.c to gfx/common
2015-04-09 05:16:02 +02:00