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 e376f6e commit 4a217ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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 Expand Up @@ -757,4 +757,4 @@ class NativeWindow
var WINDOW_FLAG_MAXIMIZED = 0x00004000;
var WINDOW_FLAG_ALWAYS_ON_TOP = 0x00008000;
var WINDOW_FLAG_COLOR_DEPTH_32_BIT = 0x00010000;
}
}

0 comments on commit 4a217ea

Please sign in to comment.