aboutsummaryrefslogtreecommitdiff
path: root/coherencemode.vb
diff options
context:
space:
mode:
authorShiftOS <[email protected]>2015-03-07 22:31:31 +0200
committerShiftOS <[email protected]>2015-03-07 22:31:31 +0200
commit4caacce50cef00e4175d35f78f2089f1f6d69562 (patch)
tree6b1ceb79d9590869fe3742753e68831378cc9e56 /coherencemode.vb
parentfeafdde01c360f8260b4092fc045952d97ad8872 (diff)
downloadshiftos-4caacce50cef00e4175d35f78f2089f1f6d69562.tar.gz
shiftos-4caacce50cef00e4175d35f78f2089f1f6d69562.tar.bz2
shiftos-4caacce50cef00e4175d35f78f2089f1f6d69562.zip
ShiftOS
ShiftOS is a game about evolving an experimental operating system called "ShiftOS" from a completely black and white text based command line based OS to a fully graphical operating system filled with advanced features and beautiful colours. The level of customization will exceed the levels of real world operating systems
Diffstat (limited to 'coherencemode.vb')
-rw-r--r--coherencemode.vb19
1 files changed, 19 insertions, 0 deletions
diff --git a/coherencemode.vb b/coherencemode.vb
new file mode 100644
index 0000000..5868bf1
--- /dev/null
+++ b/coherencemode.vb
@@ -0,0 +1,19 @@
+Module coherencemode
+ Dim fakeform As New template
+
+ Public Sub setupwindows(ByVal programname As String)
+ Dim win As Window = Window.Find(programname)
+ win.Style(Window.Styles.Border) = False
+ win.Style(Window.Styles.Sizable) = False
+ win.Size = New Size(win.Size.Width + 1, win.Size.Height + 1)
+ win.Invalidate()
+
+ fakeform.Show()
+ fakeform.Location = win.Location
+ fakeform.Size = win.Size
+ fakeform.lbtitletext.Text = win.Text
+ fakeform.resettitlebar()
+ fakeform.pgcontents.BackColor = Color.FromArgb(1, 0, 1)
+ End Sub
+
+End Module