173 Commits

Author SHA1 Message Date
twinaphex
8999d6e4a6 (DInput) Set a userdata struct for the window message loop properly -
get rid of input_get_data - we no longer need it
2020-08-29 03:41:33 +02:00
twinaphex
d02d9573ab Silence unused variable warnings 2020-08-28 05:05:15 +02:00
twinaphex
4d1cfa9c41 Make the 'raw' versions the generic function for the message loop
callback - this way it's reused for SDL2 input driver too
2020-08-28 02:55:39 +02:00
twinaphex
32279c3a70 Split up wnd_proc_common_internal into two - one for dinput,
one for raw
2020-08-28 02:21:13 +02:00
twinaphex
73fc7c9873 Rename create_graphics_context to create_wgl_context 2020-08-28 01:29:23 +02:00
twinaphex
d249f83c85 (Win32) Message loop - more cleanups 2020-08-28 01:20:54 +02:00
twinaphex
5f2e810879 Deduplicate code in WndProc function callback implementations 2020-08-28 00:38:15 +02:00
twinaphex
acfb7d0a23 Reorder structs, alignment 2020-08-14 23:13:05 +02:00
twinaphex
379cc9ca4a Small cleanup to get_refresh_rate function 2020-08-04 03:12:51 +02:00
twinaphex
332bcc7f9e Remove dxgi_update_title 2020-08-03 15:48:08 +02:00
twinaphex
7c66f0adbc Simplify win32_check_window 2020-07-18 17:09:07 +02:00
twinaphex
baa349f2ec Cleanup 2020-07-17 02:32:37 +02:00
twinaphex
df73277ca8 (WGL) Bind different callback for Vulkan 2020-07-17 02:31:12 +02:00
Bernhard Schelling
e0a9ded6a3 Fix invalid calls to dinput_handle_message when input driver is not set to dinput 2020-07-09 22:32:43 +09:00
twinaphex
b94a3928e4 (MSVC) Buildfix 2020-07-07 21:04:45 +02:00
twinaphex
00518d3470 Add TODO/FIXME notes 2020-07-07 03:02:55 +02:00
twinaphex
d9b4b44091 (Winraw) Cleanups 2020-07-02 07:07:42 +02:00
twinaphex
b42897d0b6 (GDI) Weird code - clean this up 2020-06-07 02:55:51 +02:00
twinaphex
bde18ba86a Style nits 2020-05-12 14:36:27 +02:00
twinaphex
7f8c13ae09 (GDI/Win32) Refactor code - handle doubleclick press on title bar
inside DInput driver
2020-03-13 02:20:31 +01:00
twinaphex
30e8ec6543 (win32_common.c) Put g_win32_resized into struct 2020-03-13 00:15:51 +01:00
twinaphex
c796f3268b (win32_common.c) Cleanups 2020-03-13 00:11:21 +01:00
twinaphex
b4da4940eb Revert "(Win32) Move global state to struct"
This reverts commit dfa1288988c1bc2618fda62ec6e90955e7b57b12.
2020-03-12 22:10:24 +01:00
twinaphex
dfa1288988 (Win32) Move global state to struct 2020-03-12 17:47:49 +01:00
twinaphex
d63daacdf9 (GDI) Put gdi_menu_frame into struct 2020-03-07 16:50:25 +01:00
jdgleaver
7873b5f044 (QT) Populate 'db_name' and 'crc32' fields when adding entries to content history 2020-03-06 14:00:04 +00:00
twinaphex
a7d679d391 Rename WndProcGL to WndProcWGL 2020-03-05 18:45:41 +01:00
twinaphex
1167a06a5a Settings Cleanups 2020-03-02 20:34:31 +01:00
twinaphex
1b0ab1c05f Cleanups 2020-02-21 07:34:53 +01:00
twinaphex
ab94af68c1 Cut down on settings access 2020-02-19 19:31:00 +01:00
twinaphex
2e0f921ded Cleanups 2020-02-13 02:18:38 +01:00
twinaphex
8a989b65ee Cleanup 2020-01-19 13:19:25 +01:00
twinaphex
826b2245ec WndProcCommon - small optimization 2020-01-19 12:17:26 +01:00
twinaphex
51d6b467d6 (Win32) Buildfix 2020-01-19 04:56:12 +01:00
twinaphex
c26c9483ec Cleanup WNDPROC functions 2020-01-18 11:34:50 +01:00
twinaphex
a01e6652df Replace ZeroMemory with memset 2020-01-18 10:46:25 +01:00
twinaphex
57c00e7e26 Cleanup 2020-01-18 10:41:26 +01:00
twinaphex
a67896ab2b Cleanup 2020-01-18 09:37:16 +01:00
twinaphex
142503d3b5 move win32_menu_loop and win32_browser to win32_common 2020-01-18 09:28:46 +01:00
twinaphex
3e1f56d57f Change function signature of win32_has_focus 2020-01-04 15:49:23 +01:00
twinaphex
91baea201a Change function signature of win32_show_cursor 2020-01-04 15:40:02 +01:00
twinaphex
051342cc8b Rewrite win32_get_video_output 2019-12-20 07:15:03 +01:00
twinaphex
c7fd375120 Create video_driver_display_userdata_{set/get} 2019-09-22 07:35:05 +02:00
twinaphex
2609747243 MSVC buildfix 2019-08-29 20:20:35 +02:00
twinaphex
718d65d95d Take this out - too unsafe - fixes D3D12 driver 2019-08-29 12:30:56 +02:00
twinaphex
029f1c403e Turn function static 2019-08-29 10:16:26 +02:00
twinaphex
967aae04c8 Cleanups 2019-08-29 09:55:27 +02:00
twinaphex
9a49da10e5 (WndProcCommon) Put this back in 2019-08-29 09:31:08 +02:00
twinaphex
df4f2a67e3 (Win32) Simplify WndProcCommon 2019-08-29 02:26:32 +02:00
twinaphex
3a7515c82f Cut down on code duplication 2019-08-28 23:58:15 +02:00