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> 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) (gdkkeysyms.h)
* gdk/Keys.cs: The generated Keys * gdk/Key.cs: The generated Key enum
2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

View file

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

View file

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