-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Object.Ref is access;
with type MSSyst.Drawing.Color.Valuetype is tagged;
with type MSSyst.Drawing.Rectangle.Valuetype is tagged;
with type MSSyst.Drawing.Font.Ref is access;
with type MSSyst.Drawing.Graphics.Ref is access;
with MSSyst.Windows.Forms.DrawItemState;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.EventArgs;
package MSSyst.Windows.Forms.DrawItemEventArgs is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ is new MSSyst.EventArgs.Typ with record
      null;
   end record;
   function new_DrawItemEventArgs(
      This : Ref := null;
      graphics : MSSyst.Drawing.Graphics.Ref;
      font : MSSyst.Drawing.Font.Ref;
      rect : MSSyst.Drawing.Rectangle.Valuetype;
      index : Integer;
      state : MSSyst.Windows.Forms.DrawItemState.Valuetype) return Ref;
   function new_DrawItemEventArgs(
      This : Ref := null;
      graphics : MSSyst.Drawing.Graphics.Ref;
      font : MSSyst.Drawing.Font.Ref;
      rect : MSSyst.Drawing.Rectangle.Valuetype;
      index : Integer;
      state : MSSyst.Windows.Forms.DrawItemState.Valuetype;
      foreColor : MSSyst.Drawing.Color.Valuetype;
      backColor : MSSyst.Drawing.Color.Valuetype) return Ref;
   procedure DrawBackground(
      This : access Typ);
   procedure DrawFocusRectangle(
      This : access Typ);
   function get_BackColor(
      This : access Typ) return MSSyst.Drawing.Color.Valuetype;
   function get_Bounds(
      This : access Typ) return MSSyst.Drawing.Rectangle.Valuetype;
   function get_Font(
      This : access Typ) return MSSyst.Drawing.Font.Ref;
   function get_ForeColor(
      This : access Typ) return MSSyst.Drawing.Color.Valuetype;
   function get_Graphics(
      This : access Typ) return MSSyst.Drawing.Graphics.Ref;
   function get_Index(
      This : access Typ) return Integer;
   function get_State(
      This : access Typ) return MSSyst.Windows.Forms.DrawItemState.Valuetype;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_DrawItemEventArgs);
   pragma Import(MSIL,DrawBackground,"DrawBackground");
   pragma Import(MSIL,DrawFocusRectangle,"DrawFocusRectangle");
   pragma Import(MSIL,get_BackColor,"get_BackColor");
   pragma Import(MSIL,get_Bounds,"get_Bounds");
   pragma Import(MSIL,get_Font,"get_Font");
   pragma Import(MSIL,get_ForeColor,"get_ForeColor");
   pragma Import(MSIL,get_Graphics,"get_Graphics");
   pragma Import(MSIL,get_Index,"get_Index");
   pragma Import(MSIL,get_State,"get_State");
end MSSyst.Windows.Forms.DrawItemEventArgs;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.DrawItemEventArgs,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.DrawItemEventArgs");
