Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Native Dialog Addon #1520

Merged
merged 26 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
41a6377
Android: add al_android_open_fd().
alemart Dec 14, 2023
5d2104b
Android: add native dialog addon
alemart Dec 14, 2023
04b1f1d
Android: adapt ex_native_filechooser
alemart Dec 14, 2023
d80cc20
Android: update the documentation
alemart Dec 14, 2023
73b1256
Android: tweak AllegroMessageBox
alemart Dec 15, 2023
0f67c83
Android: tweak ex_native_filechooser
alemart Dec 15, 2023
abf3828
Android: more tweaks to the native dialog addon
alemart Dec 15, 2023
a8120a7
Android: use ALLEGRO_ANDROID_PACKAGE_NAME_SLASH
alemart Dec 16, 2023
e45f4a8
Android: dismiss the message box on a change of orientation
alemart Dec 17, 2023
44a0268
Clarify comment
alemart Dec 17, 2023
aa1d8c7
Android: wait for a drawing resume before we return from al_show_nati…
alemart Dec 18, 2023
77c7e30
Change comment
alemart Dec 18, 2023
b68f72d
Android: add special code to handle message boxes while in immersive …
alemart Dec 19, 2023
475de25
Android: create method createAlertDialog()
alemart Dec 19, 2023
60f4a8d
Fix words of a comment
alemart Dec 19, 2023
a41a946
More fine tuning
alemart Dec 21, 2023
92d7dbf
Android: ensure that only one file chooser is opened at a time. The d…
alemart Dec 21, 2023
7698bb4
Android: add a comment about a display resize event
alemart Dec 21, 2023
21d47f0
Clarify comments
alemart Dec 23, 2023
5b0a9b1
Change shutdown routine
alemart Dec 24, 2023
26a1a89
Set pointers to NULL
alemart Dec 30, 2023
b4a6cfe
Remove annotations
alemart Jan 12, 2024
f5521a6
Add a comment explaining the usage of the Line Feed character as the …
alemart Feb 15, 2024
cb62720
Rename method
alemart Feb 17, 2024
278d5aa
Add a coment about the usage of the Looper
alemart Feb 17, 2024
df8052a
Adjust comment
alemart Feb 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions addons/native_dialog/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ if(APPLE AND IPHONE)
set(SUPPORT_NATIVE_DIALOG 1)
endif(APPLE AND IPHONE)

if(ANDROID)
list(APPEND NATIVE_DIALOG_SOURCES android_dialog.c)
set(ALLEGRO_CFG_NATIVE_DIALOG_ANDROID 1)
set(SUPPORT_NATIVE_DIALOG 1)
endif(ANDROID)

if(WIN32)
list(APPEND NATIVE_DIALOG_SOURCES win_dialog.c)
set(ALLEGRO_CFG_NATIVE_DIALOG_WINDOWS 1)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#cmakedefine ALLEGRO_CFG_NATIVE_DIALOG_GTK
#cmakedefine ALLEGRO_CFG_NATIVE_DIALOG_OSX
#cmakedefine ALLEGRO_CFG_NATIVE_DIALOG_WINDOWS
#cmakedefine ALLEGRO_CFG_NATIVE_DIALOG_ANDROID
Loading