Commit Graph
55 Commits
Author SHA1 Message Date
TatshandColby Klein d395028bd4 Mac fixes (#1776)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent
2018-12-31 19:28:59 -08:00
Dan Guzek 40f1554724 fix Loading Window splash image for OS X
This commit allows OS X users to enjoy their current theme's custom splash graphic if it is available at ./Graphics/Common splash.png
I have been wanting to fix this for a fairly long time.

My fix is probably not the cleanest or proper way to do this.  StepMania.cpp already looks up the current theme's "Common splash.png" and passes it off to the arch-appropriate LoadingWindow as a RageSurface.  This fix repeats the lookup in LoadingWindow_MacOSX.mm, and loads the splash image into a Ragefile which is easily loaded into an NSImage.

Still, my fix does work, and if you actually know how to work with a Ragesurface and can help out here, I'll give you a cookie. :)
2015-05-15 08:28:34 -04:00
Ben "root" Anderson 32a25023d3 Die early if CreateDialog fails 2013-10-29 15:51:47 -05:00
Ben "root" Anderson dfb758d35a Noting an observation 2013-10-25 04:11:45 -05:00
phantom ec69c7769b More Windows loading. 2013-01-02 17:46:21 +01:00
phantom 716d62de10 Fix Gtk icon. 2013-01-02 10:59:38 +01:00
phantom d7cdc02db3 Fix windows? 2013-01-01 18:14:14 +01:00
phantom 5fa1e3d2a0 Splash should show up properly now. 2013-01-01 17:40:29 +01:00
Jason Felds a15cbc431d War on -Werror, part 14: More hodgepodge. 2012-12-27 12:45:04 -05:00
AJ Kelly db0fc91d8b the rest of the GTK splash.png fix form djpohly 2012-06-14 14:54:20 -05:00
AJ Kelly ea0a854065 [LoadingWindow_Gtk] Actually resolve the path to the Splash file. [djpohly] 2012-05-17 12:08:05 -05:00
AJ Kelly e0a8bc81b0 update comment 2012-03-20 17:11:12 -05:00
Colby Klein 195361e94a Add padding to the loading window progress bar on OS X. 2011-12-20 00:40:31 -08:00
Thai Pangsakulyanont f119c8cead add Paint() to SetProgress()
so that Windows does not think that the application is not responding.
2011-11-17 14:24:48 +07:00
ZipFile 5ac274edf6 Stop resizing. 2011-10-13 03:45:03 +02:00
ZipFile 8aab0d7f78 Added fallbak code to build with old ffmpeg (0.6.1). Centered gtk loading
window.
2011-10-09 05:46:50 +02:00
AJ Kelly 8d528625de [LoadingWindow_Win32] Make the StepMania window gain focus after the loading window closes. Fixes issue 424. 2011-09-22 20:19:27 -05:00
AJ Kelly 89d27a656e uncomment splash code on gtk loadingwindow; still doesn't work 2011-08-23 22:09:30 -05:00
AJ Kelly 38da01759d fix moonlight crashing on Linux by disabling buggy icon set code 2011-08-23 14:50:25 -05:00
AJ Kelly 47390a22bf 32->8 to shut up error in the beginning 2011-08-23 09:28:36 -05:00
AJ Kelly c7ac0b4466 more work on the Linux stuff, though nothing's working yet 2011-08-22 17:23:09 -05:00
AJ Kelly e2ab3d6493 various Linux updates, including making the default size of the splash window 512x96. 2011-08-22 15:50:56 -05:00
AJ Kelly b9e53b575b more pedantic crap 2011-08-17 16:28:58 -05:00
Mark Cannon e1a447cc36 revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function 2011-08-06 21:33:49 +00:00
Jason Felds 84266760a5 Attempt to restore LoadingWindow to pre-merge. 2011-07-30 14:23:54 -04:00
Henrik Andersson 1133667ad1 Readding the taskbar progress display. 2011-07-30 19:28:06 +02:00
Colby Klein 44a160708f Nitpicking, another try to make sure we're not doing things the driver doesn't support. 2011-07-20 22:38:10 -07:00
AJ Kelly 7bd6462929 fix compile on windows 2011-07-20 16:20:41 -05:00
Henrik Andersson 363947d46a [default->loading window] Catching up. 2011-07-20 20:06:28 +02:00
AJ Kelly d53d9156ad go away, warnings 2011-07-20 12:38:02 -05:00
AJ Kelly b1f4bb151d [LoadingWindow] Added the ability for themes to have custom splash banners. (Currently Windows-only.) 2011-07-19 19:40:44 -05:00
Henrik Andersson 1ee1bd384b [loading window] Hey look, the load can be aborted now!
Also, loading messages are now in the language file.
2011-07-11 14:56:44 +02:00
Henrik Andersson 7bf7a701ea [loading window] Now it should build with old SDKs, if you change the constant. 2011-07-01 02:27:22 +02:00
Henrik Andersson cd2561ef50 [loading window] And we are back, now with some win 7 custom features. 2011-06-15 14:59:15 +02:00
Jason Felds 0488193b6e *shrugs* May as well try this. 2011-06-13 03:43:20 -04:00
Jason Felds fc68776e3f Anyone on linux want to test this?
I think this may work for an indeterminate bar.
2011-06-12 20:45:21 -04:00
Thai Pangsakulyanont c057b23ab3 progress bar for Linux partially done: no indeterminate progress bar yet. 2011-06-12 13:24:39 +07:00
Jason Felds c06763db85 Make linux compile the loading window code.
NOTE: The actual loading window code is stubbed.
I do not know GTK window code yet, so hopefully
this won't crash yet.
2011-06-11 09:30:49 -04:00
Thai Pangsakulyanont 3df6a5e82c [loading window] fixes for mac os x progress bar 2011-06-06 10:53:45 +07:00
Jason Felds 4a11952986 [loading window] Indeterminate for Mac OS X.
Is there a way to use performSelector withBool?
2011-06-05 10:36:09 -04:00
Henrik Andersson 167cd9238a [loading window] Should really have included this in the initial design. Now it can be indeterminate too. 2011-06-05 11:32:51 +02:00
Jason Felds af62e62b42 [loading window] .hgeol 2011-06-05 02:12:09 -04:00
Thai Pangsakulyanont bce2fcbe2a the progress now displays on a mac. Needs some visual adjustments though. 2011-06-05 12:18:20 +07:00
Henrik Andersson 813c2d8f09 [loading window] Theme loading should also list itself in the loading window. 2011-06-04 16:09:47 +02:00
Henrik Andersson 9956525d46 [loading window] Die thread die! 2011-06-04 15:37:20 +02:00
Henrik Andersson e0eae90f23 [loading window] Destruction now works correctly. 2011-06-04 14:26:35 +02:00
Henrik Andersson 86cc2818e0 [loading window] Now the loading window has it's own thread. As such, the paint method is no longer needed. 2011-06-04 02:12:08 +02:00
Henrik Andersson ac2668176a Trying to clean up the loading window. 2011-06-03 23:54:45 +02:00
AJ Kelly cf81f8cc3b remove xbox support; it doesn't work, and it'd take too much effort to get it working again 2011-03-19 19:28:57 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00