Reorganize toolbar buttons, remove textlabel backcolor

This commit is contained in:
spherallic 2023-05-01 20:36:36 +02:00
parent 5c13cbb011
commit b6e6c763f3
2 changed files with 33 additions and 18 deletions

View file

@ -160,7 +160,6 @@ namespace CodeImp.DoomBuilder.Rendering
AlignX = TextAlignmentX.Center, AlignX = TextAlignmentX.Center,
AlignY = TextAlignmentY.Middle, AlignY = TextAlignmentY.Middle,
Color = General.Colors.GetNiGHTSColor(8), Color = General.Colors.GetNiGHTSColor(8),
BackColor = General.Colors.Background,
TransformCoords = true TransformCoords = true
}; };
@ -170,7 +169,6 @@ namespace CodeImp.DoomBuilder.Rendering
AlignX = TextAlignmentX.Center, AlignX = TextAlignmentX.Center,
AlignY = TextAlignmentY.Middle, AlignY = TextAlignmentY.Middle,
Color = General.Colors.GetNiGHTSColor(7), Color = General.Colors.GetNiGHTSColor(7),
BackColor = General.Colors.Background,
TransformCoords = true TransformCoords = true
}; };

View file

@ -178,6 +178,7 @@ namespace CodeImp.DoomBuilder.Windows
this.linedefcolorpresets = new System.Windows.Forms.ToolStripDropDownButton(); this.linedefcolorpresets = new System.Windows.Forms.ToolStripDropDownButton();
this.separatorfilters = new System.Windows.Forms.ToolStripSeparator(); this.separatorfilters = new System.Windows.Forms.ToolStripSeparator();
this.separatorrendering = new System.Windows.Forms.ToolStripSeparator(); this.separatorrendering = new System.Windows.Forms.ToolStripSeparator();
this.separatorsrb2 = new System.Windows.Forms.ToolStripSeparator();
this.itemdynlightmodes = new System.Windows.Forms.ToolStripMenuItem(); this.itemdynlightmodes = new System.Windows.Forms.ToolStripMenuItem();
this.itemnodynlights = new System.Windows.Forms.ToolStripMenuItem(); this.itemnodynlights = new System.Windows.Forms.ToolStripMenuItem();
this.itemdynlights = new System.Windows.Forms.ToolStripMenuItem(); this.itemdynlights = new System.Windows.Forms.ToolStripMenuItem();
@ -195,6 +196,7 @@ namespace CodeImp.DoomBuilder.Windows
this.buttontogglegrid = new System.Windows.Forms.ToolStripButton(); this.buttontogglegrid = new System.Windows.Forms.ToolStripButton();
this.buttontogglecomments = new System.Windows.Forms.ToolStripButton(); this.buttontogglecomments = new System.Windows.Forms.ToolStripButton();
this.separatorfullbrightness = new System.Windows.Forms.ToolStripSeparator(); this.separatorfullbrightness = new System.Windows.Forms.ToolStripSeparator();
this.separatorsrb2extras = new System.Windows.Forms.ToolStripSeparator();
this.buttonviewnormal = new System.Windows.Forms.ToolStripButton(); this.buttonviewnormal = new System.Windows.Forms.ToolStripButton();
this.buttonviewbrightness = new System.Windows.Forms.ToolStripButton(); this.buttonviewbrightness = new System.Windows.Forms.ToolStripButton();
this.buttonviewfloors = new System.Windows.Forms.ToolStripButton(); this.buttonviewfloors = new System.Windows.Forms.ToolStripButton();
@ -806,12 +808,13 @@ namespace CodeImp.DoomBuilder.Windows
this.seperatorviewviews, this.seperatorviewviews,
this.itemfullbrightness, this.itemfullbrightness,
this.itemtogglegrid, this.itemtogglegrid,
this.itemrendernightspath, this.itemtogglefixedthingsscale,
this.itemtogglecomments,
this.separatorrendering,
this.itemrendernightspath,
this.itemrenderzoomtubes, this.itemrenderzoomtubes,
this.itemrenderpolypreview, this.itemrenderpolypreview,
this.itemtogglecomments, this.separatorsrb2,
this.itemtogglefixedthingsscale,
this.separatorrendering,
this.itemdynlightmodes, this.itemdynlightmodes,
this.itemmodelmodes, this.itemmodelmodes,
this.itemtogglefog, this.itemtogglefog,
@ -1356,24 +1359,25 @@ namespace CodeImp.DoomBuilder.Windows
this.buttontogglegrid, this.buttontogglegrid,
this.buttontogglecomments, this.buttontogglecomments,
this.buttontogglefixedthingsscale, this.buttontogglefixedthingsscale,
this.separatorfullbrightness, this.separatorfullbrightness,
this.buttonviewnormal, this.buttonviewnormal,
this.buttonviewbrightness, this.buttonviewbrightness,
this.buttonviewfloors, this.buttonviewfloors,
this.buttonviewceilings, this.buttonviewceilings,
this.separatorgeomergemodes, this.seperatorviews,
this.buttontogglenightspath,
this.buttontogglezoomtubes,
this.buttontogglepolypreview,
this.separatorsrb2extras,
this.buttonmergegeoclassic, this.buttonmergegeoclassic,
this.buttonmergegeo, this.buttonmergegeo,
this.buttonplacegeo, this.buttonplacegeo,
this.seperatorviews, this.separatorgeomergemodes,
this.buttonsnaptogrid, this.buttonsnaptogrid,
this.buttontoggledynamicgrid, this.buttontoggledynamicgrid,
this.buttonautomerge, this.buttonautomerge,
this.buttonsplitjoinedsectors, this.buttonsplitjoinedsectors,
this.buttonautoclearsidetextures, this.buttonautoclearsidetextures,
this.buttontogglenightspath,
this.buttontogglezoomtubes,
this.buttontogglepolypreview,
this.seperatorgeometry, this.seperatorgeometry,
this.dynamiclightmode, this.dynamiclightmode,
this.modelrendermode, this.modelrendermode,
@ -1667,6 +1671,11 @@ namespace CodeImp.DoomBuilder.Windows
this.separatorrendering.Name = "separatorrendering"; this.separatorrendering.Name = "separatorrendering";
this.separatorrendering.Size = new System.Drawing.Size(270, 6); this.separatorrendering.Size = new System.Drawing.Size(270, 6);
// //
// separatorsrb2
//
this.separatorsrb2.Name = "separatorsrb2";
this.separatorsrb2.Size = new System.Drawing.Size(270, 6);
//
// itemdynlightmodes // itemdynlightmodes
// //
this.itemdynlightmodes.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.itemdynlightmodes.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -1827,10 +1836,16 @@ namespace CodeImp.DoomBuilder.Windows
this.buttontogglegrid.Tag = "builder_togglegrid"; this.buttontogglegrid.Tag = "builder_togglegrid";
this.buttontogglegrid.Text = "Render Grid"; this.buttontogglegrid.Text = "Render Grid";
this.buttontogglegrid.Click += new System.EventHandler(this.InvokeTaggedAction); this.buttontogglegrid.Click += new System.EventHandler(this.InvokeTaggedAction);
// //
// buttontogglenightspath // separatorsrb2extras
// //
this.buttontogglenightspath.Checked = true; this.separatorsrb2extras.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
this.separatorsrb2extras.Name = "separatorsrb2extras";
this.separatorsrb2extras.Size = new System.Drawing.Size(6, 25);
//
// buttontogglenightspath
//
this.buttontogglenightspath.Checked = true;
this.buttontogglenightspath.CheckOnClick = true; this.buttontogglenightspath.CheckOnClick = true;
this.buttontogglenightspath.CheckState = System.Windows.Forms.CheckState.Checked; this.buttontogglenightspath.CheckState = System.Windows.Forms.CheckState.Checked;
this.buttontogglenightspath.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.buttontogglenightspath.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@ -3087,8 +3102,10 @@ namespace CodeImp.DoomBuilder.Windows
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton buttonfullbrightness; private System.Windows.Forms.ToolStripButton buttonfullbrightness;
private System.Windows.Forms.ToolStripSeparator separatorfullbrightness; private System.Windows.Forms.ToolStripSeparator separatorfullbrightness;
private System.Windows.Forms.ToolStripSeparator separatorsrb2extras;
private System.Windows.Forms.ToolStripSeparator separatorfilters; private System.Windows.Forms.ToolStripSeparator separatorfilters;
private System.Windows.Forms.ToolStripSeparator separatorrendering; private System.Windows.Forms.ToolStripSeparator separatorrendering;
private System.Windows.Forms.ToolStripSeparator separatorsrb2;
private System.Windows.Forms.ToolStripMenuItem itemdynlightmodes; private System.Windows.Forms.ToolStripMenuItem itemdynlightmodes;
private System.Windows.Forms.ToolStripMenuItem itemnodynlights; private System.Windows.Forms.ToolStripMenuItem itemnodynlights;
private System.Windows.Forms.ToolStripMenuItem itemdynlights; private System.Windows.Forms.ToolStripMenuItem itemdynlights;