dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit ToolkitWindow


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Toolkit ToolkitWindowFlags.cs,NONE,1.1 IToolkitWindow.cs,1.3,1.4 ToolkitDecorations.cs,1.1,NONE ToolkitEventHandlers.cs,1.2,NONE ToolkitFunctions.cs,1.1,NONE
Date: Thu, 12 Jun 2003 01:50:31 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit
In directory subversions:/tmp/cvs-serv32507/System.Drawing/Toolkit

Modified Files:
        IToolkitWindow.cs 
Added Files:
        ToolkitWindowFlags.cs 
Removed Files:
        ToolkitDecorations.cs ToolkitEventHandlers.cs 
        ToolkitFunctions.cs 
Log Message:


Implement more of the "Form" class.


--- NEW FILE ---
/*
 * ToolkitWindowFlags.cs - Implementation of the
 *                      "System.Drawing.Toolkit.ToolkitWindowFlags" class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

namespace System.Drawing.Toolkit
{

// Supported window manager properties.

[Flags]
public enum ToolkitWindowFlags
{
        Close                   = (1 << 0),
        Minimize                = (1 << 1),
        Maximize                = (1 << 2),
        Caption                 = (1 << 3),
        Border                  = (1 << 4),
        ResizeHandles   = (1 << 5),
        Menu                    = (1 << 6),
        Help                    = (1 << 7),
        Resize                  = (1 << 8),
        Move                    = (1 << 9),
        TopMost                 = (1 << 10),
        Modal                   = (1 << 11),
        ShowInTaskBar   = (1 << 12),
        ToolWindow              = (1 << 13),
        Default                 = (Close | Minimize | Maximize | Caption |
                                           Border | ResizeHandles | Menu | 
Resize |
                                           Move | ShowInTaskBar)

}; // enum Decorations

}; // namespace System.Drawing.Toolkit

Index: IToolkitWindow.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Toolkit/IToolkitWindow.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** IToolkitWindow.cs   11 Jun 2003 10:37:27 -0000      1.3
--- IToolkitWindow.cs   12 Jun 2003 05:50:29 -0000      1.4
***************
*** 74,80 ****
        void SetBackground(Color color);
  
!       // Change the set of supported decorations and functions.
!       void SetFunctions(ToolkitDecorations decorations,
!                                         ToolkitFunctions functions);
  
        // Get the adjustment values for the client area.
--- 74,79 ----
        void SetBackground(Color color);
  
!       // Change the set of supported window decorations and functions.
!       void SetWindowFlags(ToolkitWindowFlags flags);
  
        // Get the adjustment values for the client area.

--- ToolkitDecorations.cs DELETED ---

--- ToolkitEventHandlers.cs DELETED ---

--- ToolkitFunctions.cs DELETED ---





reply via email to

[Prev in Thread] Current Thread [Next in Thread]