1#include "taichi/ui/gui/gui.h"
2
3// GGUI is not supported on Android as the window management is handled by the
4// framework directly. It also provides a Canvas through Skia library that users
5// can leverage for rendering of 2D elements (circle, rectangle, ...)
6#if defined(TI_GUI_ANDROID)
7#include <cstdlib>
8
9namespace taichi {
10
11void GUI::process_event() {
12 TI_ERROR("GGUI not supported on Android");
13}
14
15void GUI::create_window() {
16 TI_ERROR("GGUI not supported on Android");
17}
18
19void GUI::redraw() {
20 TI_ERROR("GGUI not supported on Android");
21}
22
23void GUI::set_title(std::string title) {
24 TI_ERROR("GGUI not supported on Android");
25}
26
27GUI::~GUI() {
28}
29
30} // namespace taichi
31
32#endif
33