mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-09 17:56:00 +02:00
AllowDuplicatesAttribute
This commit is contained in:
parent
2618b29daa
commit
8808da307f
13 changed files with 39 additions and 2 deletions
|
@ -49,6 +49,7 @@ namespace Beefy
|
|||
ShowMaximized = 0x0400'0000,
|
||||
};
|
||||
|
||||
[AllowDuplicates]
|
||||
public enum HitTestResult
|
||||
{
|
||||
NotHandled = -3,
|
||||
|
|
|
@ -18,14 +18,17 @@ namespace Beefy.widgets
|
|||
Shift = 0x10,
|
||||
Control = 0x11,
|
||||
Alt = 0x12,
|
||||
#unwarn
|
||||
Menu = 0x12,
|
||||
Pause = 0x13,
|
||||
Capital = 0x14,
|
||||
Kana = 0x15,
|
||||
#unwarn
|
||||
Hangul = 0x15,
|
||||
Junja = 0x17,
|
||||
Final = 0x18,
|
||||
Hanja = 0x19,
|
||||
#unwarn
|
||||
Kanji = 0x19,
|
||||
Escape = 0x1B,
|
||||
Convert = 0x1C,
|
||||
|
|
|
@ -1521,6 +1521,7 @@ namespace SDL2
|
|||
ArrayF32
|
||||
}
|
||||
|
||||
[AllowDuplicates]
|
||||
public enum SDL_PIXELORDER_ENUM : uint32
|
||||
{
|
||||
/* BITMAPORDER */
|
||||
|
@ -2967,6 +2968,7 @@ namespace SDL2
|
|||
void* userdata
|
||||
);
|
||||
|
||||
[AllowDuplicates]
|
||||
enum EventState : int32
|
||||
{
|
||||
Query = -1,
|
||||
|
@ -3272,6 +3274,7 @@ namespace SDL2
|
|||
* and all of the names are in an anonymous enum. Yeah...
|
||||
* that's not going to cut it for C#. We'll just put them in an
|
||||
* enum for now? */
|
||||
[AllowDuplicates]
|
||||
public enum Keycode : uint32
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
|
|
|
@ -237,6 +237,12 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(.Enum)]
|
||||
public struct AllowDuplicatesAttribute : Attribute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[AttributeUsage(.Class | .Struct)]
|
||||
public struct UnionAttribute : Attribute
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue