mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
Change Keys to Key
svn path=/trunk/gtk-sharp/; revision=13545
This commit is contained in:
parent
403ed1ac68
commit
7a3264e911
@ -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>
|
||||||
|
|
||||||
|
@ -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,
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user