add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429
authorJuerg Billeter <j@bitron.ch>
Thu, 8 May 2008 19:14:01 +0000 (19:14 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Thu, 8 May 2008 19:14:01 +0000 (19:14 +0000)
2008-05-08  Juerg Billeter  <j@bitron.ch>

* vapi/sdl.vapi: add SDL ActiveState enum,
patch by Levi Bard, fixes bug 530429

svn path=/trunk/; revision=1343

ChangeLog
vapi/sdl.vapi

index 5a47236..950fdf4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-05-08  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/sdl.vapi: add SDL ActiveState enum,
+       patch by Levi Bard, fixes bug 530429
+
+2008-05-08  Jürg Billeter  <j@bitron.ch>
+
        * vala/valasemanticanalyzer.vala:
 
        Report error when trying to create instance of static class,
index 5de08d3..3dabdd0 100644 (file)
@@ -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;