mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 21:01:04 +00:00
Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WeifenLuo.WinFormsUI.Docking
|
||||
{
|
||||
public partial class DockWindow
|
||||
{
|
||||
private class SplitterControl : SplitterBase
|
||||
{
|
||||
protected override int SplitterSize
|
||||
{
|
||||
get { return Measures.SplitterSize; }
|
||||
}
|
||||
|
||||
protected override void StartDrag()
|
||||
{
|
||||
DockWindow window = Parent as DockWindow;
|
||||
if (window == null)
|
||||
return;
|
||||
|
||||
window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user