summaryrefslogtreecommitdiff
path: root/shiftos_next/BWM User Controls/Titlebar.Designer.vb
diff options
context:
space:
mode:
authorTheUltimateHacker <[email protected]>2015-05-27 20:39:48 -0400
committerTheUltimateHacker <[email protected]>2015-05-27 20:39:48 -0400
commit6c5f8c6381166edf0824aed78a1c3f05b0c562d1 (patch)
tree360c016b59560bd9da72144fdd605897a8f11374 /shiftos_next/BWM User Controls/Titlebar.Designer.vb
parentaf7679661260c7c9b02e8e746a10f2db42afe70b (diff)
downloadshiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.tar.gz
shiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.tar.bz2
shiftos-next-6c5f8c6381166edf0824aed78a1c3f05b0c562d1.zip
Draggable Windows in the BWM
We're one step closer to the full Basic Window Manager implementation. I've created a UserControl called "TitleBar" for the BWM. This UserControl contains the window handling code for draggable windows, as well as a design-time settable AppName property that allows you to change the application display name (what text is shown on the titlebar). Shiftorium upgrades to unlock Draggable Windows will be added soon, but I have to clean the beast.
Diffstat (limited to 'shiftos_next/BWM User Controls/Titlebar.Designer.vb')
-rw-r--r--shiftos_next/BWM User Controls/Titlebar.Designer.vb66
1 files changed, 66 insertions, 0 deletions
diff --git a/shiftos_next/BWM User Controls/Titlebar.Designer.vb b/shiftos_next/BWM User Controls/Titlebar.Designer.vb
new file mode 100644
index 0000000..980ad87
--- /dev/null
+++ b/shiftos_next/BWM User Controls/Titlebar.Designer.vb
@@ -0,0 +1,66 @@
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+Partial Class Titlebar
+ Inherits System.Windows.Forms.UserControl
+
+ 'UserControl overrides dispose to clean up the component list.
+ <System.Diagnostics.DebuggerNonUserCode()> _
+ Protected Overrides Sub Dispose(ByVal disposing As Boolean)
+ Try
+ If disposing AndAlso components IsNot Nothing Then
+ components.Dispose()
+ End If
+ Finally
+ MyBase.Dispose(disposing)
+ End Try
+ End Sub
+
+ 'Required by the Windows Form Designer
+ Private components As System.ComponentModel.IContainer
+
+ 'NOTE: The following procedure is required by the Windows Form Designer
+ 'It can be modified using the Windows Form Designer.
+ 'Do not modify it using the code editor.
+ <System.Diagnostics.DebuggerStepThrough()> _
+ Private Sub InitializeComponent()
+ Me.pnltop = New System.Windows.Forms.Panel()
+ Me.lbtitle = New System.Windows.Forms.Label()
+ Me.pnltop.SuspendLayout()
+ Me.SuspendLayout()
+ '
+ 'pnltop
+ '
+ Me.pnltop.BackColor = System.Drawing.Color.Gray
+ Me.pnltop.Controls.Add(Me.lbtitle)
+ Me.pnltop.Dock = System.Windows.Forms.DockStyle.Top
+ Me.pnltop.Location = New System.Drawing.Point(0, 0)
+ Me.pnltop.Name = "pnltop"
+ Me.pnltop.Size = New System.Drawing.Size(678, 32)
+ Me.pnltop.TabIndex = 1
+ '
+ 'lbtitle
+ '
+ Me.lbtitle.Dock = System.Windows.Forms.DockStyle.Fill
+ Me.lbtitle.Location = New System.Drawing.Point(0, 0)
+ Me.lbtitle.Name = "lbtitle"
+ Me.lbtitle.Size = New System.Drawing.Size(678, 32)
+ Me.lbtitle.TabIndex = 0
+ Me.lbtitle.Text = "Color Picker"
+ Me.lbtitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
+ '
+ 'Titlebar
+ '
+ Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 14.0!)
+ Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
+ Me.Controls.Add(Me.pnltop)
+ Me.Font = New System.Drawing.Font("Courier New", 8.25!)
+ Me.ForeColor = System.Drawing.Color.White
+ Me.Name = "Titlebar"
+ Me.Size = New System.Drawing.Size(678, 32)
+ Me.pnltop.ResumeLayout(False)
+ Me.ResumeLayout(False)
+
+ End Sub
+ Friend WithEvents pnltop As System.Windows.Forms.Panel
+ Friend WithEvents lbtitle As System.Windows.Forms.Label
+
+End Class