Zaazu Posted March 20, 2020 Posted March 20, 2020 (edited) Hi, Is there any way to tell when the pause menu is loaded? I can't see any System Events for the pause menu. Thanks Edited March 20, 2020 by Zaazu Quote
jayjay Posted March 20, 2020 Posted March 20, 2020 Hey @Zaazu Currently there isnt any plugin support for pause. Its not ideal but could you add a user control to the pause xaml and use the controls loaded event. Quote
Zaazu Posted March 21, 2020 Author Posted March 21, 2020 (edited) I'm not too familiar with xaml but i'll give it a go, thanks Edit: Actually I can't find the controls loaded event, am I missing something? http://pluginapi.launchbox-app.com/html/390a66a8-e09a-df6d-bf1e-87352d7a4cd1.htm Edited March 21, 2020 by Zaazu Quote
jayjay Posted March 21, 2020 Posted March 21, 2020 Again its not ideal... If your not to familiar with xaml/wpf im not sure this will be much help. Anyway if you wanna give it a go. Download this New folder (3).zip Unblock it. Move the folder "Default - Copy" to Launchbox/Pause Themes In "Default - Copy"... If you open Default.xaml in notepad your notice this line: xmlns:tst="clr-namespace:Test;assembly=Test" Near the top. And near the bottom just above </Canvas>, this line: <tst:TestControl Height="{Binding Source={x:Static SystemParameters.PrimaryScreenHeight}}" Width="{Binding Source={x:Static SystemParameters.PrimaryScreenWidth}}" HorizontalAlignment="Center" VerticalAlignment="Center"/> (you cant change BB's default pause theme to include a user control, you have to use a different pause theme or like me just make a copy of the default theme) Move Test.dll into Launchbox/Plugins. Open BB and select "default - Copy" from the manage pause themes section. Load a game, open pause and your get a message box. The source is included in the zip. Quote
Zaazu Posted March 21, 2020 Author Posted March 21, 2020 This is great, thanks, I'll take a look! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.