James Turner
57c9ed1ae3
Cocoa menu fixes for reset
2013-11-24 15:10:00 +00:00
James Turner
fecb475145
Refactor Cocoa helpers.
...
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00:00
James Turner
136cd6ac51
Message box support.
...
This allows us to display a platform-native dialog for problems
which occur early in startup (before we can show a PUI/Canvas dialog).
In particular this improves feedback where FG_HOME, FG_DATA or
aircraft selection is wrong, all of which happen very early in startup.
2013-11-14 22:02:29 +00:00
James Turner
e226983835
Revised patch from Yves to fix Mac 10.5 compilation
...
NSMenuDelegate is an informal protocol before 10.6, so declare it locally in that case.
2012-07-10 08:39:11 +01:00
James Turner
8aeb650d16
On OS-X, used NSWorkspace to launch the browser.
2012-05-07 23:49:21 +01:00
ThorstenB
c5ce8e29ca
Support localized menu on Mac/CocoaMenuBar.
2012-05-05 09:30:52 +02:00
James Turner
1632c5b266
Add an auto-release pool wrapper to the Cocoa code
...
Hopefully this will address some warnings seen on Mac
2012-05-02 21:24:44 +01:00
James Turner
4bde2451b0
Avoid a crash when using the native menubar on Mac, due to non-static classes with identical names.
2012-03-26 17:38:09 +01:00
James Turner
b501dc97ce
Bug 620, respect enable/disable state of entire menus when using native Cocoa menu
2012-01-25 18:56:51 +00:00
James Turner
da7adf63c0
Shortcuts support in the Cocoa menubar. We have fewer keyboard shortcuts for menu items than I realised.
2012-01-06 23:46:35 +00:00
James Turner
ebfdebeb43
Cocoa menu-bar implementation.
2011-11-20 16:26:05 +00:00