diff options
| author | lempamo <[email protected]> | 2017-09-20 11:02:43 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-09-20 11:02:43 -0400 |
| commit | 2968c39415d6f4ea4db275d1fc12861843616ae9 (patch) | |
| tree | 5d24deeba37d3974a0e578a36cbcd508f49dfe8b | |
| parent | 1733261571c06226b44374ef658de0f062cef08b (diff) | |
| download | histacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.tar.gz histacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.tar.bz2 histacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.zip | |
more 12padams stuff
| -rw-r--r-- | Histacom2.Engine/Paintbrush.cs | 2 | ||||
| -rw-r--r-- | Histacom2.Engine/UI/ClassicButton.cs | 23 | ||||
| -rw-r--r-- | Histacom2/OS/Win98/Win98Apps/IE4Sites/12padams1999.Designer.cs | 218 |
3 files changed, 211 insertions, 32 deletions
diff --git a/Histacom2.Engine/Paintbrush.cs b/Histacom2.Engine/Paintbrush.cs index 02cb49b..ff715d2 100644 --- a/Histacom2.Engine/Paintbrush.cs +++ b/Histacom2.Engine/Paintbrush.cs @@ -49,6 +49,7 @@ namespace Histacom2.Engine public static Color GetLightFromColor(Color basecolor) { if (basecolor == Color.Silver) return Color.White; + if (basecolor == Color.Green) return Color.FromArgb(64, 255, 64); if (basecolor == Color.FromArgb(112, 112, 112)) return Color.FromArgb(184, 184, 184); if (basecolor == Color.FromArgb(169, 200, 169)) return Color.FromArgb(218, 223, 218); return ControlPaint.Light(basecolor, 70); @@ -57,6 +58,7 @@ namespace Histacom2.Engine public static Color GetDarkFromColor(Color basecolor) { if (basecolor == Color.Silver) return Color.Gray; + if (basecolor == Color.Green) return Color.FromArgb(0, 83, 0); if (basecolor == Color.FromArgb(112, 112, 112)) return Color.FromArgb(72, 72, 72); if (basecolor == Color.FromArgb(169, 200, 169)) return Color.FromArgb(95, 153, 95); return ControlPaint.Dark(basecolor, 70); diff --git a/Histacom2.Engine/UI/ClassicButton.cs b/Histacom2.Engine/UI/ClassicButton.cs index 027d198..29b3a3b 100644 --- a/Histacom2.Engine/UI/ClassicButton.cs +++ b/Histacom2.Engine/UI/ClassicButton.cs @@ -15,26 +15,17 @@ namespace Histacom2.Engine.UI private bool _pressing = false; - public DialogResult DialogResult - { - get - { - throw new NotImplementedException(); - } - - set - { - throw new NotImplementedException(); - } - } + public DialogResult DialogResult { get; set; } - public bool AdaptBackColorWithTheme = true; - public bool AdaptForeColorWithTheme = true; - public bool AdaptFontWithTheme = true; + public bool AdaptBackColorWithTheme { get; set; } + public bool AdaptForeColorWithTheme { get; set; } + public bool AdaptFontWithTheme { get; set; } public ClassicButton() : base() { - + AdaptBackColorWithTheme = true; + AdaptForeColorWithTheme = true; + AdaptFontWithTheme = true; if (SaveSystem.currentTheme != null) BackColor = SaveSystem.currentTheme.threeDObjectsColor; else BackColor = Color.Silver; _lightBack = ControlPaint.Light(BackColor, 50); diff --git a/Histacom2/OS/Win98/Win98Apps/IE4Sites/12padams1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/IE4Sites/12padams1999.Designer.cs index aeba4df..aa8aae4 100644 --- a/Histacom2/OS/Win98/Win98Apps/IE4Sites/12padams1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/IE4Sites/12padams1999.Designer.cs @@ -31,6 +31,8 @@ this.classicLabel1 = new Histacom2.Engine.UI.ClassicLabel(); this.classicLabel2 = new Histacom2.Engine.UI.ClassicLabel(); this.panel1 = new System.Windows.Forms.Panel(); + this.classicLabel8 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton1 = new Histacom2.Engine.UI.ClassicButton(); this.panel2 = new System.Windows.Forms.Panel(); this.classicLabel3 = new Histacom2.Engine.UI.ClassicLabel(); this.panel3 = new System.Windows.Forms.Panel(); @@ -45,6 +47,17 @@ this.panel9 = new System.Windows.Forms.Panel(); this.panel10 = new System.Windows.Forms.Panel(); this.classicLabel7 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton2 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel9 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton3 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel10 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton4 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel11 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicLabel12 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton5 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel13 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicButton6 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel14 = new Histacom2.Engine.UI.ClassicLabel(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); @@ -61,7 +74,7 @@ // this.classicLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.classicLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.classicLabel1.Location = new System.Drawing.Point(353, 12); + this.classicLabel1.Location = new System.Drawing.Point(347, 12); this.classicLabel1.Name = "classicLabel1"; this.classicLabel1.Size = new System.Drawing.Size(271, 16); this.classicLabel1.TabIndex = 0; @@ -70,7 +83,7 @@ // classicLabel2 // this.classicLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.classicLabel2.Location = new System.Drawing.Point(367, 34); + this.classicLabel2.Location = new System.Drawing.Point(361, 34); this.classicLabel2.Name = "classicLabel2"; this.classicLabel2.Size = new System.Drawing.Size(250, 13); this.classicLabel2.TabIndex = 1; @@ -81,12 +94,39 @@ this.panel1.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panel1.BackColor = System.Drawing.Color.Lime; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.classicLabel9); + this.panel1.Controls.Add(this.classicButton2); + this.panel1.Controls.Add(this.classicLabel8); + this.panel1.Controls.Add(this.classicButton1); this.panel1.Controls.Add(this.panel2); - this.panel1.Location = new System.Drawing.Point(110, 90); + this.panel1.Location = new System.Drawing.Point(104, 90); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(214, 209); + this.panel1.Size = new System.Drawing.Size(225, 209); this.panel1.TabIndex = 2; // + // classicLabel8 + // + this.classicLabel8.Location = new System.Drawing.Point(4, 49); + this.classicLabel8.Name = "classicLabel8"; + this.classicLabel8.Size = new System.Drawing.Size(121, 13); + this.classicLabel8.TabIndex = 2; + this.classicLabel8.Text = "Guess The Number V2"; + // + // classicButton1 + // + this.classicButton1.AdaptBackColorWithTheme = false; + this.classicButton1.AdaptFontWithTheme = true; + this.classicButton1.AdaptForeColorWithTheme = true; + this.classicButton1.BackColor = System.Drawing.Color.Green; + this.classicButton1.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton1.ForeColor = System.Drawing.Color.Black; + this.classicButton1.Location = new System.Drawing.Point(144, 45); + this.classicButton1.Name = "classicButton1"; + this.classicButton1.Size = new System.Drawing.Size(72, 23); + this.classicButton1.TabIndex = 1; + this.classicButton1.Text = "Download"; + // // panel2 // this.panel2.BackColor = System.Drawing.Color.ForestGreen; @@ -95,14 +135,14 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(212, 38); + this.panel2.Size = new System.Drawing.Size(223, 38); this.panel2.TabIndex = 0; // // classicLabel3 // this.classicLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.classicLabel3.ForeColor = System.Drawing.Color.White; - this.classicLabel3.Location = new System.Drawing.Point(50, 10); + this.classicLabel3.Location = new System.Drawing.Point(58, 10); this.classicLabel3.Name = "classicLabel3"; this.classicLabel3.Size = new System.Drawing.Size(109, 16); this.classicLabel3.TabIndex = 0; @@ -113,10 +153,14 @@ this.panel3.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panel3.BackColor = System.Drawing.Color.Lime; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.classicLabel12); + this.panel3.Controls.Add(this.classicButton5); + this.panel3.Controls.Add(this.classicLabel13); + this.panel3.Controls.Add(this.classicButton6); this.panel3.Controls.Add(this.panel4); - this.panel3.Location = new System.Drawing.Point(647, 90); + this.panel3.Location = new System.Drawing.Point(630, 90); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(214, 209); + this.panel3.Size = new System.Drawing.Size(225, 209); this.panel3.TabIndex = 3; // // panel4 @@ -127,14 +171,14 @@ this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(212, 38); + this.panel4.Size = new System.Drawing.Size(223, 38); this.panel4.TabIndex = 0; // // classicLabel4 // this.classicLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.classicLabel4.ForeColor = System.Drawing.Color.White; - this.classicLabel4.Location = new System.Drawing.Point(50, 10); + this.classicLabel4.Location = new System.Drawing.Point(57, 10); this.classicLabel4.Name = "classicLabel4"; this.classicLabel4.Size = new System.Drawing.Size(109, 16); this.classicLabel4.TabIndex = 0; @@ -145,10 +189,14 @@ this.panel5.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panel5.BackColor = System.Drawing.Color.Lime; this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Controls.Add(this.classicLabel11); + this.panel5.Controls.Add(this.classicButton4); + this.panel5.Controls.Add(this.classicLabel10); + this.panel5.Controls.Add(this.classicButton3); this.panel5.Controls.Add(this.panel6); - this.panel5.Location = new System.Drawing.Point(378, 90); + this.panel5.Location = new System.Drawing.Point(369, 90); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(214, 209); + this.panel5.Size = new System.Drawing.Size(225, 209); this.panel5.TabIndex = 4; // // panel6 @@ -159,14 +207,14 @@ this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(0, 0); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(212, 38); + this.panel6.Size = new System.Drawing.Size(223, 38); this.panel6.TabIndex = 0; // // classicLabel5 // this.classicLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.classicLabel5.ForeColor = System.Drawing.Color.White; - this.classicLabel5.Location = new System.Drawing.Point(59, 10); + this.classicLabel5.Location = new System.Drawing.Point(62, 10); this.classicLabel5.Name = "classicLabel5"; this.classicLabel5.Size = new System.Drawing.Size(94, 16); this.classicLabel5.TabIndex = 0; @@ -178,7 +226,7 @@ this.panel7.BackColor = System.Drawing.Color.Lime; this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel7.Controls.Add(this.panel8); - this.panel7.Location = new System.Drawing.Point(110, 314); + this.panel7.Location = new System.Drawing.Point(104, 314); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(353, 135); this.panel7.TabIndex = 5; @@ -210,7 +258,7 @@ this.panel9.BackColor = System.Drawing.Color.Lime; this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel9.Controls.Add(this.panel10); - this.panel9.Location = new System.Drawing.Point(508, 314); + this.panel9.Location = new System.Drawing.Point(502, 314); this.panel9.Name = "panel9"; this.panel9.Size = new System.Drawing.Size(353, 135); this.panel9.TabIndex = 6; @@ -236,11 +284,136 @@ this.classicLabel7.TabIndex = 0; this.classicLabel7.Text = "History Of Computers"; // + // classicButton2 + // + this.classicButton2.AdaptBackColorWithTheme = false; + this.classicButton2.AdaptFontWithTheme = true; + this.classicButton2.AdaptForeColorWithTheme = true; + this.classicButton2.BackColor = System.Drawing.Color.Green; + this.classicButton2.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton2.ForeColor = System.Drawing.Color.Black; + this.classicButton2.Location = new System.Drawing.Point(144, 74); + this.classicButton2.Name = "classicButton2"; + this.classicButton2.Size = new System.Drawing.Size(72, 23); + this.classicButton2.TabIndex = 3; + this.classicButton2.Text = "Download"; + // + // classicLabel9 + // + this.classicLabel9.Location = new System.Drawing.Point(4, 79); + this.classicLabel9.Name = "classicLabel9"; + this.classicLabel9.Size = new System.Drawing.Size(121, 13); + this.classicLabel9.TabIndex = 4; + this.classicLabel9.Text = "Web Chat 1999"; + // + // classicButton3 + // + this.classicButton3.AdaptBackColorWithTheme = false; + this.classicButton3.AdaptFontWithTheme = true; + this.classicButton3.AdaptForeColorWithTheme = true; + this.classicButton3.BackColor = System.Drawing.Color.Green; + this.classicButton3.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton3.ForeColor = System.Drawing.Color.Black; + this.classicButton3.Location = new System.Drawing.Point(116, 44); + this.classicButton3.Name = "classicButton3"; + this.classicButton3.Size = new System.Drawing.Size(99, 23); + this.classicButton3.TabIndex = 2; + this.classicButton3.Text = "View Backgrounds"; + // + // classicLabel10 + // + this.classicLabel10.Location = new System.Drawing.Point(3, 49); + this.classicLabel10.Name = "classicLabel10"; + this.classicLabel10.Size = new System.Drawing.Size(107, 13); + this.classicLabel10.TabIndex = 5; + this.classicLabel10.Text = "Backgrounds"; + // + // classicButton4 + // + this.classicButton4.AdaptBackColorWithTheme = false; + this.classicButton4.AdaptFontWithTheme = true; + this.classicButton4.AdaptForeColorWithTheme = true; + this.classicButton4.BackColor = System.Drawing.Color.Green; + this.classicButton4.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton4.ForeColor = System.Drawing.Color.Black; + this.classicButton4.Location = new System.Drawing.Point(116, 73); + this.classicButton4.Name = "classicButton4"; + this.classicButton4.Size = new System.Drawing.Size(99, 23); + this.classicButton4.TabIndex = 6; + this.classicButton4.Text = "Info"; + // + // classicLabel11 + // + this.classicLabel11.Location = new System.Drawing.Point(3, 79); + this.classicLabel11.Name = "classicLabel11"; + this.classicLabel11.Size = new System.Drawing.Size(107, 13); + this.classicLabel11.TabIndex = 7; + this.classicLabel11.Text = "Skindows 98"; + // + // classicLabel12 + // + this.classicLabel12.Location = new System.Drawing.Point(5, 79); + this.classicLabel12.Name = "classicLabel12"; + this.classicLabel12.Size = new System.Drawing.Size(121, 13); + this.classicLabel12.TabIndex = 8; + this.classicLabel12.Text = "Error Blaster 98"; + // + // classicButton5 + // + this.classicButton5.AdaptBackColorWithTheme = false; + this.classicButton5.AdaptFontWithTheme = true; + this.classicButton5.AdaptForeColorWithTheme = true; + this.classicButton5.BackColor = System.Drawing.Color.Green; + this.classicButton5.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton5.ForeColor = System.Drawing.Color.Black; + this.classicButton5.Location = new System.Drawing.Point(145, 74); + this.classicButton5.Name = "classicButton5"; + this.classicButton5.Size = new System.Drawing.Size(72, 23); + this.classicButton5.TabIndex = 7; + this.classicButton5.Text = "Download"; + // + // classicLabel13 + // + this.classicLabel13.Location = new System.Drawing.Point(5, 49); + this.classicLabel13.Name = "classicLabel13"; + this.classicLabel13.Size = new System.Drawing.Size(121, 13); + this.classicLabel13.TabIndex = 6; + this.classicLabel13.Text = "Start Runner 98"; + // + // classicButton6 + // + this.classicButton6.AdaptBackColorWithTheme = false; + this.classicButton6.AdaptFontWithTheme = true; + this.classicButton6.AdaptForeColorWithTheme = true; + this.classicButton6.BackColor = System.Drawing.Color.Green; + this.classicButton6.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton6.ForeColor = System.Drawing.Color.Black; + this.classicButton6.Location = new System.Drawing.Point(145, 45); + this.classicButton6.Name = "classicButton6"; + this.classicButton6.Size = new System.Drawing.Size(72, 23); + this.classicButton6.TabIndex = 5; + this.classicButton6.Text = "Download"; + // + // classicLabel14 + // + this.classicLabel14.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.classicLabel14.Location = new System.Drawing.Point(430, 460); + this.classicLabel14.Name = "classicLabel14"; + this.classicLabel14.Size = new System.Drawing.Size(100, 13); + this.classicLabel14.TabIndex = 7; + this.classicLabel14.Text = "© 12padams, 1999"; + // // _12padams1999 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.LightGreen; + this.Controls.Add(this.classicLabel14); this.Controls.Add(this.panel9); this.Controls.Add(this.panel7); this.Controls.Add(this.panel5); @@ -283,5 +456,18 @@ private System.Windows.Forms.Panel panel9; private System.Windows.Forms.Panel panel10; private Engine.UI.ClassicLabel classicLabel7; + private Engine.UI.ClassicLabel classicLabel8; + private Engine.UI.ClassicButton classicButton1; + private Engine.UI.ClassicLabel classicLabel9; + private Engine.UI.ClassicButton classicButton2; + private Engine.UI.ClassicLabel classicLabel11; + private Engine.UI.ClassicButton classicButton4; + private Engine.UI.ClassicLabel classicLabel10; + private Engine.UI.ClassicButton classicButton3; + private Engine.UI.ClassicLabel classicLabel12; + private Engine.UI.ClassicButton classicButton5; + private Engine.UI.ClassicLabel classicLabel13; + private Engine.UI.ClassicButton classicButton6; + private Engine.UI.ClassicLabel classicLabel14; } } |
