Changeset 594 for trunk/x42view.net/Gui/ModelWindow.Designer.cs
- Timestamp:
- 07/03/08 18:39:10 (5 months ago)
- Files:
-
- trunk/x42view.net/Gui/ModelWindow.Designer.cs (modified) (37 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/x42view.net/Gui/ModelWindow.Designer.cs
r484 r594 61 61 this.vi3DShowBounds = new System.Windows.Forms.ToolStripMenuItem(); 62 62 this.vi3DShowShaded = new System.Windows.Forms.ToolStripMenuItem(); 63 this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); 63 this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); 64 this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); 65 this.cameraModeMenu = new System.Windows.Forms.ContextMenuStrip( this.components ); 66 this.mnuCamModeFree = new System.Windows.Forms.ToolStripMenuItem(); 67 this.btnCameraMode = new System.Windows.Forms.ToolStripDropDownButton(); 64 68 this.resetCameraToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 65 69 this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); … … 79 83 this.btnShadedView = new System.Windows.Forms.ToolStripButton(); 80 84 this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); 85 this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); 81 86 this.btnResetCamera = new System.Windows.Forms.ToolStripButton(); 82 87 this.imgs = new System.Windows.Forms.ImageList( this.components ); … … 85 90 this.pnPreviewOpts = new x42view.Gui.PreviewOptions(); 86 91 this.pnAnims = new x42view.Gui.AnimationsPanel(); 92 this.model = new x42view.Gui.ModelContainer( this.components ); 87 93 this.pnHeirarchy = new x42view.Gui.HeirarchyPanel(); 88 this.model = new x42view.Gui.ModelContainer( this.components );89 94 this.pnGroups = new x42view.Gui.GroupsPanel(); 90 95 this.viewSplit = new System.Windows.Forms.SplitContainer(); … … 98 103 this.statScore = new System.Windows.Forms.ToolStripDropDownButton(); 99 104 this.statScoreDetails = new System.Windows.Forms.ToolStripMenuItem(); 100 this. cam= new x42view.Gui.Camera();105 this.pn3DCamera = new x42view.Gui.Camera(); 101 106 this.modelDXData = new x42view.Gui.ModelRenderHelper( this.components ); 102 107 this.menu.SuspendLayout(); 103 108 this.pn3DMenu.SuspendLayout(); 109 this.cameraModeMenu.SuspendLayout(); 104 110 this.tools.SuspendLayout(); 105 111 this.split.Panel1.SuspendLayout(); … … 141 147 this.toolStripSeparator6.MergeIndex = 3; 142 148 this.toolStripSeparator6.Name = "toolStripSeparator6"; 143 this.toolStripSeparator6.Size = new System.Drawing.Size( 1 54, 6 );149 this.toolStripSeparator6.Size = new System.Drawing.Size( 165, 6 ); 144 150 // 145 151 // toolStripMenuItem2 … … 150 156 this.toolStripMenuItem2.Name = "toolStripMenuItem2"; 151 157 this.toolStripMenuItem2.ShortcutKeys = System.Windows.Forms.Keys.F5; 152 this.toolStripMenuItem2.Size = new System.Drawing.Size( 1 57, 22 );158 this.toolStripMenuItem2.Size = new System.Drawing.Size( 168, 22 ); 153 159 this.toolStripMenuItem2.Text = "&Reload Model"; 154 160 this.toolStripMenuItem2.Click += new System.EventHandler( this.btnReload_Click ); … … 162 168 this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; 163 169 this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); 164 this.saveToolStripMenuItem.Size = new System.Drawing.Size( 1 57, 22 );170 this.saveToolStripMenuItem.Size = new System.Drawing.Size( 168, 22 ); 165 171 this.saveToolStripMenuItem.Text = "&Save"; 166 172 // … … 172 178 this.fiClose.Name = "fiClose"; 173 179 this.fiClose.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F4))); 174 this.fiClose.Size = new System.Drawing.Size( 1 57, 22 );180 this.fiClose.Size = new System.Drawing.Size( 168, 22 ); 175 181 this.fiClose.Text = "&Close"; 176 182 this.fiClose.Click += new System.EventHandler( this.fiClose_Click ); … … 180 186 this.viewToolStripMenuItem.DropDownItems.AddRange( new System.Windows.Forms.ToolStripItem[] { 181 187 this.modelPreviewToolStripMenuItem, 188 this.toolStripSeparator4, 189 this.toolStripMenuItem1, 190 this.resetCameraToolStripMenuItem, 182 191 this.toolStripSeparator2, 183 192 this.viShowTools, … … 193 202 this.modelPreviewToolStripMenuItem.DropDown = this.pn3DMenu; 194 203 this.modelPreviewToolStripMenuItem.Name = "modelPreviewToolStripMenuItem"; 195 this.modelPreviewToolStripMenuItem.Size = new System.Drawing.Size( 190, 22 );204 this.modelPreviewToolStripMenuItem.Size = new System.Drawing.Size( 222, 22 ); 196 205 this.modelPreviewToolStripMenuItem.Text = "Model &Preview"; 197 206 // … … 203 212 this.vi3DShowTopo, 204 213 this.vi3DShowBounds, 205 this.vi3DShowShaded, 206 this.toolStripMenuItem1, 207 this.resetCameraToolStripMenuItem} ); 214 this.vi3DShowShaded} ); 208 215 this.pn3DMenu.Name = "pn3DMenu"; 209 216 this.pn3DMenu.OwnerItem = this.modelPreviewToolStripMenuItem; 210 this.pn3DMenu.Size = new System.Drawing.Size( 212, 142);217 this.pn3DMenu.Size = new System.Drawing.Size( 198, 114 ); 211 218 // 212 219 // vi3DShowSurfs … … 217 224 this.vi3DShowSurfs.Name = "vi3DShowSurfs"; 218 225 this.vi3DShowSurfs.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); 219 this.vi3DShowSurfs.Size = new System.Drawing.Size( 211, 22 );226 this.vi3DShowSurfs.Size = new System.Drawing.Size( 197, 22 ); 220 227 this.vi3DShowSurfs.Text = "Show &Surfaces"; 221 228 this.vi3DShowSurfs.Click += new System.EventHandler( this.vi3DShowSurfs_Click ); … … 226 233 this.vi3DShowSkel.Name = "vi3DShowSkel"; 227 234 this.vi3DShowSkel.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); 228 this.vi3DShowSkel.Size = new System.Drawing.Size( 211, 22 );235 this.vi3DShowSkel.Size = new System.Drawing.Size( 197, 22 ); 229 236 this.vi3DShowSkel.Text = "Show S&keleton"; 230 237 this.vi3DShowSkel.Click += new System.EventHandler( this.vi3DShowSkel_Click ); … … 235 242 this.vi3DShowTopo.Name = "vi3DShowTopo"; 236 243 this.vi3DShowTopo.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); 237 this.vi3DShowTopo.Size = new System.Drawing.Size( 211, 22 );244 this.vi3DShowTopo.Size = new System.Drawing.Size( 197, 22 ); 238 245 this.vi3DShowTopo.Text = "Show &Topology"; 239 246 this.vi3DShowTopo.Click += new System.EventHandler( this.vi3DShowTopo_Click ); … … 244 251 this.vi3DShowBounds.Name = "vi3DShowBounds"; 245 252 this.vi3DShowBounds.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R))); 246 this.vi3DShowBounds.Size = new System.Drawing.Size( 211, 22 );253 this.vi3DShowBounds.Size = new System.Drawing.Size( 197, 22 ); 247 254 this.vi3DShowBounds.Text = "Show &Bounds"; 248 255 this.vi3DShowBounds.Click += new System.EventHandler( this.vi3DShowBounds_Click ); … … 253 260 this.vi3DShowShaded.Name = "vi3DShowShaded"; 254 261 this.vi3DShowShaded.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); 255 this.vi3DShowShaded.Size = new System.Drawing.Size( 211, 22 );262 this.vi3DShowShaded.Size = new System.Drawing.Size( 197, 22 ); 256 263 this.vi3DShowShaded.Text = "Show S&haded"; 257 264 this.vi3DShowShaded.Click += new System.EventHandler( this.vi3DShowShaded_Click ); 258 265 // 266 // toolStripSeparator4 267 // 268 this.toolStripSeparator4.Name = "toolStripSeparator4"; 269 this.toolStripSeparator4.Size = new System.Drawing.Size( 219, 6 ); 270 // 259 271 // toolStripMenuItem1 260 272 // 273 this.toolStripMenuItem1.DropDown = this.cameraModeMenu; 261 274 this.toolStripMenuItem1.Name = "toolStripMenuItem1"; 262 this.toolStripMenuItem1.Size = new System.Drawing.Size( 208, 6 ); 275 this.toolStripMenuItem1.Size = new System.Drawing.Size( 222, 22 ); 276 this.toolStripMenuItem1.Text = "Camera Mode"; 277 // 278 // cameraModeMenu 279 // 280 this.cameraModeMenu.Items.AddRange( new System.Windows.Forms.ToolStripItem[] { 281 this.mnuCamModeFree} ); 282 this.cameraModeMenu.Name = "cameraModeMenu"; 283 this.cameraModeMenu.OwnerItem = this.btnCameraMode; 284 this.cameraModeMenu.Size = new System.Drawing.Size( 153, 48 ); 285 // 286 // mnuCamModeFree 287 // 288 this.mnuCamModeFree.Checked = true; 289 this.mnuCamModeFree.CheckState = System.Windows.Forms.CheckState.Checked; 290 this.mnuCamModeFree.Name = "mnuCamModeFree"; 291 this.mnuCamModeFree.Size = new System.Drawing.Size( 152, 22 ); 292 this.mnuCamModeFree.Text = "&Free"; 293 this.mnuCamModeFree.Click += new System.EventHandler( this.cameraModeMenuItem_Click ); 294 // 295 // btnCameraMode 296 // 297 this.btnCameraMode.DropDown = this.cameraModeMenu; 298 this.btnCameraMode.Image = ((System.Drawing.Image)(resources.GetObject( "btnCameraMode.Image" ))); 299 this.btnCameraMode.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; 300 this.btnCameraMode.ImageTransparentColor = System.Drawing.Color.Magenta; 301 this.btnCameraMode.Name = "btnCameraMode"; 302 this.btnCameraMode.Size = new System.Drawing.Size( 58, 22 ); 303 this.btnCameraMode.Text = "Free"; 263 304 // 264 305 // resetCameraToolStripMenuItem … … 268 309 this.resetCameraToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) 269 310 | System.Windows.Forms.Keys.R))); 270 this.resetCameraToolStripMenuItem.Size = new System.Drawing.Size( 2 11, 22 );311 this.resetCameraToolStripMenuItem.Size = new System.Drawing.Size( 222, 22 ); 271 312 this.resetCameraToolStripMenuItem.Text = "&Reset Camera"; 272 313 this.resetCameraToolStripMenuItem.Click += new System.EventHandler( this.viResetCamera_Click ); … … 275 316 // 276 317 this.toolStripSeparator2.Name = "toolStripSeparator2"; 277 this.toolStripSeparator2.Size = new System.Drawing.Size( 187, 6 );318 this.toolStripSeparator2.Size = new System.Drawing.Size( 219, 6 ); 278 319 // 279 320 // viShowTools … … 284 325 this.viShowTools.Name = "viShowTools"; 285 326 this.viShowTools.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); 286 this.viShowTools.Size = new System.Drawing.Size( 190, 22 );327 this.viShowTools.Size = new System.Drawing.Size( 222, 22 ); 287 328 this.viShowTools.Text = "Show &Tools"; 288 329 this.viShowTools.Click += new System.EventHandler( this.tbShowTools_Click ); … … 295 336 this.viShowMessages.Name = "viShowMessages"; 296 337 this.viShowMessages.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M))); 297 this.viShowMessages.Size = new System.Drawing.Size( 190, 22 );338 this.viShowMessages.Size = new System.Drawing.Size( 222, 22 ); 298 339 this.viShowMessages.Text = "Show &Messages"; 299 340 this.viShowMessages.Click += new System.EventHandler( this.tbShowMessages_Click ); … … 315 356 this.btnShadedView, 316 357 this.toolStripSeparator5, 358 this.toolStripLabel1, 359 this.btnCameraMode, 317 360 this.btnResetCamera} ); 318 361 this.tools.Location = new System.Drawing.Point( 0, 0 ); … … 431 474 this.toolStripSeparator5.Size = new System.Drawing.Size( 6, 25 ); 432 475 // 476 // toolStripLabel1 477 // 478 this.toolStripLabel1.Name = "toolStripLabel1"; 479 this.toolStripLabel1.Size = new System.Drawing.Size( 48, 22 ); 480 this.toolStripLabel1.Text = "Camera:"; 481 // 433 482 // btnResetCamera 434 483 // … … 455 504 this.split.Dock = System.Windows.Forms.DockStyle.Fill; 456 505 this.split.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; 457 this.split.Location = new System.Drawing.Point( 0, 0);506 this.split.Location = new System.Drawing.Point( 0, 25 ); 458 507 this.split.Name = "split"; 459 508 // … … 470 519 // 471 520 this.split.Panel2.Controls.Add( this.viewSplit ); 472 this.split.Size = new System.Drawing.Size( 1000, 600);521 this.split.Size = new System.Drawing.Size( 1000, 575 ); 473 522 this.split.SplitterDistance = 268; 474 523 this.split.TabIndex = 2; … … 512 561 this.pnAnims.ToolImage = ((System.Drawing.Image)(resources.GetObject( "pnAnims.ToolImage" ))); 513 562 this.pnAnims.PlayAnimationClip += new x42view.Gui.AnimationClipEventHandler( this.pnAnims_PlayAnimationClip ); 563 // 564 // model 565 // 566 this.model.ModelChanged += new System.EventHandler( this.model_ModelChanged ); 514 567 // 515 568 // pnHeirarchy … … 528 581 this.pnHeirarchy.ItemPropertyChanged += new System.EventHandler( this.pnHeirarchy_ItemPropertyChanged ); 529 582 // 530 // model531 //532 this.model.ModelChanged += new System.EventHandler( this.model_ModelChanged );533 //534 583 // pnGroups 535 584 // … … 544 593 this.pnGroups.TabIndex = 3; 545 594 this.pnGroups.ToolImage = ((System.Drawing.Image)(resources.GetObject( "pnGroups.ToolImage" ))); 595 this.pnGroups.GroupPropertyChanged += new x42view.Gui.GroupContextEventHandler( this.pnGroups_GroupPropertyChanged ); 546 596 this.pnGroups.RequestJump += new x42view.Gui.JumpEventHandler( this.pnGroups_RequestJump ); 547 this.pnGroups.GroupPropertyChanged += new x42view.Gui.GroupContextEventHandler( this.pnGroups_GroupPropertyChanged );548 597 // 549 598 // viewSplit … … 562 611 // 563 612 this.viewSplit.Panel2.Controls.Add( this.lvMessages ); 564 this.viewSplit.Size = new System.Drawing.Size( 728, 600);565 this.viewSplit.SplitterDistance = 4 65;613 this.viewSplit.Size = new System.Drawing.Size( 728, 575 ); 614 this.viewSplit.SplitterDistance = 444; 566 615 this.viewSplit.TabIndex = 4; 567 616 // … … 579 628 this.pn3D.Location = new System.Drawing.Point( 0, 0 ); 580 629 this.pn3D.Name = "pn3D"; 581 this.pn3D.Size = new System.Drawing.Size( 728, 413);630 this.pn3D.Size = new System.Drawing.Size( 728, 392 ); 582 631 this.pn3D.TabIndex = 0; 583 632 this.pn3D.Text = "Failed to initialize Direct 3D."; … … 591 640 // 592 641 this.time.Dock = System.Windows.Forms.DockStyle.Bottom; 593 this.time.Location = new System.Drawing.Point( 0, 413);642 this.time.Location = new System.Drawing.Point( 0, 392 ); 594 643 this.time.Model = this.model; 595 644 this.time.Name = "time"; … … 618 667 this.lvMessages.Location = new System.Drawing.Point( 0, 0 ); 619 668 this.lvMessages.Name = "lvMessages"; 620 this.lvMessages.Size = new System.Drawing.Size( 728, 1 31);669 this.lvMessages.Size = new System.Drawing.Size( 728, 127 ); 621 670 this.lvMessages.SmallImageList = this.imgs; 622 671 this.lvMessages.TabIndex = 0; … … 666 715 // 667 716 this.statScoreDetails.Name = "statScoreDetails"; 668 this.statScoreDetails.Size = new System.Drawing.Size( 1 18, 22 );717 this.statScoreDetails.Size = new System.Drawing.Size( 129, 22 ); 669 718 this.statScoreDetails.Text = "Details..."; 670 719 this.statScoreDetails.Click += new System.EventHandler( this.statScoreDetails_Click ); 671 720 // 672 // cam721 // pn3DCamera 673 722 // 674 723 cameraActionMapEntry1.Alt = true; … … 685 734 cameraActionMapEntry4.Control = true; 686 735 cameraActionMapEntry4.Mode = x42view.Gui.CameraMode.AdjustFov; 687 this. cam.ActionMap.Add( cameraActionMapEntry1 );688 this. cam.ActionMap.Add( cameraActionMapEntry2 );689 this. cam.ActionMap.Add( cameraActionMapEntry3 );690 this. cam.ActionMap.Add( cameraActionMapEntry4 );691 this. cam.Control = this.pn3D;692 this. cam.MatrixChanged += new System.EventHandler( this.cam_MatrixChanged );736 this.pn3DCamera.ActionMap.Add( cameraActionMapEntry1 ); 737 this.pn3DCamera.ActionMap.Add( cameraActionMapEntry2 ); 738 this.pn3DCamera.ActionMap.Add( cameraActionMapEntry3 ); 739 this.pn3DCamera.ActionMap.Add( cameraActionMapEntry4 ); 740 this.pn3DCamera.Control = this.pn3D; 741 this.pn3DCamera.MatrixChanged += new System.EventHandler( this.cam_MatrixChanged ); 693 742 // 694 743 // modelDXData … … 713 762 this.menu.PerformLayout(); 714 763 this.pn3DMenu.ResumeLayout( false ); 764 this.cameraModeMenu.ResumeLayout( false ); 715 765 this.tools.ResumeLayout( false ); 716 766 this.tools.PerformLayout(); … … 735 785 private DXPanel pn3D; 736 786 private System.Windows.Forms.ToolStripButton tbShowTools; 737 private Camera cam;787 private Camera pn3DCamera; 738 788 private System.Windows.Forms.ContextMenuStrip pn3DMenu; 739 private System.Windows.Forms.ToolStripMenuItem resetCameraToolStripMenuItem;740 789 private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; 741 790 private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; … … 751 800 private System.Windows.Forms.ToolStripMenuItem vi3DShowSurfs; 752 801 private System.Windows.Forms.ToolStripMenuItem vi3DShowSkel; 753 private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;754 802 private PreviewOptions pnPreviewOpts; 755 803 private TimeControl time; … … 783 831 private RawDataViewPanel pnRawData; 784 832 private AnimationsPanel pnAnims; 833 private System.Windows.Forms.ToolStripLabel toolStripLabel1; 834 private System.Windows.Forms.ContextMenuStrip cameraModeMenu; 835 private System.Windows.Forms.ToolStripMenuItem mnuCamModeFree; 836 private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; 837 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; 838 private System.Windows.Forms.ToolStripMenuItem resetCameraToolStripMenuItem; 839 private System.Windows.Forms.ToolStripDropDownButton btnCameraMode; 785 840 } 786 841 }
