Skip to content

Commit

Permalink
Update NativeWindow.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Dec 23, 2024
1 parent b3f8b00 commit 222b3c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/lime/_internal/backend/native/NativeWindow.hx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class NativeWindow
{
if (handle != null)
{
#if (!macro && lime_cffi)
#if (!macro && lime_cffi && lime >= "8.1.0")
return NativeCFFI.lime_window_get_opacity(handle);
#end
}
Expand Down Expand Up @@ -467,7 +467,7 @@ class NativeWindow
{
if (handle != null)
{
#if (!macro && lime_cffi)
#if (!macro && lime_cffi && lime >= "8.1.0")
NativeCFFI.lime_window_set_minimum_size(handle, width, height);
#end
}
Expand All @@ -477,7 +477,7 @@ class NativeWindow
{
if (handle != null)
{
#if (!macro && lime_cffi)
#if (!macro && lime_cffi && lime >= "8.1.0")
NativeCFFI.lime_window_set_maximum_size(handle, width, height);
#end
}
Expand Down Expand Up @@ -666,7 +666,7 @@ class NativeWindow
{
if (handle != null)
{
#if (!macro && lime_cffi)
#if (!macro && lime_cffi && lime >= "8.1.0")
NativeCFFI.lime_window_set_opacity(handle, value);
#end
}
Expand Down Expand Up @@ -705,7 +705,7 @@ class NativeWindow
{
if (handle != null)
{
#if (!macro && lime_cffi)
#if (!macro && lime_cffi && lime >= "8.1.0")
NativeCFFI.lime_window_set_visible(handle, value);
#end
}
Expand Down

0 comments on commit 222b3c9

Please sign in to comment.