292 Commits

Author SHA1 Message Date
LibretroAdmin
e1caf32817
Revert "Fixed items of system top menu bar on macOS. (#14271)" (#14279)
This reverts commit 7068eebe0c59fea26a4fc176c769ef46fd3ad718.
2022-08-04 17:56:26 +02:00
23rd
7068eebe0c
Fixed items of system top menu bar on macOS. (#14271) 2022-08-04 15:47:30 +02:00
twinaphex
ddceb51f89 Get rid of some needless getters/setters 2021-09-30 21:10:12 +02:00
twinaphex
e886e908d5 Create consistent naming conventions - use retroarch_ instead
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex
83ce4259a0 Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
twinaphex
f21641d898 Get rid of another 'getter' function 2021-09-21 18:30:56 +02:00
twinaphex
35543ecd91 Move defines files over to libretro-common 2021-05-18 22:15:04 +02:00
twinaphex
ea9f3f13ca (Apple OSX) Swallow 'escape' key being pressed - would previously make the game
go from fullscreen to windowed
2021-04-07 00:48:21 +02:00
twinaphex
69eff40e0d Cleanup 2021-03-08 16:35:55 +01:00
twinaphex
0b06eea846 (ui_cocoa.m) Cleanups - add fall-throughs 2021-03-08 15:19:26 +01:00
twinaphex
b0b81406ad Cut down on HAVE_COCOA_METAL/HAVE_COCOA ifdef 2021-03-08 04:09:43 +01:00
twinaphex
ee77cd7288 Move cocoa_defines.h to defines/ 2021-03-08 03:58:41 +01:00
twinaphex
ea3e9ee1c6 Buildfix 2021-03-08 00:33:31 +01:00
twinaphex
01c163a2fa (Cocoa) Combine Cocoa files into one 2021-03-08 00:28:21 +01:00
twinaphex
9e2ff36d4a (macOS) Silence warning 2021-01-27 03:44:11 +01:00
Autechre
a49b02c44b
(Mac) Makefile changes for supporting Metal build (#11929)
* (QB) Add rule for Metal - define HAVE_COCOA_METAL for now
when building for Metal, and HAVE_COCOA for non-Metal build

* Make necessary changes to Makefile.common and qb/config.libs.sh:
- Disable OpenGL for now for Metal build
- Take Metal conditional out of OpenGL block in Makefile.common

* (Metal) Header fixes for compiling without Xcode/Griffin

* (Mac) Some buildfixes for non-Xcode building

* (cocoa_common.h) Restructure to no longer use -DOSX

* (Apple) More buildfixes

* (Apple) Cleanups
2021-01-22 22:20:38 +01:00
Twinaphex
a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
twinaphex
0294b0c626 (Cocoa) Don't use NSEventModifierFlags type anymore - just
use NSUInteger instead
2021-01-18 20:41:30 +01:00
twinaphex
5c0aafe6e2 Simplify applicationDidFinishLaunching code for OSX 10.7 and up 2021-01-18 00:08:21 +01:00
twinaphex
1e9f6f175e (OSX) Fix PowerPC build 2021-01-17 05:02:07 +01:00
twinaphex
6d39160de1 CLeanups 2021-01-16 22:36:03 +01:00
twinaphex
a7bb200a1c (UI Cocoa) Cleanups 2021-01-16 22:22:16 +01:00
twinaphex
ca413ff132 (Cocoa) Cleanups 2020-09-15 21:03:27 +02:00
twinaphex
de68ce185c (Cocoa) Cleanups 2020-09-15 21:00:22 +02:00
Twinaphex
eaf540e563 Cleanups 2020-09-15 20:45:42 +02:00
twinaphex
d8406baf33 Cleanups 2020-09-14 23:14:26 +02:00
twinaphex
6bac58b902 Cleanups 2020-09-14 21:55:00 +02:00
Twinaphex
f5417943c7 Cleanups 2020-09-14 20:47:07 +02:00
Twinaphex
1fa89b642a (Cocoa) sendEvent - cleanups 2020-09-14 20:32:04 +02:00
Twinaphex
dfc8f66d09 (Cocoa) sendEvent - cleanups 2020-09-14 20:27:44 +02:00
Twinaphex
e5a52a82b6 Don't reference event unnecessarily 2020-09-14 20:23:49 +02:00
Twinaphex
9184fa3689 More cleanups in sendEvent 2020-09-14 20:14:23 +02:00
Twinaphex
d177b9e737 (Cocoa) Optimize sendEvent 2020-09-14 20:09:30 +02:00
twinaphex
0946604627 (Qt) Only call log_msg when the Qt companion UI window is active 2020-06-26 21:45:09 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
88f7515d1d Cleanups, comments, style nits 2020-06-04 14:41:28 +02:00
Twinaphex
4b4a8693ac Remove unused variable 2020-05-21 22:27:20 +02:00
Alex Kornitzer
1d2dd249f3 cocoa: disable clipping cursor to window 2020-05-11 00:58:06 +01:00
Alex Kornitzer
c4ee0463aa cocoa: don't update mouse events when outside nswindow 2020-05-10 22:44:44 +01:00
Alex Kornitzer
edfafd9fad cocoa: fix mouse movement
The input driver was using absolute coordinate arithmetic while making
use of delta changes for each coordinate, as a result the absolute
change netted to zero. This fixes that and tries to mitigate cursor
event sync issues (sync issues will require more work).
2020-05-10 22:44:44 +01:00
Alex Kornitzer
ac4b49f1c2 ui_cocoa: fix mouse input for cocoa
This brings back two lines of code that have been removed over time but
appear to be required in order for mouse input to work on macOS.
2020-04-16 22:01:40 +01:00
twinaphex
31263970ad Fix include path 2020-03-07 06:50:43 +01:00
twinaphex
85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
twinaphex
310bf3328e (UI) Cleanups 2020-02-13 22:39:29 +01:00
twinaphex
f785e4b045 Replace while (1) with for (;;) - avoids MSVC warnings 2020-01-30 16:15:52 +01:00
Jean-André Santoni
c0dfcd2adf
Fix Metal build 2019-11-30 12:49:52 +07:00
Jean-André Santoni
f349784bd6
Fix the xcode build 2019-11-30 12:43:38 +07:00
twinaphex
861379d8e3 Revert code in hopes iOS works again 2019-11-20 06:25:40 +01:00
Jean-André Santoni
947e15f34f
Move WindowListener around 2019-11-19 12:00:24 +07:00
Twinaphex
c7ce2c7053 Fix Xcode issue 2019-11-19 05:54:01 +01:00