Change Keys to Key

svn path=/trunk/gtk-sharp/; revision=13545
This commit is contained in:
Alp Toker 2003-04-12 05:23:55 +00:00
parent 403ed1ac68
commit 7a3264e911
3 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
2003-04-12 Alp Toker <alp@atoker.com>
* parser/gen_keysyms: Generates a C# Keys enum from the Gdk headers
* parser/gen_keysyms: Generates a C# Key enum from the Gdk headers
(gdkkeysyms.h)
* gdk/Keys.cs: The generated Keys
* gdk/Key.cs: The generated Key enum
2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

View File

@ -2,7 +2,7 @@
namespace Gdk
{
public enum Keys {
public enum Key {
VoidSymbol = 0xFFFFFF,
BackSpace = 0xFF08,
Tab = 0xFF09,

View File

@ -1,12 +1,12 @@
#!/usr/bin/perl -w
# Generates a C# Keys enum from the Gdk headers (gdkkeysyms.h)
# Usage: ./gen_keysyms < gdkkeysyms.h > Keys.cs
# Generates a C# Key enum from the Gdk headers (gdkkeysyms.h)
# Usage: ./gen_keysyms < gdkkeysyms.h > Key.cs
# Alp Toker <alp@atoker.com>
print "// Generated File. Do not modify.\n\n";
print "namespace Gdk\n";
print "{\n";
print "\tpublic enum Keys {\n";
print "\tpublic enum Key {\n";
while(<>) {
chomp;