Commit graph

10 commits

Author SHA1 Message Date
YJSoft
c5ff5a3ce9 fix #3234 native open window crash problem at OSX
since default_filename will be null at opening(code set default_filename only at save), setting filePath with default_filename will raise exception.

Fixed by setting filePath, basename only at save(since two vars only used at creating nameFieldStringValue) and setting directory with initial_directory at opening.
2016-04-04 07:25:33 +01:00
LRFLEW
0f88beff7c Converted OSX native file dialog to new standard 2016-03-31 20:41:48 +01:00
anyc
ffafd07c90 use enum to specify file dialog type 2016-01-29 19:03:09 +01:00
LRFLEW
44dd98135d Regain window focus on OS X file dialog close 2016-01-23 17:25:32 -07:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
Aaron van Geffen
474af5c204 Use Cocoa APIs for font detection on OS X. Moving FontConfig to Linux platform only. 2015-12-25 02:52:33 +09:00
LRFLEW
d91a82f6ea Added searching for OpenRCT2 data in OS X app bundle resources folder 2015-12-19 00:07:01 +01:00
LRFLEW
8b63080aeb Some Objective-C Code Cleanup 2015-12-17 22:06:07 -06:00
Kyle Kirbatski
2a8ed04eda Add platform dialog functions for OS X 2015-12-12 17:22:14 -06:00
Kyle Kirbatski
17766c4772 Rename osx.c to osx.m 2015-12-12 17:21:21 -06:00
Renamed from src/platform/osx.c (Browse further)