Commit Graph

148 Commits

Author SHA1 Message Date
Colby Klein e473d94000 Fix error on Linux. 2009-07-30 17:08:06 +00:00
Colby Klein 0b1c9ceabb A long overdue update to the loading window on linux. 2009-07-21 01:53:28 +00:00
Steve Checkoway 6e44065a33 More consistent file names. 2008-04-29 05:48:50 +00:00
Steve Checkoway 00c5e91c7b Variable naming cleanup to match normal SM style. 2008-03-21 11:13:05 +00:00
Steve Checkoway 918d5a3ccf Cleanup autorelease pools. Only make one (I don't think that one is even necessary since nothing should be using autoreleased objects, but just in case). 2008-03-21 11:11:00 +00:00
Steve Checkoway 4a6f314472 Change from objective C to objective C++ and rewrite this code in a more natural way. 2008-03-20 12:34:44 +00:00
Steve Checkoway c027389c17 Add prototypes to silence warnings since LoadingWindow_Cocoa.h isn't included and it's pointless to do the work required allow it to be included from an objective-c file. 2007-06-02 23:08:25 +00:00
Steve Checkoway f86bc2e24e Revert. 2007-05-08 18:37:13 +00:00
Steve Checkoway b723042427 Unneeded. 2007-05-08 12:14:44 +00:00
Steve Checkoway 53b5a1f5e2 Having a separate class which does nothing is no better than just having the base class do nothing. Remove LW_Null. 2007-05-08 12:14:21 +00:00
Steve Checkoway 2853fd09fc Make SetText pure virtual instead of Paint(). 2007-05-08 12:06:50 +00:00
Glenn Maynard 7c8cf2cbdd linux -> unix 2007-05-03 02:15:55 +00:00
Steve Checkoway b88d415b52 Style. 2007-02-11 01:51:44 +00:00
Glenn Maynard 70b6a1ccd9 asserts 2006-12-24 09:53:59 +00:00
Glenn Maynard 17c32b90c2 Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Glenn Maynard ad698b2c26 split out MakeLoadingWindow 2006-12-17 06:47:57 +00:00
Steve Checkoway b85a488f89 Move the sound driver out of arch.cpp. 2006-11-18 20:33:27 +00:00
Steve Checkoway 0d10c76e87 Unscatter arch includes. 2006-11-17 18:25:20 +00:00
Josh Allen a14bd30a61 include ErrorStrings.h 2006-09-19 03:08:25 +00:00
Chris Danford 01dcea30c1 load first match of splash*.png 2006-02-28 21:44:09 +00:00
Steve Checkoway 0661f37f9c Update. The file Info.plist file is cached, it's easiest to just delete stepmania/PBProject/build and rebuild. 2006-02-26 03:14:29 +00:00
Chris Danford d87a17a034 PRODUCT_NAME -> PRODUCT_FAMILY
PRODUCT_NAME_VER -> PRODUCT_ID_VER
2006-02-25 23:59:32 +00:00
Steve Checkoway 8abbd1799c Don't fall back. If it can't find the picture, just don't show a loading window. 2006-02-13 04:05:47 +00:00
Steve Checkoway ba00800245 Don't just make the text box the size of the splash picture. Make it 4 pixels larger than 3 times the height of a line of text. 2006-01-28 04:32:20 +00:00
Glenn Maynard 27b6663832 fix HDC leak of 2 HDCs per LoadWin32Surface call
(this may be a permanent resource leak in Win98)
2006-01-24 21:32:43 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 7b75640337 use only ANSI APIs and ConvertUTF8ToACP 2006-01-17 22:20:27 +00:00
Steve Checkoway 0e1ca06a49 Use the ADD_ACTIONb macro. 2006-01-15 05:24:47 +00:00
Steve Checkoway 4c9fdec12b Simplify. 2006-01-15 04:28:14 +00:00
Steve Checkoway 56779e06e5 Cleanup. 2006-01-15 04:15:39 +00:00
Steve Checkoway 45cb8038bd Use SMMainThread to perform a sequence of actions on the main thread as required by the App Kit. 2006-01-15 04:15:05 +00:00
Steve Checkoway 3673740438 Cleanup. 2006-01-14 23:39:04 +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
Chris Danford 178e45d380 don't show strings before we've set up ThemeManager to be able to show something localized 2006-01-07 06:50:10 +00:00
Chris Danford 168a98773e fix LocalizedString::Load doesn't fill the value
Localize loading messages
2006-01-07 05:43:25 +00:00
Glenn Maynard 0330792ab6 unneeded include, fix compile 2005-12-30 04:06:00 +00:00
Steve Checkoway 9d4719c112 Fix crash if Data/splash.png is not found. 2005-12-29 11:35:10 +00:00
Steve Checkoway 89ded25ed4 Simplify. 2005-12-15 08:59:48 +00:00
Steve Checkoway 6708056847 Cleanup comments. 2005-12-13 06:59:20 +00:00
Steve Checkoway 947116ee67 Remove what are most likely no ops but they could potentially cause a crash. (I haven't seen that happen, though.) 2005-12-13 06:56:57 +00:00
Steve Checkoway dc960d0b69 Fix crash caused by race conditions. 2005-12-13 06:52:03 +00:00
Steve Checkoway 6aab1a354c Missed old commit: Use image in Data/splash.png, fall back on internal splash if it's missing. 2005-12-12 10:02:22 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard efae87bb4b HAVE_SDL is only defined on OSX, and that has its own loading window. Remove
LoadingWindow_SDL.  (This is still marginally useful, since we don't have a native
X11, non-GTK loading window yet.  But using SDL at all is a hassle, and it hasn't
been active in a long time, so let's remove this and add a native loading
window later if wanted instead of  keeping this around.)
2005-11-23 16:17:14 +00:00
Glenn Maynard 553bc91559 cleanup 2005-11-09 14:23:23 +00:00
Glenn Maynard 48ce4bf80c cleanup 2005-11-09 14:10:48 +00:00
Glenn Maynard 089a187a6c fix empty loading window title 2005-11-09 03:57:29 +00:00
Steve Checkoway cdcf01470d Exclude from Window menu. 2005-10-31 00:49:40 +00:00
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Glenn Maynard 21fcc06b7e fix long-standing bug: resize image to fit the dialog for when the default
font size is changed (in Win2k, hidden away in display -> settings -> advanced ->
general)
2005-10-29 21:52:50 +00:00