ImgHandlers.cs :  » GUI » wx-NET » wx » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » GUI » wx NET 
wx NET » wx » ImgHandlers.cs
//-----------------------------------------------------------------------------
// wx.NET - ImageHandlers.cs
//
// The wxImageHandlers wrapper classes.
//
// Written by Alexander Olk (xenomorph2@onlinehome.de)
// (C) 2004 by Alexander Olk
// Licensed under the wxWidgets license, see LICENSE.txt for details.
//
// $Id: ImgHandlers.cs,v 1.2 2007/04/18 21:07:57 harald_meyer Exp $
//-----------------------------------------------------------------------------

using System;
using System.Drawing;
using System.Runtime.InteropServices;

namespace wx{
public class BMPHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxBMPHandler_ctor();
  
  public BMPHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public BMPHandler()
      : this(wxBMPHandler_ctor())
  {
  }
}

public class ICOHandler : BMPHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxICOHandler_ctor();
  
  public ICOHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public ICOHandler()
      : this(wxICOHandler_ctor())
  {
  }
}

public class CURHandler : ICOHandler 
{
  [DllImport("wx-c")] public static extern IntPtr wxCURHandler_ctor();
  
  public CURHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public CURHandler()
      : this(wxCURHandler_ctor())
  {
  }
}

public class ANIHandler : CURHandler 
{
    [DllImport("wx-c")] static extern IntPtr wxANIHandler_ctor();

  public ANIHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public ANIHandler()
      : this(wxANIHandler_ctor())
  {
  }
}

public class PNGHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxPNGHandler_ctor();

  public PNGHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public PNGHandler()
      : this(wxPNGHandler_ctor())
  {
  }
}

public class GIFHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxGIFHandler_ctor();

  public GIFHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public GIFHandler()
      : this(wxGIFHandler_ctor())
  {
  }
}

public class PCXHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxPCXHandler_ctor();

  public PCXHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public PCXHandler()
      : this(wxPCXHandler_ctor())
  {
  }
}

public class JPEGHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxJPEGHandler_ctor();

  public JPEGHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public JPEGHandler()
      : this(wxJPEGHandler_ctor())
  {
  }
}

public class PNMHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxPNMHandler_ctor();

  public PNMHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public PNMHandler()
      : this(wxPNMHandler_ctor())
  {
  }
}

public class XPMHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxXPMHandler_ctor();

  public XPMHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public XPMHandler()
      : this(wxXPMHandler_ctor())
  {
  }
}

public class TIFFHandler : ImageHandler 
{
  [DllImport("wx-c")] static extern IntPtr wxTIFFHandler_ctor();

  public TIFFHandler(IntPtr wxObject) 
    : base(wxObject) {}

  public TIFFHandler()
      : this(wxTIFFHandler_ctor())
  {
  }
}

}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.