sdl2_frt/src
Sam Lantinga 1c9595b16f Fixed bug 4415 - SDL menu bar is nonstandard on Mac
foo.null

I'm on macOS 10.14 and I think I'm using or around SDL 2.0.9. This is about the menu bar that SDL sets up which looks like:

<App Name> <Window> <View>

1. View menu never proceeds after the Window menu in any Mac application (it is always before).
2. For SDL, the only purpose of the View menu is for a single fullscreen menu item, which is not justifiable enough to reserve space for a menu. The View menu should thus be removed, and the full screen menu item should be added at the end inside of Window's menu. See built in apps like Dictionary, Chess, App Store (on 10.14) that do this.
3. SDL should add a "Close" menu item to the Window's submenu, and it should be the first item. Its key equivalent should map to command w. Without this, you cannot close the game window via this shortcut, and you cannot close the app's About window via this shortcut.
4. Apps typically use "Enter Full Screen" or "Exit Full Screen" depending on context, not "Toggle Full Screen" which is less user friendly -- I personally care about this point the least.
2018-12-08 11:06:40 -08:00
..
atomic SDL_atomic.c, SDL_spinlock.c: use lock prefix with xchg in Watcom asm. 2018-09-27 11:55:02 +03:00
audio android: use __ARM_NEON instead of __ARM_NEON__ to include <arm_neon.h> 2018-12-04 12:34:45 +01:00
core Fix warnings detected on Android build 2018-12-06 15:46:40 +01:00
cpuinfo Windows: NEON detection and intrinsic includes on Visual Studio 2018-12-04 16:50:31 +01:00
dynapi Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). 2018-11-10 16:15:48 -04:00
events Made it more clear that the values being compared are floats 2018-12-06 09:09:05 -08:00
file Small stack allocations fall back to malloc if they're unexpectedly large. 2018-10-22 20:50:32 -04:00
filesystem revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
haptic Fix warnings detected on Android build 2018-12-06 09:22:00 +01:00
hidapi Don't build SDL_JOYSTICK_HIDAPI by default on iOS 2018-10-26 09:27:31 -07:00
joystick Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file to load at initialization containing SDL game controller mappings 2018-12-07 12:02:08 -08:00
libm libm: Watcom defines huge=__huge: undefine it to fix build using Watcom. 2018-11-18 11:50:20 +03:00
loadso Small stack allocations fall back to malloc if they're unexpectedly large. 2018-10-22 20:50:32 -04:00
main winmain: Patched to compile on C89 compilers. 2018-10-29 20:18:50 -04:00
power SDL_power.c: Adjust SDL_POWER_DISABLED ifdefs to avoid zero-size array 2018-10-15 11:01:00 +03:00
render opengles2: fix prototype of glDeleteBuffers 2018-12-06 10:24:44 +01:00
sensor Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few seconds 2018-11-19 21:17:00 -08:00
stdlib os/2 bits for SDL_malloc.c -- from libffi 2018-11-18 19:28:20 +03:00
test Fix warnings detected on Android build 2018-12-06 09:22:00 +01:00
thread Fix warnings detected on Android build 2018-12-06 09:22:00 +01:00
timer Fix warnings detected on Android build 2018-12-06 15:46:40 +01:00
video Fixed bug 4415 - SDL menu bar is nonstandard on Mac 2018-12-08 11:06:40 -08:00
SDL_assert_c.h Add and update include guards 2018-10-28 21:36:48 +01:00
SDL_assert.c Small stack allocations fall back to malloc if they're unexpectedly large. 2018-10-22 20:50:32 -04:00
SDL_dataqueue.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_dataqueue.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_error_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_error.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_hints.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_internal.h Small stack allocations fall back to malloc if they're unexpectedly large. 2018-10-22 20:50:32 -04:00
SDL_log.c Small stack allocations fall back to malloc if they're unexpectedly large. 2018-10-22 20:50:32 -04:00
SDL.c Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few seconds 2018-11-19 21:17:00 -08:00