GabrielFrigo4 / SDL-Sharp

SDL2 for C#
Other
17 stars 3 forks source link

Missing `SDL_GetWindowID` function #39

Closed FoxieFlakey closed 2 years ago

FoxieFlakey commented 2 years ago

SDL_GetWindowID

FoxieFlakey commented 2 years ago

Im using it for filter events for a specific window

if (ev.Window.WindowID == SDL.GetWindowID(specificWindow)) {
  // Do something for that specific window
}
GabrielFrigo4 commented 2 years ago

I just added the Get Window ID function, in nuget version 1.3.0, check if it works

FoxieFlakey commented 2 years ago

ok let me check

On Mon, Feb 21, 2022, 12:37 AM GabrielFrigo @.***> wrote:

I just added the Get Window ID function, in nuget version 1.3.0, check if it works

— Reply to this email directly, view it on GitHub https://github.com/GabrielFrigo4/SDL-Sharp/issues/39#issuecomment-1046286443, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFX2YIR3MFEKXWRBEZNDLDU4ERF3ANCNFSM5OXUPHDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

FoxieFlakey commented 2 years ago

ok its working thanks for the help