public BaseWindow(string strDisplay, string strName, Color pBackgroundColor, Rectangle Rectangle, string strTitle = "LibX# Window", EventMask eEventMask = EventMask.ButtonPressMask | EventMask.KeyPressMask, uint iBorderWidth = 0, bool bIsResizeable = true, bool bShowCursor = true, string strIconPath = null, BaseWindow pParentWindow = null, string ClassName = "__SIMPLEWINDOW_LIBX__") : base(strName) { m_pDisplay = Application.Current.GetHandle <IDisplay>(strDisplay); if (m_pDisplay == null) { throw new NULLPtrConnectionException("IWindow.cs", 320, "Window::Window(string,string)"); } m_xRectangle = Rectangle; m_colBackground = pBackgroundColor; m_colBorder = Colors.LightSteelBlue; m_strTitle = strTitle; m_strIconPath = null; m_bShowCursor = bShowCursor; m_iEventMask = eEventMask; m_pParentWindow = pParentWindow; m_Windows = new List <IWindow>(); m_id = -1; m_strClassName = ClassName; m_bIsResizeable = bIsResizeable; m_iBorderWidth = 0; }
public SimpleWindow(string strDisplay, string strName, Color pBackgroundColor, Rectangle Rectangle, string strTitle = "LibX# Window", EventMask eEventMask = EventMask.All, uint iBorderWidth = 0, bool bIsResizeable = true, bool bShowCursor = true, string strIconPath = "", BaseWindow pParentWindow = null, string ClassName = "__SIMPLEWINDOW_LIBX__") : base(strDisplay, strName, pBackgroundColor, Rectangle, strTitle, eEventMask, iBorderWidth, bIsResizeable, bShowCursor, strIconPath, pParentWindow, ClassName) { }