From: Juerg Billeter Date: Thu, 8 May 2008 19:14:01 +0000 (+0000) Subject: add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429 X-Git-Tag: VALA_0_3_2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75742801fb24c7d19b94f432c66685d0e968acb5;p=platform%2Fupstream%2Fvala.git add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429 2008-05-08 Juerg Billeter * vapi/sdl.vapi: add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429 svn path=/trunk/; revision=1343 --- diff --git a/ChangeLog b/ChangeLog index 5a47236..950fdf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-05-08 Jürg Billeter + * vapi/sdl.vapi: add SDL ActiveState enum, + patch by Levi Bard, fixes bug 530429 + +2008-05-08 Jürg Billeter + * vala/valasemanticanalyzer.vala: Report error when trying to create instance of static class, diff --git a/vapi/sdl.vapi b/vapi/sdl.vapi index 5de08d3..3dabdd0 100644 --- a/vapi/sdl.vapi +++ b/vapi/sdl.vapi @@ -396,6 +396,13 @@ namespace SDL { public uint16 y; }// MouseButtonEvent + [CCode (cheader_filename="SDL_active.h", cprefix="SDL_APP")] + public enum ActiveState { + MOUSEFOCUS, + INPUTFOCUS, + ACTIVE + }// ActiveState + [CCode (cname="SDL_ActiveEvent", type_id = "G_TYPE_POINTER", marshaller_type_name = "POINTER")] public struct ActiveEvent { public uchar type;