From dbdc3f918399bc25220c93845f16d51933a9a762 Mon Sep 17 00:00:00 2001 From: TheUltimateHacker Date: Mon, 16 Mar 2015 11:52:50 -0400 Subject: #11 - Fixed skinning bug. Fixed a huge skinning bug, along with adding a few new features (Infobox tries to find a .wav file to play when it starts up. If there isn't any, it doesn't play a sound.) --- ShiftOS/infobox.vb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ShiftOS/infobox.vb') diff --git a/ShiftOS/infobox.vb b/ShiftOS/infobox.vb index 20a73aa..d5e15bf 100644 --- a/ShiftOS/infobox.vb +++ b/ShiftOS/infobox.vb @@ -1,4 +1,6 @@ -Public Class infobox +Imports ShiftOS.Helper +Imports ShiftOS.Paths +Public Class infobox Public rolldownsize As Integer Public oldbordersize As Integer Public oldtitlebarheight As Integer @@ -32,6 +34,11 @@ ShiftOSDesktop.setuppanelbuttons() ShiftOSDesktop.setpanelbuttonappearnce(ShiftOSDesktop.pnlpanelbuttoninfobox, ShiftOSDesktop.tbinfoboxicon, ShiftOSDesktop.tbinfoboxtext, True) 'modify to proper name ShiftOSDesktop.programsopen = ShiftOSDesktop.programsopen + 1 + Try + playSound(sounddir & "infobox.wav", AudioPlayMode.Background) + Catch + + End Try End Sub Public Sub setupall() -- cgit v1.2.3