Commit Graph

72 Commits

Author SHA1 Message Date
Carlos Aragones
fa8bf266f0 Changes related to dpi.
Introduced new function mfb_get_monitor_scale
Deprecated function mfb_get_monitor_dpi
2021-02-19 10:57:13 +01:00
Carlos Aragonés
17df5633cd Fix bug redefining window_data_win. Thanks to @nsmryan 2021-01-14 19:48:31 +01:00
Carlos Aragones
d9a9fe554f Added to iOS
not working on X11 & Wayland
2020-09-21 14:38:51 +02:00
Carlos Aragones
17c375002f working on MacOS 2020-09-21 13:02:47 +02:00
Carlos Aragones
f66e92c8da Working n Windows 2020-09-21 12:27:22 +02:00
Carlos Aragones
9e3704b96c hidpi compiling on Windows
Fix OpenGL backend for multiple windows
2020-09-21 10:03:35 +02:00
Carlos Aragones
4c898b0b8b fix bug on Windows resize event 2020-09-18 18:53:18 +02:00
Carlos Aragones
42270f4c53 minor fixes 2020-09-18 17:45:24 +02:00
Carlos Aragones
3552c1f019 Fix Windows texture order color 2020-09-18 17:24:47 +02:00
Carlos Aragones
41e087433a use OpenGL legacy API for X11 (faster than draw XImages) 2020-09-18 15:05:39 +02:00
Carlos Aragones
09338014d1 use OpenGL legacy API for windows (faster than GDI) 2020-09-18 10:28:42 +02:00
Carlos Aragones
6a1e7e0b71 Wayland support 2020-09-16 13:32:27 +02:00
Carlos Aragones
5196518bcb working on X11 2020-09-16 13:19:50 +02:00
Carlos Aragones
72df95f7bb working on iOS 2020-09-16 12:54:08 +02:00
Carlos Aragones
3a083fd3c8 macos working Metal & Cocoa 2020-09-16 12:27:14 +02:00
Carlos Aragones
82595a8d74 working for windows 2020-09-16 11:38:05 +02:00
Carlos Aragones
a6e63243f4 refactor 2020-09-16 10:01:12 +02:00
Carlos Aragones
5f9594cb23 update_ex working on iOS 2020-09-15 21:05:49 +02:00
Carlos Aragones
f4c537d6f0 fix ios minor bug 2020-09-15 20:40:25 +02:00
Carlos Aragones
3c90ae2a0f Wayland working 2020-09-15 20:32:40 +02:00
Carlos Aragones
9a74e07568 prepare Linux Wayland & iOS 2020-09-15 15:24:05 +02:00
Carlos Aragones
8d68f620df added mfb_update_ex - Linux - X11 version 2020-09-15 14:09:25 +02:00
Carlos Aragones
94a22bff6a added mfb_update_ex - MacOS X - Cocoa version (I cannot test it!!!) 2020-09-15 13:39:55 +02:00
Carlos Aragones
e98644cfbf added mfb_update_ex - MacOS X - Metal version 2020-09-15 12:39:26 +02:00
Carlos Aragones
2cf75ce9ac Windows: update buffer_stride 2020-09-15 11:46:17 +02:00
Carlos Aragones
f09780d761 added mfb_update_ex - Windows version 2020-09-15 11:35:11 +02:00
Carlos Aragones
dda1275bd7 MacOS: Flush events after perform close ( fix #44 ) 2020-09-08 21:10:11 +02:00
Carlos Aragones
37b91b2d30 Fix bug on X11 2020-06-05 22:48:42 +02:00
Carlos Aragones
649560ef2f Quick fix for the init_key_codes issue 2020-06-03 17:28:30 +02:00
Carlos Aragones
1c3054d320 refactor: A little bit more similar iOS & MacOS 2020-05-17 21:22:12 +02:00
Carlos Aragones
ed0afc6b22 Fixed bug on old MacOS X 2020-05-17 20:05:47 +02:00
Carlos Aragones
51d00541e5 OSX Refactor -> renamed OSXViewController to OSXViewDelegate 2020-05-17 19:53:06 +02:00
Carlos Aragones
80a7a33b7c unify a little bit more iOS & MacOS 2020-05-17 19:48:59 +02:00
Carlos Aragones
75de20e4cc OSX refactor -> renamed OSXWindowFrameView to OSXView 2020-05-17 18:39:51 +02:00
Carlos Aragones
235dc1e670 Merge branch 'master' into ios_support 2020-05-17 18:34:20 +02:00
Carlos Aragones
6254705203 refactor OSX to be more similar to iOS 2020-05-17 18:34:12 +02:00
Carlos Aragones
2be0d5a7e0 refactor iOS
added mfb_set_resize_callback to iOS
minor fixes on iOS & MacOS X
2020-05-17 18:31:00 +02:00
Carlos Aragones
2b1d7633ae Added WF_FULLSCREEN_DESKTOP and WF_FULLSCREEN on macos x 2020-04-26 23:33:30 +02:00
Carlos Aragones
6a96ceb1f5 Merge branch 'master' into ios_support 2020-04-26 19:52:13 +02:00
Carlos Aragones
78efec66c5 fix issue with mfb_set_viewport on macos x 2020-04-26 19:50:53 +02:00
Carlos Aragones
5981107bdd Merge branch 'master' into ios_tmp
* master:
  fix issue on macos x
2020-04-26 17:44:52 +02:00
Carlos Aragones
d0dd063b8f fix issue on macos x 2020-04-26 17:43:19 +02:00
Carlos Aragones
fdd7d8bedb work with and without already created window 2020-04-26 17:42:23 +02:00
Carlos Aragones
6452ec1bfd Merge branch 'master' into ios_tmp
* master:
  fix issue on macos x
  refactor

# Conflicts:
#	src/macosx/MacMiniFB.m
#	src/macosx/OSXWindowFrameView.h
#	src/macosx/OSXWindowFrameView.m
2020-04-26 14:20:48 +02:00
Carlos Aragones
68ecd983f0 fix issue on macos x 2020-04-26 14:10:18 +02:00
Carlos Aragones
8d57780915 refactor 2020-04-26 13:21:08 +02:00
Carlos Aragones
f5db43e07d test 2 & refactor 2020-04-26 13:16:25 +02:00
Carlos Aragones
8e1a981085 test 1 2020-04-26 00:01:14 +02:00
Carlos Aragones
4bd40299eb refactor 2020-04-25 23:16:35 +02:00
Carlos Aragones
f793114403 fix latest commit 2020-04-22 15:39:34 +02:00