Commit Graph

89 Commits

Author SHA1 Message Date
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 Aragonés
2110dc18ac
Merge pull request #41 from maximumspatium/master
Enable conditional compilation of examples.
2020-08-06 16:32:11 +02:00
Maxim Poliakovski
d658d8361b Enable conditional compilation of examples. 2020-06-16 21:22:57 +02:00
Carlos Aragones
35110bf174 travis to compile Windows (Visual Studio), Linux (X11, Wayland), MacOS X(Cocoa, Metal), iOS
Windows MinGW is WIP
2020-06-12 00:17:51 +02:00
Carlos Aragones
37b91b2d30 Fix bug on X11 2020-06-05 22:48:42 +02:00
Carlos Aragones
7a2aa56367 Merge branch 'master' of https://github.com/emoon/minifb 2020-06-03 17:28:39 +02:00
Carlos Aragones
649560ef2f Quick fix for the init_key_codes issue 2020-06-03 17:28:30 +02:00
Carlos Aragonés
3226ac3aad
Merge pull request #38 from emoon/revert-37-fix/build-break
Revert "Fixes build break in linux"
2020-06-03 17:14:24 +02:00
Carlos Aragonés
698b50c664 Revert "Fixes build break in linux (#37)"
This reverts commit 83d7dbc678.
2020-06-03 17:14:09 +02:00
eccard
83d7dbc678
Fixes build break in linux (#37) 2020-06-02 06:13:03 +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
ab5a7919a6 Updated readme 2020-04-26 18:40:46 +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
894e7cca5e fix issue #25 2020-04-22 15:59:42 +02:00
Carlos Aragones
f793114403 fix latest commit 2020-04-22 15:39:34 +02:00
Carlos Aragonés
c381721dad
Merge pull request #15 from lkesteloot/master
Fix size of window on MacOS.
2020-04-22 15:28:56 +02:00
Carlos Aragonés
c65e93ff88
Merge branch 'master' into master 2020-04-22 15:28:10 +02:00
Carlos Aragonés
35b8439b26
Add timers and ability to set a target fps for the application (#36)
* working on windows

* minor fix

* working on macosx

* Oops! I reversed resolution and frequency on macos

* working on X11

* working on wayland

* update the readme

* format the readme

Co-authored-by: Carlos Aragones <>
2020-04-22 13:00:15 +02:00
Carlos Aragones
4175cec89e minor fix 2020-04-19 23:04:11 +02:00
Carlos Aragonés
661092081c
Renamed typo scrool by scroll (#29)
* update documentation

* Fix typo

* Added some examples

* changed window names

* Minor fix

* Added mfb_update_events to all platforms. Checked on Windows, X11 and Wayland

* simplify CMake

* Upgrade to CMake 3.5, simplify script and generalize it
Now the users only have to add_directory and link_libraries(minifb) in CMake

* Renamed typo scrool by scroll
Added some checks
Removed some warnings

* fix issue 32

Co-authored-by: Carlos Aragones <>
Co-authored-by: caragones <carlos.aragonesmartinez-external@gemalto.com>
2020-03-06 07:51:57 +01:00