Skip to content

Commit 744b200

Browse files
author
Chris Warren-Smith
committed
FLATPAK: implements sblib_has_window_ui() in UI based modules
1 parent f615e24 commit 744b200

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

glfw/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,3 +404,7 @@ SBLIB_API void sblib_ellipse(int xc, int yc, int xr, int yr, int fill) {
404404
glEnd();
405405
}
406406

407+
SBLIB_API int sblib_has_window_ui(void) {
408+
// module creates a UI in a new window
409+
return 1;
410+
}

nuklear/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,3 +1181,7 @@ SBLIB_API void sblib_ellipse(int xc, int yc, int xr, int yr, int fill) {
11811181
drawEnd();
11821182
}
11831183

1184+
SBLIB_API int sblib_has_window_ui(void) {
1185+
// module creates a UI in a new window
1186+
return 1;
1187+
}

raylib/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,6 +2098,6 @@ SBLIB_API void sblib_close(void) {
20982098
}
20992099

21002100
SBLIB_API int sblib_has_window_ui(void) {
2101-
// raylib module creates a UI in a new window
2101+
// module creates a UI in a new window
21022102
return 1;
21032103
}

0 commit comments

Comments
 (0)