Commit Graph
572 Commits
Author SHA1 Message Date
Steve Checkoway b4a2e38f11 Cleanup spacing, fix check HAVE_WCSLEN, and use __BEGIN_DECL and __END_DECL to keep Xcode from wanting to indent all of the functions another level. 2006-01-15 13:01:30 +00:00
Steve Checkoway 3a1c0fa30e Fix building for i386 OS X. 2006-01-15 11:45:03 +00:00
Steve Checkoway 4eb7f0dbdf Add method for passing one BOOL. Unlike NSObject's performSelector, an NSInvocation does not make any attempt to translate arguments. It just copies from the buffer passed to addArgument:atIndex: the size of paramter specified. A BOOL is one byte (as opposed to a _Bool bool, or boolean_t which are four bytes...) so it was copying just one byte of the address of the NSNumber object and invoking it with that. 2006-01-15 05:24:16 +00:00
Steve Checkoway 7449ae7420 Revert. 2006-01-15 04:48:05 +00:00
Steve Checkoway 2032f8f4fc On deallocation, perform the actions. 2006-01-15 04:43:50 +00:00
Steve Checkoway 353453a9df Add macros to simplify. 2006-01-15 04:28:03 +00:00
Steve Checkoway 429b1dac0f Add helper class to perform a sequence of actions on the main thread (that is, main from the perspective of OS X, i.e. the GUI thread). 2006-01-15 04:13:36 +00:00
Glenn Maynard affaf07d35 rename ConfigureGraphicsWindow -> CreateGraphicsWindow 2006-01-15 01:43:04 +00:00
Glenn Maynard 7adadb4d2c cleanup 2006-01-15 01:14:01 +00:00
Glenn Maynard 079ee70c90 cleanup 2006-01-15 01:12:58 +00:00
Glenn Maynard 692cee7ddc merge old CreateGraphicsWindow 2006-01-15 01:10:45 +00:00
Glenn Maynard 61654be8de remove remove SetVideoModeParams 2006-01-15 01:08:24 +00:00
Glenn Maynard 2de99a1d59 merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing) 2006-01-15 01:05:43 +00:00
Glenn Maynard 669339a57f don't export CreateGraphicsWindow 2006-01-15 01:01:53 +00:00
Steve Checkoway d2f8a2efdf Update. 2006-01-15 00:59:22 +00:00
Steve Checkoway 1a00f1f4d7 Remove SDL completely. 2006-01-15 00:58:54 +00:00
Glenn Maynard 76dca9fb6f add bForceRecreateWindow 2006-01-15 00:55:27 +00:00
Glenn Maynard 989fe982b7 call CreateGraphicsWindow when needed 2006-01-15 00:51:45 +00:00
Glenn Maynard 58a5e76ccd don't expose 2006-01-15 00:44:37 +00:00
Glenn Maynard d52b52386b remove RecreateGraphicsWindow 2006-01-15 00:39:20 +00:00
Glenn Maynard 72036009b3 merge CreateGraphicsWindow and RecreateGraphicsWindow 2006-01-15 00:37:03 +00:00
Glenn Maynard 5e2a79e1d3 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:34:21 +00:00
Glenn Maynard 60e0bccef0 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:29:34 +00:00
Glenn Maynard c78cbd62f4 Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going
windowed to windowed, too.  (This g_CurrentParams use is confusing;
trying to reduce it ...)
2006-01-15 00:14:25 +00:00
Steve Checkoway e21934cbdf Cleanup. 2006-01-15 00:00:49 +00:00
Glenn Maynard a1592e71e7 VideoModeParams has a bunch of settings. It's confusing to
pass the whole thing around, since it's not clear what data
is actually used.  For simple functions, just pass the needed
data.
2006-01-14 23:44:31 +00:00
Steve Checkoway a0ed014d57 Remove hack for SDL. 2006-01-14 23:24:30 +00:00
Steve Checkoway 08173c6510 Handle swap interval in LLW_Cocoa itself. 2006-01-14 23:22:18 +00:00
Steve Checkoway bc3d7d8af4 Fix spacing issues (using 8 space tab stops and indents, but I think that should only matter for the final fprintf(). 2006-01-14 01:54:22 +00:00
Steve Checkoway a1a1061792 Unneeded. 2006-01-14 01:27:08 +00:00
Steve Checkoway 07c6998820 Fix. AC_CHECK_DECLS always defines HAVE_DECL_*. 2006-01-12 09:36:02 +00:00
Steve Checkoway 2336182b6a We have SIGUSR1 2006-01-11 06:20:13 +00:00
Steve Checkoway 963e3aab2a Split out BacktraceAllThreads() and do so when signaled with SIGUSR1. 2006-01-11 06:19:47 +00:00
Steve Checkoway e7943393b9 Cleanup 2006-01-09 02:10:14 +00:00
Chris Danford 7fe210a516 silence warning spew if no hid devices plugged in 2006-01-09 01:10:37 +00:00
Chris Danford f6d11943ab make more strings localizable
move dialog localization into archutil
adjust dialog layout for pseudoloc strings
2006-01-08 05:42:09 +00:00
Steve Checkoway 3608694a18 Do memory card stuff (more) correctly. 2006-01-08 00:23:33 +00:00
Chris Danford f8379c8db7 cleanup newline handling in languages
remove View Statistics button (moved to command line)
2006-01-06 17:57:26 +00:00
Glenn Maynard c9ec1d251f cleanup 2005-12-31 04:11:10 +00:00
Glenn Maynard 2120a39d2a Fix dependency: Crash.cpp should not depend on GraphicsWindow. 2005-12-31 04:09:56 +00:00
Glenn Maynard 0e599ca582 make debug_crash private 2005-12-31 04:02:51 +00:00
Glenn Maynard 4d97933c43 move into namespace 2005-12-31 04:00:41 +00:00
Glenn Maynard 644801396c move globals into namespace 2005-12-31 03:56:25 +00:00
Glenn Maynard a4716e3ecf cleanups 2005-12-31 03:32:14 +00:00
Glenn Maynard 502bd70521 static 2005-12-31 03:29:11 +00:00
Steve Checkoway be00b88919 Partial revert of byte swapping macros, just copy them out of the header. Simplify and fix CHECK macro. 2005-12-30 14:54:43 +00:00
Steve Checkoway e9d4fb0cdf machine/endian.h is getting picked up on OS X with gcc 4.0 but no endian.h exists. 2005-12-30 14:30:39 +00:00
Glenn Maynard b078d742ba unneeded include 2005-12-30 04:07:06 +00:00
Glenn Maynard c0a86d6c44 use HOOKS->SetHasFocus 2005-12-30 03:59:10 +00:00
Chris Danford c7d769829a add ThemeManager to smtools 2005-12-29 05:52:50 +00:00